Skip to content

Commit

Permalink
Generated from db4f6148f63b27fc164553742720b55ba08e3ef9
Browse files Browse the repository at this point in the history
Fixed readme
  • Loading branch information
SDK Automation committed Dec 10, 2019
1 parent 59fc5f2 commit 6af8e13
Show file tree
Hide file tree
Showing 100 changed files with 19,090 additions and 19 deletions.
4 changes: 3 additions & 1 deletion sdk/sql/mgmt-v2018_06_01_preview/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.2.0</version>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-sql</artifactId>
Expand Down Expand Up @@ -71,6 +71,8 @@
<artifactId>azure-arm-client-runtime</artifactId>
<type>test-jar</type>
<scope>test</scope>
<!--Below version for test jar needs to be removed, this will be done as part of v1-runtime 1.6.7-->
<version>1.6.5</version>
</dependency>
</dependencies>
<build>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/**
* 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 java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;

/**
* Defines values for CatalogCollationType.
*/
public final class CatalogCollationType extends ExpandableStringEnum<CatalogCollationType> {
/** Static value DATABASE_DEFAULT for CatalogCollationType. */
public static final CatalogCollationType DATABASE_DEFAULT = fromString("DATABASE_DEFAULT");

/** Static value SQL_Latin1_General_CP1_CI_AS for CatalogCollationType. */
public static final CatalogCollationType SQL_LATIN1_GENERAL_CP1_CI_AS = fromString("SQL_Latin1_General_CP1_CI_AS");

/**
* Creates or finds a CatalogCollationType from its string representation.
* @param name a name to look for
* @return the corresponding CatalogCollationType
*/
@JsonCreator
public static CatalogCollationType fromString(String name) {
return fromString(name, CatalogCollationType.class);
}

/**
* @return known CatalogCollationType values
*/
public static Collection<CatalogCollationType> values() {
return values(CatalogCollationType.class);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/**
* 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.fasterxml.jackson.annotation.JsonProperty;

/**
* Contains the information necessary to perform a complete database restore
* operation.
*/
public class CompleteDatabaseRestoreDefinition {
/**
* The last backup name to apply.
*/
@JsonProperty(value = "lastBackupName", required = true)
private String lastBackupName;

/**
* Get the last backup name to apply.
*
* @return the lastBackupName value
*/
public String lastBackupName() {
return this.lastBackupName;
}

/**
* Set the last backup name to apply.
*
* @param lastBackupName the lastBackupName value to set
* @return the CompleteDatabaseRestoreDefinition object itself.
*/
public CompleteDatabaseRestoreDefinition withLastBackupName(String lastBackupName) {
this.lastBackupName = lastBackupName;
return this;
}

}
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

0 comments on commit 6af8e13

Please sign in to comment.