Skip to content
Closed
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
4 changes: 2 additions & 2 deletions sql/resource-manager/v2018_06_01_preview/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
<version>0.0.3-beta</version>
<relativePath>../../../pom.xml</relativePath>
</parent>
<artifactId>azure-mgmt-sql</artifactId>
<version>1.0.0-beta</version>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.sql.v2018_06_01_preview;

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.management.sql.v2018_06_01_preview.implementation.SensitivityLabelInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.sql.v2018_06_01_preview.implementation.SqlManager;

/**
* Type representing CurrentSensitivityLabels.
*/
public interface CurrentSensitivityLabels extends HasInner<SensitivityLabelInner>, HasManager<SqlManager> {
/**
* @return the id value.
*/
String id();

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

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

/**
* @return the isDisabled value.
*/
Boolean isDisabled();

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

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

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

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

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.sql.v2018_06_01_preview;

import com.microsoft.azure.arm.collection.SupportsCreating;
import rx.Observable;
import com.microsoft.azure.management.sql.v2018_06_01_preview.implementation.DatabaseSecurityAlertPoliciesInner;
import com.microsoft.azure.arm.model.HasInner;

/**
* Type representing DatabaseSecurityAlertPolicies.
*/
public interface DatabaseSecurityAlertPolicies extends SupportsCreating<DatabaseSecurityAlertPolicy.DefinitionStages.Blank>, HasInner<DatabaseSecurityAlertPoliciesInner> {
/**
* Gets a database's security alert policy.
*
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
* @param serverName The name of the server.
* @param databaseName The name of the database for which the security alert policy is defined.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<DatabaseSecurityAlertPolicy> getAsync(String resourceGroupName, String serverName, String databaseName);

/**
* Gets a list of database's security alert policies.
*
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
* @param serverName The name of the server.
* @param databaseName The name of the database for which the security alert policy is defined.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<DatabaseSecurityAlertPolicy> listByDatabaseAsync(final String resourceGroupName, final String serverName, final String databaseName);

}
Loading