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
8 changes: 4 additions & 4 deletions sql/resource-manager/v2014_04_01/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>0.0.3-beta</version>
<version>0.0.2-beta</version>
<relativePath>../../../pom.xml</relativePath>
</parent>
<artifactId>azure-mgmt-sql</artifactId>
<version>1.0.0-beta</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for Sql Management</name>
<description>This package contains Microsoft Sql 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:git@github.com:Azure/azure-libraries-for-java.git</connection>
<url>scm:git:https://github.com/Azure/azure-sdk-for-java</url>
<connection>scm:git:git@github.com:Azure/azure-sdk-for-java.git</connection>
<tag>HEAD</tag>
</scm>
<properties>
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ interface Blank extends WithDatabasis {
interface WithDatabasis {
/**
* Specifies resourceGroupName, serverName, databaseName.
* @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 database Threat Detection policy is defined
* @return the next definition stage
*/
WithState withExistingDatabasis(String resourceGroupName, String serverName, String databaseName);
}
Expand All @@ -119,6 +123,8 @@ interface WithDatabasis {
interface WithState {
/**
* Specifies state.
* @param state Specifies the state of the policy. If state is Enabled, storageEndpoint and storageAccountAccessKey are required. Possible values include: 'New', 'Enabled', 'Disabled'
* @return the next definition stage
*/
WithCreate withState(SecurityAlertPolicyState state);
}
Expand All @@ -129,6 +135,8 @@ interface WithState {
interface WithDisabledAlerts {
/**
* Specifies disabledAlerts.
* @param disabledAlerts Specifies the semicolon-separated list of alerts that are disabled, or empty string to disable no alerts. Possible values: Sql_Injection; Sql_Injection_Vulnerability; Access_Anomaly; Data_Exfiltration; Unsafe_Action
* @return the next definition stage
*/
WithCreate withDisabledAlerts(String disabledAlerts);
}
Expand All @@ -139,6 +147,8 @@ interface WithDisabledAlerts {
interface WithEmailAccountAdmins {
/**
* Specifies emailAccountAdmins.
* @param emailAccountAdmins Specifies that the alert is sent to the account administrators. Possible values include: 'Enabled', 'Disabled'
* @return the next definition stage
*/
WithCreate withEmailAccountAdmins(SecurityAlertPolicyEmailAccountAdmins emailAccountAdmins);
}
Expand All @@ -149,6 +159,8 @@ interface WithEmailAccountAdmins {
interface WithEmailAddresses {
/**
* Specifies emailAddresses.
* @param emailAddresses Specifies the semicolon-separated list of e-mail addresses to which the alert is sent
* @return the next definition stage
*/
WithCreate withEmailAddresses(String emailAddresses);
}
Expand All @@ -159,6 +171,8 @@ interface WithEmailAddresses {
interface WithLocation {
/**
* Specifies location.
* @param location The geo-location where the resource lives
* @return the next definition stage
*/
WithCreate withLocation(String location);
}
Expand All @@ -169,6 +183,8 @@ interface WithLocation {
interface WithRetentionDays {
/**
* Specifies retentionDays.
* @param retentionDays Specifies the number of days to keep in the Threat Detection audit logs
* @return the next definition stage
*/
WithCreate withRetentionDays(Integer retentionDays);
}
Expand All @@ -179,6 +195,8 @@ interface WithRetentionDays {
interface WithStorageAccountAccessKey {
/**
* Specifies storageAccountAccessKey.
* @param storageAccountAccessKey Specifies the identifier key of the Threat Detection audit storage account. If state is Enabled, storageAccountAccessKey is required
* @return the next definition stage
*/
WithCreate withStorageAccountAccessKey(String storageAccountAccessKey);
}
Expand All @@ -189,6 +207,8 @@ interface WithStorageAccountAccessKey {
interface WithStorageEndpoint {
/**
* Specifies storageEndpoint.
* @param storageEndpoint Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. If state is Enabled, storageEndpoint is required
* @return the next definition stage
*/
WithCreate withStorageEndpoint(String storageEndpoint);
}
Expand All @@ -199,6 +219,8 @@ interface WithStorageEndpoint {
interface WithUseServerDefault {
/**
* Specifies useServerDefault.
* @param useServerDefault Specifies whether to use the default server policy. Possible values include: 'Enabled', 'Disabled'
* @return the next definition stage
*/
WithCreate withUseServerDefault(SecurityAlertPolicyUseServerDefault useServerDefault);
}
Expand Down Expand Up @@ -227,6 +249,8 @@ interface UpdateStages {
interface WithDisabledAlerts {
/**
* Specifies disabledAlerts.
* @param disabledAlerts Specifies the semicolon-separated list of alerts that are disabled, or empty string to disable no alerts. Possible values: Sql_Injection; Sql_Injection_Vulnerability; Access_Anomaly; Data_Exfiltration; Unsafe_Action
* @return the next update stage
*/
Update withDisabledAlerts(String disabledAlerts);
}
Expand All @@ -237,6 +261,8 @@ interface WithDisabledAlerts {
interface WithEmailAccountAdmins {
/**
* Specifies emailAccountAdmins.
* @param emailAccountAdmins Specifies that the alert is sent to the account administrators. Possible values include: 'Enabled', 'Disabled'
* @return the next update stage
*/
Update withEmailAccountAdmins(SecurityAlertPolicyEmailAccountAdmins emailAccountAdmins);
}
Expand All @@ -247,6 +273,8 @@ interface WithEmailAccountAdmins {
interface WithEmailAddresses {
/**
* Specifies emailAddresses.
* @param emailAddresses Specifies the semicolon-separated list of e-mail addresses to which the alert is sent
* @return the next update stage
*/
Update withEmailAddresses(String emailAddresses);
}
Expand All @@ -257,6 +285,8 @@ interface WithEmailAddresses {
interface WithLocation {
/**
* Specifies location.
* @param location The geo-location where the resource lives
* @return the next update stage
*/
Update withLocation(String location);
}
Expand All @@ -267,6 +297,8 @@ interface WithLocation {
interface WithRetentionDays {
/**
* Specifies retentionDays.
* @param retentionDays Specifies the number of days to keep in the Threat Detection audit logs
* @return the next update stage
*/
Update withRetentionDays(Integer retentionDays);
}
Expand All @@ -277,6 +309,8 @@ interface WithRetentionDays {
interface WithStorageAccountAccessKey {
/**
* Specifies storageAccountAccessKey.
* @param storageAccountAccessKey Specifies the identifier key of the Threat Detection audit storage account. If state is Enabled, storageAccountAccessKey is required
* @return the next update stage
*/
Update withStorageAccountAccessKey(String storageAccountAccessKey);
}
Expand All @@ -287,6 +321,8 @@ interface WithStorageAccountAccessKey {
interface WithStorageEndpoint {
/**
* Specifies storageEndpoint.
* @param storageEndpoint Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. If state is Enabled, storageEndpoint is required
* @return the next update stage
*/
Update withStorageEndpoint(String storageEndpoint);
}
Expand All @@ -297,6 +333,8 @@ interface WithStorageEndpoint {
interface WithUseServerDefault {
/**
* Specifies useServerDefault.
* @param useServerDefault Specifies whether to use the default server policy. Possible values include: 'Enabled', 'Disabled'
* @return the next update stage
*/
Update withUseServerDefault(SecurityAlertPolicyUseServerDefault useServerDefault);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ interface Blank extends WithServer {
interface WithServer {
/**
* Specifies resourceGroupName, serverName.
* @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
* @return the next definition stage
*/
WithLocation withExistingServer(String resourceGroupName, String serverName);
}
Expand All @@ -126,6 +129,8 @@ interface WithServer {
interface WithLocation {
/**
* Specifies location.
* @param location Resource location
* @return the next definition stage
*/
WithCreate withLocation(String location);
}
Expand All @@ -136,6 +141,8 @@ interface WithLocation {
interface WithDatabaseDtuMax {
/**
* Specifies databaseDtuMax.
* @param databaseDtuMax The maximum DTU any one database can consume
* @return the next definition stage
*/
WithCreate withDatabaseDtuMax(Integer databaseDtuMax);
}
Expand All @@ -146,6 +153,8 @@ interface WithDatabaseDtuMax {
interface WithDatabaseDtuMin {
/**
* Specifies databaseDtuMin.
* @param databaseDtuMin The minimum DTU all databases are guaranteed
* @return the next definition stage
*/
WithCreate withDatabaseDtuMin(Integer databaseDtuMin);
}
Expand All @@ -156,6 +165,8 @@ interface WithDatabaseDtuMin {
interface WithDtu {
/**
* Specifies dtu.
* @param dtu The total shared DTU for the database elastic pool
* @return the next definition stage
*/
WithCreate withDtu(Integer dtu);
}
Expand All @@ -166,6 +177,8 @@ interface WithDtu {
interface WithEdition {
/**
* Specifies edition.
* @param edition The edition of the elastic pool. Possible values include: 'Basic', 'Standard', 'Premium'
* @return the next definition stage
*/
WithCreate withEdition(ElasticPoolEdition edition);
}
Expand All @@ -176,6 +189,8 @@ interface WithEdition {
interface WithStorageMB {
/**
* Specifies storageMB.
* @param storageMB Gets storage limit for the database elastic pool in MB
* @return the next definition stage
*/
WithCreate withStorageMB(Integer storageMB);
}
Expand All @@ -186,6 +201,8 @@ interface WithStorageMB {
interface WithTags {
/**
* Specifies tags.
* @param tags Resource tags
* @return the next definition stage
*/
WithCreate withTags(Map<String, String> tags);
}
Expand All @@ -196,6 +213,8 @@ interface WithTags {
interface WithZoneRedundant {
/**
* Specifies zoneRedundant.
* @param zoneRedundant Whether or not this database elastic pool is zone redundant, which means the replicas of this database will be spread across multiple availability zones
* @return the next definition stage
*/
WithCreate withZoneRedundant(Boolean zoneRedundant);
}
Expand Down Expand Up @@ -224,6 +243,8 @@ interface UpdateStages {
interface WithDatabaseDtuMax {
/**
* Specifies databaseDtuMax.
* @param databaseDtuMax The maximum DTU any one database can consume
* @return the next update stage
*/
Update withDatabaseDtuMax(Integer databaseDtuMax);
}
Expand All @@ -234,6 +255,8 @@ interface WithDatabaseDtuMax {
interface WithDatabaseDtuMin {
/**
* Specifies databaseDtuMin.
* @param databaseDtuMin The minimum DTU all databases are guaranteed
* @return the next update stage
*/
Update withDatabaseDtuMin(Integer databaseDtuMin);
}
Expand All @@ -244,6 +267,8 @@ interface WithDatabaseDtuMin {
interface WithDtu {
/**
* Specifies dtu.
* @param dtu The total shared DTU for the database elastic pool
* @return the next update stage
*/
Update withDtu(Integer dtu);
}
Expand All @@ -254,6 +279,8 @@ interface WithDtu {
interface WithEdition {
/**
* Specifies edition.
* @param edition The edition of the elastic pool. Possible values include: 'Basic', 'Standard', 'Premium'
* @return the next update stage
*/
Update withEdition(ElasticPoolEdition edition);
}
Expand All @@ -264,6 +291,8 @@ interface WithEdition {
interface WithStorageMB {
/**
* Specifies storageMB.
* @param storageMB Gets storage limit for the database elastic pool in MB
* @return the next update stage
*/
Update withStorageMB(Integer storageMB);
}
Expand All @@ -274,6 +303,8 @@ interface WithStorageMB {
interface WithTags {
/**
* Specifies tags.
* @param tags Resource tags
* @return the next update stage
*/
Update withTags(Map<String, String> tags);
}
Expand All @@ -284,6 +315,8 @@ interface WithTags {
interface WithZoneRedundant {
/**
* Specifies zoneRedundant.
* @param zoneRedundant Whether or not this database elastic pool is zone redundant, which means the replicas of this database will be spread across multiple availability zones
* @return the next update stage
*/
Update withZoneRedundant(Boolean zoneRedundant);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ interface Blank extends WithServer {
interface WithServer {
/**
* Specifies resourceGroupName, serverName.
* @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
* @return the next definition stage
*/
WithEndIpAddress withExistingServer(String resourceGroupName, String serverName);
}
Expand All @@ -89,6 +92,8 @@ interface WithServer {
interface WithEndIpAddress {
/**
* Specifies endIpAddress.
* @param endIpAddress The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress. Use value '0.0.0.0' to represent all Azure-internal IP addresses
* @return the next definition stage
*/
WithStartIpAddress withEndIpAddress(String endIpAddress);
}
Expand All @@ -99,6 +104,8 @@ interface WithEndIpAddress {
interface WithStartIpAddress {
/**
* Specifies startIpAddress.
* @param startIpAddress The start IP address of the firewall rule. Must be IPv4 format. Use value '0.0.0.0' to represent all Azure-internal IP addresses
* @return the next definition stage
*/
WithCreate withStartIpAddress(String startIpAddress);
}
Expand Down
Loading