Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR] sql/resource-manager #2138

Closed
wants to merge 17 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
4c00ae3
Generated from 8a72b9ba5c2b5c8621cd628c62702a0bd4933259 (#2122)
AutorestCI Jun 21, 2018
ebe1527
[AutoPR sql/resource-manager] [DO NOT MERGE] Add DatabaseVulnerabilit…
AutorestCI Jul 27, 2018
b3d6e01
[AutoPR sql/resource-manager] New Cmdlets for Management.Sql to allow…
AutorestCI Sep 4, 2018
1cc9f13
Generated from ae5e50da51607b6c59745d9d2969c4f6acba0d81 (#2385)
AutorestCI Sep 17, 2018
a03d011
Generated from 1d3074c3f3f50b396875f414d62eec4195234f83 (#2451)
AutorestCI Oct 4, 2018
e472346
Generated from b77f5d1a2652b84a016c368bff34ec26940facac (#2552)
AutorestCI Oct 31, 2018
8b40594
Generated from 63e4176e8577c1abaf1a1496628dc432c7fa5479 (#2562)
AutorestCI Nov 6, 2018
21d6115
[AutoPR sql/resource-manager] Reorganized sql readme.md and extracted…
AutorestCI Dec 13, 2018
454cecd
Generated from 9d8ee581a6a578917bf10678c5d69d7e08d57c7f (#2786)
AutorestCI Dec 13, 2018
06e4e60
Generated from 9d6a28b409c220cdac4477e608e14fbed6bd7c6e (#2787)
AutorestCI Dec 13, 2018
12dc2f6
Generated from 59e8d0868a5c15631fdaaa7806897f22f4872fef (#2801)
AutorestCI Dec 17, 2018
5d24801
Generated from d82d1491879729cdf44da9a664e815112acde158 (#2836)
AutorestCI Jan 11, 2019
08fec10
[AutoPR sql/resource-manager] Added support for dropped databases on …
AutorestCI Jan 18, 2019
35ebb9c
[AutoPR sql/resource-manager] Managed Instance GeoRestore Cmds (#2825)
AutorestCI Jan 22, 2019
0df5398
Generated from 45f508a8851c33aa3d6e6901127de68e75ed596d (#2890)
AutorestCI Jan 30, 2019
8d2f2cf
Generated from 45e35bcbc58caa5f6d38632405b8a855872b77d9 (#2920)
AutorestCI Feb 6, 2019
0bdf0a1
Generated from a03ebb5e6ea5c7aa1585f40be78db1703c328084 (#2988)
AutorestCI Feb 28, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
133 changes: 133 additions & 0 deletions sql/resource-manager/v2014_04_01/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
<!--
* 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.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.microsoft.azure.sql.v2014_04_01</groupId>
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<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>
<licenses>
<license>
<name>The MIT License (MIT)</name>
<url>http://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</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>
<tag>HEAD</tag>
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<legal><![CDATA[[INFO] Any downloads listed may be third party software. Microsoft grants you no rights for third party software.]]></legal>
</properties>
<developers>
<developer>
<id>microsoft</id>
<name>Microsoft</name>
</developer>
</developers>
<dependencies>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-client-runtime</artifactId>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-client-runtime</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-client-authentication</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-mgmt-resources</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-client-runtime</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<annotationProcessors>
<annotationProcessor>
com.microsoft.azure.management.apigeneration.LangDefinitionProcessor
</annotationProcessor>
</annotationProcessors>
<debug>true</debug>
<optimize>true</optimize>
<compilerArguments>
<AaddGeneratedAnnotation>true</AaddGeneratedAnnotation>
<Adebug>true</Adebug>
</compilerArguments>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8</version>
<configuration>
<excludePackageNames>*.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search</excludePackageNames>
<bottom>
<![CDATA[<code>
/**
<br />* Copyright (c) Microsoft Corporation. All rights reserved.
<br />* Licensed under the MIT License. See License.txt in the project root for
<br />* license information.
<br />*/
</code>]]>
</bottom>
</configuration>
</plugin>
</plugins>
</build>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/**
* 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.v2014_04_01;

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.sql.v2014_04_01.implementation.SqlManager;
import com.microsoft.azure.management.sql.v2014_04_01.implementation.AdvisorListResultInner;
import com.microsoft.azure.management.sql.v2014_04_01.implementation.AdvisorInner;
import java.util.List;

/**
* Type representing AdvisorListResult.
*/
public interface AdvisorListResult extends HasInner<AdvisorListResultInner>, HasManager<SqlManager> {
/**
* @return the value value.
*/
List<AdvisorInner> value();

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
/**
* 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.v2014_04_01;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;

/**
* Defines values for AdvisorStatus.
*/
public enum AdvisorStatus {
/** Enum value GA. */
GA("GA"),

/** Enum value PublicPreview. */
PUBLIC_PREVIEW("PublicPreview"),

/** Enum value LimitedPublicPreview. */
LIMITED_PUBLIC_PREVIEW("LimitedPublicPreview"),

/** Enum value PrivatePreview. */
PRIVATE_PREVIEW("PrivatePreview");

/** The actual serialized value for a AdvisorStatus instance. */
private String value;

AdvisorStatus(String value) {
this.value = value;
}

/**
* Parses a serialized value to a AdvisorStatus instance.
*
* @param value the serialized value to parse.
* @return the parsed AdvisorStatus object, or null if unable to parse.
*/
@JsonCreator
public static AdvisorStatus fromString(String value) {
AdvisorStatus[] items = AdvisorStatus.values();
for (AdvisorStatus item : items) {
if (item.toString().equalsIgnoreCase(value)) {
return item;
}
}
return null;
}

@JsonValue
@Override
public String toString() {
return this.value;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
/**
* 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.v2014_04_01;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;

/**
* Defines values for AuthenticationType.
*/
public enum AuthenticationType {
/** Enum value SQL. */
SQL("SQL"),

/** Enum value ADPassword. */
ADPASSWORD("ADPassword");

/** The actual serialized value for a AuthenticationType instance. */
private String value;

AuthenticationType(String value) {
this.value = value;
}

/**
* Parses a serialized value to a AuthenticationType instance.
*
* @param value the serialized value to parse.
* @return the parsed AuthenticationType object, or null if unable to parse.
*/
@JsonCreator
public static AuthenticationType fromString(String value) {
AuthenticationType[] items = AuthenticationType.values();
for (AuthenticationType item : items) {
if (item.toString().equalsIgnoreCase(value)) {
return item;
}
}
return null;
}

@JsonValue
@Override
public String toString() {
return this.value;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/**
* 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.v2014_04_01;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;

/**
* Defines values for AutoExecuteStatus.
*/
public enum AutoExecuteStatus {
/** Enum value Enabled. */
ENABLED("Enabled"),

/** Enum value Disabled. */
DISABLED("Disabled"),

/** Enum value Default. */
DEFAULT("Default");

/** The actual serialized value for a AutoExecuteStatus instance. */
private String value;

AutoExecuteStatus(String value) {
this.value = value;
}

/**
* Parses a serialized value to a AutoExecuteStatus instance.
*
* @param value the serialized value to parse.
* @return the parsed AutoExecuteStatus object, or null if unable to parse.
*/
@JsonCreator
public static AutoExecuteStatus fromString(String value) {
AutoExecuteStatus[] items = AutoExecuteStatus.values();
for (AutoExecuteStatus item : items) {
if (item.toString().equalsIgnoreCase(value)) {
return item;
}
}
return null;
}

@JsonValue
@Override
public String toString() {
return this.value;
}
}
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.v2014_04_01;

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

/**
* Type representing BackupLongTermRetentionPolicies.
*/
public interface BackupLongTermRetentionPolicies extends SupportsCreating<BackupLongTermRetentionPolicy.DefinitionStages.Blank>, HasInner<BackupLongTermRetentionPoliciesInner> {
/**
* Returns a database backup long term retention 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.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<BackupLongTermRetentionPolicy> getAsync(String resourceGroupName, String serverName, String databaseName);

/**
* Returns a database backup long term retention 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.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<BackupLongTermRetentionPolicy> listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName);

}
Loading