forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeGen from PR 11587 in Azure/azure-rest-api-specs
Merge d075c0074988d33380cabde7c204036866256ca6 into 82dc61d402278f8515c378fbf87ea468d6a1c18d
- Loading branch information
SDKAuto
committed
Dec 2, 2020
1 parent
33362b5
commit f2f4e5b
Showing
118 changed files
with
24,889 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
...ain/java/com/microsoft/azure/management/sql/v2018_06_01_preview/CatalogCollationType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
...microsoft/azure/management/sql/v2018_06_01_preview/CompleteDatabaseRestoreDefinition.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
|
||
} |
65 changes: 65 additions & 0 deletions
65
...java/com/microsoft/azure/management/sql/v2018_06_01_preview/CurrentSensitivityLabels.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
/** | ||
* 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 rank value. | ||
*/ | ||
SensitivityLabelRank rank(); | ||
|
||
/** | ||
* @return the type value. | ||
*/ | ||
String type(); | ||
|
||
} |
42 changes: 42 additions & 0 deletions
42
...com/microsoft/azure/management/sql/v2018_06_01_preview/DatabaseSecurityAlertPolicies.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
|
||
} |
Oops, something went wrong.