diff --git a/hanaonazure/resource-manager/v2017_11_03_preview/pom.xml b/hanaonazure/resource-manager/v2017_11_03_preview/pom.xml
index d83c350d750c..808a36cf9147 100644
--- a/hanaonazure/resource-manager/v2017_11_03_preview/pom.xml
+++ b/hanaonazure/resource-manager/v2017_11_03_preview/pom.xml
@@ -11,11 +11,11 @@
com.microsoft.azure
azure-arm-parent
- 1.1.0
- ../../../pom.management.xml
+ 0.0.3-beta
+ ../../../pom.xml
azure-mgmt-hanaonazure
- 1.0.0-beta-3
+ 1.0.0-beta
jar
Microsoft Azure SDK for HanaOnAzure Management
This package contains Microsoft HanaOnAzure Management SDK.
@@ -71,8 +71,6 @@
azure-arm-client-runtime
test-jar
test
-
- 1.6.5
diff --git a/hanaonazure/resource-manager/v2017_11_03_preview/src/main/java/com/microsoft/azure/management/hanaonazure/v2017_11_03_preview/HanaInstances.java b/hanaonazure/resource-manager/v2017_11_03_preview/src/main/java/com/microsoft/azure/management/hanaonazure/v2017_11_03_preview/HanaInstances.java
index dc6a6c7cd639..afdccdf34bf0 100644
--- a/hanaonazure/resource-manager/v2017_11_03_preview/src/main/java/com/microsoft/azure/management/hanaonazure/v2017_11_03_preview/HanaInstances.java
+++ b/hanaonazure/resource-manager/v2017_11_03_preview/src/main/java/com/microsoft/azure/management/hanaonazure/v2017_11_03_preview/HanaInstances.java
@@ -53,15 +53,4 @@ public interface HanaInstances extends SupportsCreating, Resource, GroupableResourceCore, HasResourceGroup, Refreshable, Updatable, HasManager {
+ /**
+ * @return the hanaDbCredentialsMsiId value.
+ */
+ String hanaDbCredentialsMsiId();
+
/**
* @return the hanaDbName value.
*/
@@ -34,6 +39,11 @@ public interface SapMonitor extends HasInner, Resource, Groupab
*/
String hanaDbPassword();
+ /**
+ * @return the hanaDbPasswordKeyVaultUrl value.
+ */
+ String hanaDbPasswordKeyVaultUrl();
+
/**
* @return the hanaDbSqlPort value.
*/
@@ -81,6 +91,18 @@ interface Blank extends GroupableResourceCore.DefinitionWithRegion {
interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup {
}
+ /**
+ * The stage of the sapmonitor definition allowing to specify HanaDbCredentialsMsiId.
+ */
+ interface WithHanaDbCredentialsMsiId {
+ /**
+ * Specifies hanaDbCredentialsMsiId.
+ * @param hanaDbCredentialsMsiId MSI ID passed by customer which has access to customer's KeyVault and to be assigned to the Collector VM
+ * @return the next definition stage
+ */
+ WithCreate withHanaDbCredentialsMsiId(String hanaDbCredentialsMsiId);
+ }
+
/**
* The stage of the sapmonitor definition allowing to specify HanaDbName.
*/
@@ -105,6 +127,18 @@ interface WithHanaDbPassword {
WithCreate withHanaDbPassword(String hanaDbPassword);
}
+ /**
+ * The stage of the sapmonitor definition allowing to specify HanaDbPasswordKeyVaultUrl.
+ */
+ interface WithHanaDbPasswordKeyVaultUrl {
+ /**
+ * Specifies hanaDbPasswordKeyVaultUrl.
+ * @param hanaDbPasswordKeyVaultUrl KeyVault URL link to the password for the HANA database
+ * @return the next definition stage
+ */
+ WithCreate withHanaDbPasswordKeyVaultUrl(String hanaDbPasswordKeyVaultUrl);
+ }
+
/**
* The stage of the sapmonitor definition allowing to specify HanaDbSqlPort.
*/
@@ -158,19 +192,31 @@ interface WithHanaSubnet {
* the resource to be created (via {@link WithCreate#create()}), but also allows
* for any other optional settings to be specified.
*/
- interface WithCreate extends Creatable, Resource.DefinitionWithTags, DefinitionStages.WithHanaDbName, DefinitionStages.WithHanaDbPassword, DefinitionStages.WithHanaDbSqlPort, DefinitionStages.WithHanaDbUsername, DefinitionStages.WithHanaHostname, DefinitionStages.WithHanaSubnet {
+ interface WithCreate extends Creatable, Resource.DefinitionWithTags, DefinitionStages.WithHanaDbCredentialsMsiId, DefinitionStages.WithHanaDbName, DefinitionStages.WithHanaDbPassword, DefinitionStages.WithHanaDbPasswordKeyVaultUrl, DefinitionStages.WithHanaDbSqlPort, DefinitionStages.WithHanaDbUsername, DefinitionStages.WithHanaHostname, DefinitionStages.WithHanaSubnet {
}
}
/**
* The template for a SapMonitor update operation, containing all the settings that can be modified.
*/
- interface Update extends Appliable, Resource.UpdateWithTags, UpdateStages.WithHanaDbName, UpdateStages.WithHanaDbPassword, UpdateStages.WithHanaDbSqlPort, UpdateStages.WithHanaDbUsername, UpdateStages.WithHanaHostname, UpdateStages.WithHanaSubnet {
+ interface Update extends Appliable, Resource.UpdateWithTags, UpdateStages.WithHanaDbCredentialsMsiId, UpdateStages.WithHanaDbName, UpdateStages.WithHanaDbPassword, UpdateStages.WithHanaDbPasswordKeyVaultUrl, UpdateStages.WithHanaDbSqlPort, UpdateStages.WithHanaDbUsername, UpdateStages.WithHanaHostname, UpdateStages.WithHanaSubnet {
}
/**
* Grouping of SapMonitor update stages.
*/
interface UpdateStages {
+ /**
+ * The stage of the sapmonitor update allowing to specify HanaDbCredentialsMsiId.
+ */
+ interface WithHanaDbCredentialsMsiId {
+ /**
+ * Specifies hanaDbCredentialsMsiId.
+ * @param hanaDbCredentialsMsiId MSI ID passed by customer which has access to customer's KeyVault and to be assigned to the Collector VM
+ * @return the next update stage
+ */
+ Update withHanaDbCredentialsMsiId(String hanaDbCredentialsMsiId);
+ }
+
/**
* The stage of the sapmonitor update allowing to specify HanaDbName.
*/
@@ -195,6 +241,18 @@ interface WithHanaDbPassword {
Update withHanaDbPassword(String hanaDbPassword);
}
+ /**
+ * The stage of the sapmonitor update allowing to specify HanaDbPasswordKeyVaultUrl.
+ */
+ interface WithHanaDbPasswordKeyVaultUrl {
+ /**
+ * Specifies hanaDbPasswordKeyVaultUrl.
+ * @param hanaDbPasswordKeyVaultUrl KeyVault URL link to the password for the HANA database
+ * @return the next update stage
+ */
+ Update withHanaDbPasswordKeyVaultUrl(String hanaDbPasswordKeyVaultUrl);
+ }
+
/**
* The stage of the sapmonitor update allowing to specify HanaDbSqlPort.
*/
diff --git a/hanaonazure/resource-manager/v2017_11_03_preview/src/main/java/com/microsoft/azure/management/hanaonazure/v2017_11_03_preview/implementation/HanaInstancesImpl.java b/hanaonazure/resource-manager/v2017_11_03_preview/src/main/java/com/microsoft/azure/management/hanaonazure/v2017_11_03_preview/implementation/HanaInstancesImpl.java
index 22f815a1c854..5c4bb5d500ea 100644
--- a/hanaonazure/resource-manager/v2017_11_03_preview/src/main/java/com/microsoft/azure/management/hanaonazure/v2017_11_03_preview/implementation/HanaInstancesImpl.java
+++ b/hanaonazure/resource-manager/v2017_11_03_preview/src/main/java/com/microsoft/azure/management/hanaonazure/v2017_11_03_preview/implementation/HanaInstancesImpl.java
@@ -22,7 +22,6 @@
import rx.functions.Func1;
import com.microsoft.azure.PagedList;
import com.microsoft.azure.Page;
-import com.microsoft.azure.management.hanaonazure.v2017_11_03_preview.MonitoringDetails;
class HanaInstancesImpl extends GroupableResourcesCoreImpl implements HanaInstances {
protected HanaInstancesImpl(HanaOnAzureManager manager) {
@@ -144,12 +143,6 @@ public Completable shutdownAsync(String resourceGroupName, String hanaInstanceNa
return client.shutdownAsync(resourceGroupName, hanaInstanceName).toCompletable();
}
- @Override
- public Completable enableMonitoringAsync(String resourceGroupName, String hanaInstanceName, MonitoringDetails monitoringParameter) {
- HanaInstancesInner client = this.inner();
- return client.enableMonitoringAsync(resourceGroupName, hanaInstanceName, monitoringParameter).toCompletable();
- }
-
@Override
protected HanaInstanceImpl wrapModel(HanaInstanceInner inner) {
return new HanaInstanceImpl(inner.name(), inner, manager());
diff --git a/hanaonazure/resource-manager/v2017_11_03_preview/src/main/java/com/microsoft/azure/management/hanaonazure/v2017_11_03_preview/implementation/HanaInstancesInner.java b/hanaonazure/resource-manager/v2017_11_03_preview/src/main/java/com/microsoft/azure/management/hanaonazure/v2017_11_03_preview/implementation/HanaInstancesInner.java
index f4af67cccdad..9297d9d7ba3a 100644
--- a/hanaonazure/resource-manager/v2017_11_03_preview/src/main/java/com/microsoft/azure/management/hanaonazure/v2017_11_03_preview/implementation/HanaInstancesInner.java
+++ b/hanaonazure/resource-manager/v2017_11_03_preview/src/main/java/com/microsoft/azure/management/hanaonazure/v2017_11_03_preview/implementation/HanaInstancesInner.java
@@ -14,10 +14,8 @@
import retrofit2.Retrofit;
import com.google.common.reflect.TypeToken;
import com.microsoft.azure.AzureServiceFuture;
-import com.microsoft.azure.CloudException;
import com.microsoft.azure.ListOperationCallback;
import com.microsoft.azure.management.hanaonazure.v2017_11_03_preview.ErrorResponseException;
-import com.microsoft.azure.management.hanaonazure.v2017_11_03_preview.MonitoringDetails;
import com.microsoft.azure.management.hanaonazure.v2017_11_03_preview.Tags;
import com.microsoft.azure.Page;
import com.microsoft.azure.PagedList;
@@ -126,14 +124,6 @@ interface HanaInstancesService {
@POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HanaOnAzure/hanaInstances/{hanaInstanceName}/shutdown")
Observable> beginShutdown(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("hanaInstanceName") String hanaInstanceName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
- @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.hanaonazure.v2017_11_03_preview.HanaInstances enableMonitoring" })
- @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HanaOnAzure/hanaInstances/{hanaInstanceName}/monitoring")
- Observable> enableMonitoring(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("hanaInstanceName") String hanaInstanceName, @Query("api-version") String apiVersion, @Body MonitoringDetails monitoringParameter, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
-
- @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.hanaonazure.v2017_11_03_preview.HanaInstances beginEnableMonitoring" })
- @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HanaOnAzure/hanaInstances/{hanaInstanceName}/monitoring")
- Observable> beginEnableMonitoring(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("hanaInstanceName") String hanaInstanceName, @Query("api-version") String apiVersion, @Body MonitoringDetails monitoringParameter, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
-
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.hanaonazure.v2017_11_03_preview.HanaInstances listNext" })
@GET
Observable> listNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@@ -1454,176 +1444,6 @@ private ServiceResponse beginShutdownDelegate(Response respo
.build(response);
}
- /**
- * The operation to add a monitor to an SAP HANA instance.
- *
- * @param resourceGroupName Name of the resource group.
- * @param hanaInstanceName Name of the SAP HANA on Azure instance.
- * @param monitoringParameter Request body that only contains monitoring attributes
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @throws CloudException thrown if the request is rejected by server
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
- */
- public void enableMonitoring(String resourceGroupName, String hanaInstanceName, MonitoringDetails monitoringParameter) {
- enableMonitoringWithServiceResponseAsync(resourceGroupName, hanaInstanceName, monitoringParameter).toBlocking().last().body();
- }
-
- /**
- * The operation to add a monitor to an SAP HANA instance.
- *
- * @param resourceGroupName Name of the resource group.
- * @param hanaInstanceName Name of the SAP HANA on Azure instance.
- * @param monitoringParameter Request body that only contains monitoring attributes
- * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the {@link ServiceFuture} object
- */
- public ServiceFuture enableMonitoringAsync(String resourceGroupName, String hanaInstanceName, MonitoringDetails monitoringParameter, final ServiceCallback serviceCallback) {
- return ServiceFuture.fromResponse(enableMonitoringWithServiceResponseAsync(resourceGroupName, hanaInstanceName, monitoringParameter), serviceCallback);
- }
-
- /**
- * The operation to add a monitor to an SAP HANA instance.
- *
- * @param resourceGroupName Name of the resource group.
- * @param hanaInstanceName Name of the SAP HANA on Azure instance.
- * @param monitoringParameter Request body that only contains monitoring attributes
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable for the request
- */
- public Observable enableMonitoringAsync(String resourceGroupName, String hanaInstanceName, MonitoringDetails monitoringParameter) {
- return enableMonitoringWithServiceResponseAsync(resourceGroupName, hanaInstanceName, monitoringParameter).map(new Func1, Void>() {
- @Override
- public Void call(ServiceResponse response) {
- return response.body();
- }
- });
- }
-
- /**
- * The operation to add a monitor to an SAP HANA instance.
- *
- * @param resourceGroupName Name of the resource group.
- * @param hanaInstanceName Name of the SAP HANA on Azure instance.
- * @param monitoringParameter Request body that only contains monitoring attributes
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable for the request
- */
- public Observable> enableMonitoringWithServiceResponseAsync(String resourceGroupName, String hanaInstanceName, MonitoringDetails monitoringParameter) {
- if (this.client.subscriptionId() == null) {
- throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
- }
- if (resourceGroupName == null) {
- throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
- }
- if (hanaInstanceName == null) {
- throw new IllegalArgumentException("Parameter hanaInstanceName is required and cannot be null.");
- }
- if (this.client.apiVersion() == null) {
- throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
- }
- if (monitoringParameter == null) {
- throw new IllegalArgumentException("Parameter monitoringParameter is required and cannot be null.");
- }
- Validator.validate(monitoringParameter);
- Observable> observable = service.enableMonitoring(this.client.subscriptionId(), resourceGroupName, hanaInstanceName, this.client.apiVersion(), monitoringParameter, this.client.acceptLanguage(), this.client.userAgent());
- return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken() { }.getType());
- }
-
- /**
- * The operation to add a monitor to an SAP HANA instance.
- *
- * @param resourceGroupName Name of the resource group.
- * @param hanaInstanceName Name of the SAP HANA on Azure instance.
- * @param monitoringParameter Request body that only contains monitoring attributes
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @throws CloudException thrown if the request is rejected by server
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
- */
- public void beginEnableMonitoring(String resourceGroupName, String hanaInstanceName, MonitoringDetails monitoringParameter) {
- beginEnableMonitoringWithServiceResponseAsync(resourceGroupName, hanaInstanceName, monitoringParameter).toBlocking().single().body();
- }
-
- /**
- * The operation to add a monitor to an SAP HANA instance.
- *
- * @param resourceGroupName Name of the resource group.
- * @param hanaInstanceName Name of the SAP HANA on Azure instance.
- * @param monitoringParameter Request body that only contains monitoring attributes
- * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the {@link ServiceFuture} object
- */
- public ServiceFuture beginEnableMonitoringAsync(String resourceGroupName, String hanaInstanceName, MonitoringDetails monitoringParameter, final ServiceCallback serviceCallback) {
- return ServiceFuture.fromResponse(beginEnableMonitoringWithServiceResponseAsync(resourceGroupName, hanaInstanceName, monitoringParameter), serviceCallback);
- }
-
- /**
- * The operation to add a monitor to an SAP HANA instance.
- *
- * @param resourceGroupName Name of the resource group.
- * @param hanaInstanceName Name of the SAP HANA on Azure instance.
- * @param monitoringParameter Request body that only contains monitoring attributes
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the {@link ServiceResponse} object if successful.
- */
- public Observable beginEnableMonitoringAsync(String resourceGroupName, String hanaInstanceName, MonitoringDetails monitoringParameter) {
- return beginEnableMonitoringWithServiceResponseAsync(resourceGroupName, hanaInstanceName, monitoringParameter).map(new Func1, Void>() {
- @Override
- public Void call(ServiceResponse response) {
- return response.body();
- }
- });
- }
-
- /**
- * The operation to add a monitor to an SAP HANA instance.
- *
- * @param resourceGroupName Name of the resource group.
- * @param hanaInstanceName Name of the SAP HANA on Azure instance.
- * @param monitoringParameter Request body that only contains monitoring attributes
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the {@link ServiceResponse} object if successful.
- */
- public Observable> beginEnableMonitoringWithServiceResponseAsync(String resourceGroupName, String hanaInstanceName, MonitoringDetails monitoringParameter) {
- if (this.client.subscriptionId() == null) {
- throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
- }
- if (resourceGroupName == null) {
- throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
- }
- if (hanaInstanceName == null) {
- throw new IllegalArgumentException("Parameter hanaInstanceName is required and cannot be null.");
- }
- if (this.client.apiVersion() == null) {
- throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
- }
- if (monitoringParameter == null) {
- throw new IllegalArgumentException("Parameter monitoringParameter is required and cannot be null.");
- }
- Validator.validate(monitoringParameter);
- return service.beginEnableMonitoring(this.client.subscriptionId(), resourceGroupName, hanaInstanceName, this.client.apiVersion(), monitoringParameter, this.client.acceptLanguage(), this.client.userAgent())
- .flatMap(new Func1, Observable>>() {
- @Override
- public Observable> call(Response response) {
- try {
- ServiceResponse clientResponse = beginEnableMonitoringDelegate(response);
- return Observable.just(clientResponse);
- } catch (Throwable t) {
- return Observable.error(t);
- }
- }
- });
- }
-
- private ServiceResponse beginEnableMonitoringDelegate(Response response) throws CloudException, IOException, IllegalArgumentException {
- return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter())
- .register(200, new TypeToken() { }.getType())
- .register(202, new TypeToken() { }.getType())
- .registerError(CloudException.class)
- .build(response);
- }
-
/**
* Gets a list of SAP HANA instances in the specified subscription.
* Gets a list of SAP HANA instances in the specified subscription. The operations returns various properties of each SAP HANA on Azure instance.
diff --git a/hanaonazure/resource-manager/v2017_11_03_preview/src/main/java/com/microsoft/azure/management/hanaonazure/v2017_11_03_preview/implementation/SapMonitorImpl.java b/hanaonazure/resource-manager/v2017_11_03_preview/src/main/java/com/microsoft/azure/management/hanaonazure/v2017_11_03_preview/implementation/SapMonitorImpl.java
index 9f62f46ebc73..ec9b140a8e40 100644
--- a/hanaonazure/resource-manager/v2017_11_03_preview/src/main/java/com/microsoft/azure/management/hanaonazure/v2017_11_03_preview/implementation/SapMonitorImpl.java
+++ b/hanaonazure/resource-manager/v2017_11_03_preview/src/main/java/com/microsoft/azure/management/hanaonazure/v2017_11_03_preview/implementation/SapMonitorImpl.java
@@ -44,6 +44,11 @@ public boolean isInCreateMode() {
}
+ @Override
+ public String hanaDbCredentialsMsiId() {
+ return this.inner().hanaDbCredentialsMsiId();
+ }
+
@Override
public String hanaDbName() {
return this.inner().hanaDbName();
@@ -54,6 +59,11 @@ public String hanaDbPassword() {
return this.inner().hanaDbPassword();
}
+ @Override
+ public String hanaDbPasswordKeyVaultUrl() {
+ return this.inner().hanaDbPasswordKeyVaultUrl();
+ }
+
@Override
public Integer hanaDbSqlPort() {
return this.inner().hanaDbSqlPort();
@@ -79,6 +89,12 @@ public HanaProvisioningStatesEnum provisioningState() {
return this.inner().provisioningState();
}
+ @Override
+ public SapMonitorImpl withHanaDbCredentialsMsiId(String hanaDbCredentialsMsiId) {
+ this.inner().withHanaDbCredentialsMsiId(hanaDbCredentialsMsiId);
+ return this;
+ }
+
@Override
public SapMonitorImpl withHanaDbName(String hanaDbName) {
this.inner().withHanaDbName(hanaDbName);
@@ -91,6 +107,12 @@ public SapMonitorImpl withHanaDbPassword(String hanaDbPassword) {
return this;
}
+ @Override
+ public SapMonitorImpl withHanaDbPasswordKeyVaultUrl(String hanaDbPasswordKeyVaultUrl) {
+ this.inner().withHanaDbPasswordKeyVaultUrl(hanaDbPasswordKeyVaultUrl);
+ return this;
+ }
+
@Override
public SapMonitorImpl withHanaDbSqlPort(Integer hanaDbSqlPort) {
this.inner().withHanaDbSqlPort(hanaDbSqlPort);
diff --git a/hanaonazure/resource-manager/v2017_11_03_preview/src/main/java/com/microsoft/azure/management/hanaonazure/v2017_11_03_preview/implementation/SapMonitorInner.java b/hanaonazure/resource-manager/v2017_11_03_preview/src/main/java/com/microsoft/azure/management/hanaonazure/v2017_11_03_preview/implementation/SapMonitorInner.java
index bc0d08bbd221..b29081271e2d 100644
--- a/hanaonazure/resource-manager/v2017_11_03_preview/src/main/java/com/microsoft/azure/management/hanaonazure/v2017_11_03_preview/implementation/SapMonitorInner.java
+++ b/hanaonazure/resource-manager/v2017_11_03_preview/src/main/java/com/microsoft/azure/management/hanaonazure/v2017_11_03_preview/implementation/SapMonitorInner.java
@@ -56,6 +56,19 @@ public class SapMonitorInner extends Resource {
@JsonProperty(value = "properties.hanaDbPassword")
private String hanaDbPassword;
+ /**
+ * KeyVault URL link to the password for the HANA database.
+ */
+ @JsonProperty(value = "properties.hanaDbPasswordKeyVaultUrl")
+ private String hanaDbPasswordKeyVaultUrl;
+
+ /**
+ * MSI ID passed by customer which has access to customer's KeyVault and to
+ * be assigned to the Collector VM.
+ */
+ @JsonProperty(value = "properties.hanaDbCredentialsMsiId")
+ private String hanaDbCredentialsMsiId;
+
/**
* State of provisioning of the HanaInstance. Possible values include:
* 'Accepted', 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting',
@@ -184,6 +197,46 @@ public SapMonitorInner withHanaDbPassword(String hanaDbPassword) {
return this;
}
+ /**
+ * Get keyVault URL link to the password for the HANA database.
+ *
+ * @return the hanaDbPasswordKeyVaultUrl value
+ */
+ public String hanaDbPasswordKeyVaultUrl() {
+ return this.hanaDbPasswordKeyVaultUrl;
+ }
+
+ /**
+ * Set keyVault URL link to the password for the HANA database.
+ *
+ * @param hanaDbPasswordKeyVaultUrl the hanaDbPasswordKeyVaultUrl value to set
+ * @return the SapMonitorInner object itself.
+ */
+ public SapMonitorInner withHanaDbPasswordKeyVaultUrl(String hanaDbPasswordKeyVaultUrl) {
+ this.hanaDbPasswordKeyVaultUrl = hanaDbPasswordKeyVaultUrl;
+ return this;
+ }
+
+ /**
+ * Get mSI ID passed by customer which has access to customer's KeyVault and to be assigned to the Collector VM.
+ *
+ * @return the hanaDbCredentialsMsiId value
+ */
+ public String hanaDbCredentialsMsiId() {
+ return this.hanaDbCredentialsMsiId;
+ }
+
+ /**
+ * Set mSI ID passed by customer which has access to customer's KeyVault and to be assigned to the Collector VM.
+ *
+ * @param hanaDbCredentialsMsiId the hanaDbCredentialsMsiId value to set
+ * @return the SapMonitorInner object itself.
+ */
+ public SapMonitorInner withHanaDbCredentialsMsiId(String hanaDbCredentialsMsiId) {
+ this.hanaDbCredentialsMsiId = hanaDbCredentialsMsiId;
+ return this;
+ }
+
/**
* Get state of provisioning of the HanaInstance. Possible values include: 'Accepted', 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating'.
*