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
4 changes: 2 additions & 2 deletions sql/resource-manager/v2017_03_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
Expand Up @@ -189,7 +189,7 @@ interface WithIsAzureMonitorTargetEnabled {
/**
* Specifies isAzureMonitorTargetEnabled.
* @param isAzureMonitorTargetEnabled Specifies whether audit events are sent to Azure Monitor.
In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true.
In order to send the events to Azure Monitor, specify 'state' as 'Enabled' and 'isAzureMonitorTargetEnabled' as true.
When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.
Note that for server level audit you should use the 'master' database as {databaseName}.
Diagnostic Settings URI format:
Expand Down Expand Up @@ -342,7 +342,7 @@ interface WithIsAzureMonitorTargetEnabled {
/**
* Specifies isAzureMonitorTargetEnabled.
* @param isAzureMonitorTargetEnabled Specifies whether audit events are sent to Azure Monitor.
In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true.
In order to send the events to Azure Monitor, specify 'state' as 'Enabled' and 'isAzureMonitorTargetEnabled' as true.
When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.
Note that for server level audit you should use the 'master' database as {databaseName}.
Diagnostic Settings URI format:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
/**
* 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.v2017_03_01_preview;

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.management.sql.v2017_03_01_preview.implementation.ManagedBackupShortTermRetentionPolicyInner;
import com.microsoft.azure.arm.model.Indexable;
import com.microsoft.azure.arm.model.Refreshable;
import com.microsoft.azure.arm.model.Updatable;
import com.microsoft.azure.arm.model.Appliable;
import com.microsoft.azure.arm.model.Creatable;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.sql.v2017_03_01_preview.implementation.SqlManager;

/**
* Type representing DatabasisManagedInstanceManagedBackupShortTermRetentionPolicy.
*/
public interface DatabasisManagedInstanceManagedBackupShortTermRetentionPolicy extends HasInner<ManagedBackupShortTermRetentionPolicyInner>, Indexable, Refreshable<DatabasisManagedInstanceManagedBackupShortTermRetentionPolicy>, Updatable<DatabasisManagedInstanceManagedBackupShortTermRetentionPolicy.Update>, HasManager<SqlManager> {
/**
* @return the id value.
*/
String id();

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

/**
* @return the retentionDays value.
*/
Integer retentionDays();

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

/**
* The entirety of the DatabasisManagedInstanceManagedBackupShortTermRetentionPolicy definition.
*/
interface Definition extends DefinitionStages.Blank, DefinitionStages.WithDatabasis, DefinitionStages.WithRetentionDays, DefinitionStages.WithCreate {
}

/**
* Grouping of DatabasisManagedInstanceManagedBackupShortTermRetentionPolicy definition stages.
*/
interface DefinitionStages {
/**
* The first stage of a DatabasisManagedInstanceManagedBackupShortTermRetentionPolicy definition.
*/
interface Blank extends WithDatabasis {
}

/**
* The stage of the databasismanagedinstancemanagedbackupshorttermretentionpolicy definition allowing to specify Databasis.
*/
interface WithDatabasis {
/**
* Specifies resourceGroupName, managedInstanceName, 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 managedInstanceName The name of the managed instance
* @param databaseName The name of the database
* @return the next definition stage
*/
WithRetentionDays withExistingDatabasis(String resourceGroupName, String managedInstanceName, String databaseName);
}

/**
* The stage of the databasismanagedinstancemanagedbackupshorttermretentionpolicy definition allowing to specify RetentionDays.
*/
interface WithRetentionDays {
/**
* Specifies retentionDays.
* @param retentionDays The backup retention period in days. This is how many days Point-in-Time Restore will be supported
* @return the next definition stage
*/
WithCreate withRetentionDays(Integer retentionDays);
}

/**
* The stage of the definition which contains all the minimum required inputs for
* the resource to be created (via {@link WithCreate#create()}), but also allows
* for any other optional settings to be specified.
*/
interface WithCreate extends Creatable<DatabasisManagedInstanceManagedBackupShortTermRetentionPolicy> {
}
}
/**
* The template for a DatabasisManagedInstanceManagedBackupShortTermRetentionPolicy update operation, containing all the settings that can be modified.
*/
interface Update extends Appliable<DatabasisManagedInstanceManagedBackupShortTermRetentionPolicy>, UpdateStages.WithRetentionDays {
}

/**
* Grouping of DatabasisManagedInstanceManagedBackupShortTermRetentionPolicy update stages.
*/
interface UpdateStages {
/**
* The stage of the databasismanagedinstancemanagedbackupshorttermretentionpolicy update allowing to specify RetentionDays.
*/
interface WithRetentionDays {
/**
* Specifies retentionDays.
* @param retentionDays The backup retention period in days. This is how many days Point-in-Time Restore will be supported
* @return the next update stage
*/
Update withRetentionDays(Integer retentionDays);
}

}
}
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.v2017_03_01_preview;

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

/**
* Type representing DatabasisServerSensitivityLabel.
*/
public interface DatabasisServerSensitivityLabel 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,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.v2017_03_01_preview;

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

/**
* Type representing DatabasisServerSensitivityLabelModel.
*/
public interface DatabasisServerSensitivityLabelModel 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
Expand Up @@ -189,7 +189,7 @@ interface WithIsAzureMonitorTargetEnabled {
/**
* Specifies isAzureMonitorTargetEnabled.
* @param isAzureMonitorTargetEnabled Specifies whether audit events are sent to Azure Monitor.
In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true.
In order to send the events to Azure Monitor, specify 'state' as 'Enabled' and 'isAzureMonitorTargetEnabled' as true.
When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.
Note that for server level audit you should use the 'master' database as {databaseName}.
Diagnostic Settings URI format:
Expand Down Expand Up @@ -354,7 +354,7 @@ interface WithIsAzureMonitorTargetEnabled {
/**
* Specifies isAzureMonitorTargetEnabled.
* @param isAzureMonitorTargetEnabled Specifies whether audit events are sent to Azure Monitor.
In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true.
In order to send the events to Azure Monitor, specify 'state' as 'Enabled' and 'isAzureMonitorTargetEnabled' as true.
When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.
Note that for server level audit you should use the 'master' database as {databaseName}.
Diagnostic Settings URI format:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ interface WithIsAzureMonitorTargetEnabled {
/**
* Specifies isAzureMonitorTargetEnabled.
* @param isAzureMonitorTargetEnabled Specifies whether audit events are sent to Azure Monitor.
In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true.
In order to send the events to Azure Monitor, specify 'state' as 'Enabled' and 'isAzureMonitorTargetEnabled' as true.
When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.
Note that for server level audit you should use the 'master' database as {databaseName}.
Diagnostic Settings URI format:
Expand Down Expand Up @@ -353,7 +353,7 @@ interface WithIsAzureMonitorTargetEnabled {
/**
* Specifies isAzureMonitorTargetEnabled.
* @param isAzureMonitorTargetEnabled Specifies whether audit events are sent to Azure Monitor.
In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true.
In order to send the events to Azure Monitor, specify 'state' as 'Enabled' and 'isAzureMonitorTargetEnabled' as true.
When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.
Note that for server level audit you should use the 'master' database as {databaseName}.
Diagnostic Settings URI format:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class JobSchedule {
private Boolean enabled;

/**
* Value of the schedule's recurring interval, if the scheduletype is
* Value of the schedule's recurring interval, if the schedule type is
* recurring. ISO8601 duration format.
*/
@JsonProperty(value = "interval")
Expand Down Expand Up @@ -127,7 +127,7 @@ public JobSchedule withEnabled(Boolean enabled) {
}

/**
* Get value of the schedule's recurring interval, if the scheduletype is recurring. ISO8601 duration format.
* Get value of the schedule's recurring interval, if the schedule type is recurring. ISO8601 duration format.
*
* @return the interval value
*/
Expand All @@ -136,7 +136,7 @@ public String interval() {
}

/**
* Set value of the schedule's recurring interval, if the scheduletype is recurring. ISO8601 duration format.
* Set value of the schedule's recurring interval, if the schedule type is recurring. ISO8601 duration format.
*
* @param interval the interval value to set
* @return the JobSchedule object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
package com.microsoft.azure.management.sql.v2017_03_01_preview;

import rx.Observable;

import java.util.UUID;
import com.microsoft.azure.management.sql.v2017_03_01_preview.ExecutionJobJobAgentServerJobExecution;

/**
* Type representing JobStepExecutions.
Expand Down
Loading