-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from 1d3074c3f3f50b396875f414d62eec4195234f83 (#2451)
Update readme.md
- Loading branch information
1 parent
1cc9f13
commit a03d011
Showing
25 changed files
with
3,117 additions
and
71 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
111 changes: 111 additions & 0 deletions
111
...azure/management/sql/v2017_10_01_preview/DatabaseVulnerabilityAssessmentRuleBaseline.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,111 @@ | ||
/** | ||
* 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_10_01_preview; | ||
|
||
import com.microsoft.azure.arm.model.HasInner; | ||
import com.microsoft.azure.management.sql.v2017_10_01_preview.implementation.DatabaseVulnerabilityAssessmentRuleBaselineInner; | ||
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_10_01_preview.implementation.SqlManager; | ||
import java.util.List; | ||
|
||
/** | ||
* Type representing DatabaseVulnerabilityAssessmentRuleBaseline. | ||
*/ | ||
public interface DatabaseVulnerabilityAssessmentRuleBaseline extends HasInner<DatabaseVulnerabilityAssessmentRuleBaselineInner>, Indexable, Refreshable<DatabaseVulnerabilityAssessmentRuleBaseline>, Updatable<DatabaseVulnerabilityAssessmentRuleBaseline.Update>, HasManager<SqlManager> { | ||
/** | ||
* @return the baselineResults value. | ||
*/ | ||
List<DatabaseVulnerabilityAssessmentRuleBaselineItem> baselineResults(); | ||
|
||
/** | ||
* @return the id value. | ||
*/ | ||
String id(); | ||
|
||
/** | ||
* @return the name value. | ||
*/ | ||
String name(); | ||
|
||
/** | ||
* @return the type value. | ||
*/ | ||
String type(); | ||
|
||
/** | ||
* The entirety of the DatabaseVulnerabilityAssessmentRuleBaseline definition. | ||
*/ | ||
interface Definition extends DefinitionStages.Blank, DefinitionStages.WithRule, DefinitionStages.WithBaselineResults, DefinitionStages.WithCreate { | ||
} | ||
|
||
/** | ||
* Grouping of DatabaseVulnerabilityAssessmentRuleBaseline definition stages. | ||
*/ | ||
interface DefinitionStages { | ||
/** | ||
* The first stage of a DatabaseVulnerabilityAssessmentRuleBaseline definition. | ||
*/ | ||
interface Blank extends WithRule { | ||
} | ||
|
||
/** | ||
* The stage of the databasevulnerabilityassessmentrulebaseline definition allowing to specify Rule. | ||
*/ | ||
interface WithRule { | ||
/** | ||
* Specifies resourceGroupName, managedInstanceName, databaseName, ruleId. | ||
*/ | ||
WithBaselineResults withExistingRule(String resourceGroupName, String managedInstanceName, String databaseName, String ruleId); | ||
} | ||
|
||
/** | ||
* The stage of the databasevulnerabilityassessmentrulebaseline definition allowing to specify BaselineResults. | ||
*/ | ||
interface WithBaselineResults { | ||
/** | ||
* Specifies baselineResults. | ||
*/ | ||
WithCreate withBaselineResults(List<DatabaseVulnerabilityAssessmentRuleBaselineItem> baselineResults); | ||
} | ||
|
||
/** | ||
* 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<DatabaseVulnerabilityAssessmentRuleBaseline> { | ||
} | ||
} | ||
/** | ||
* The template for a DatabaseVulnerabilityAssessmentRuleBaseline update operation, containing all the settings that can be modified. | ||
*/ | ||
interface Update extends Appliable<DatabaseVulnerabilityAssessmentRuleBaseline>, UpdateStages.WithBaselineResults { | ||
} | ||
|
||
/** | ||
* Grouping of DatabaseVulnerabilityAssessmentRuleBaseline update stages. | ||
*/ | ||
interface UpdateStages { | ||
/** | ||
* The stage of the databasevulnerabilityassessmentrulebaseline update allowing to specify BaselineResults. | ||
*/ | ||
interface WithBaselineResults { | ||
/** | ||
* Specifies baselineResults. | ||
*/ | ||
Update withBaselineResults(List<DatabaseVulnerabilityAssessmentRuleBaselineItem> baselineResults); | ||
} | ||
|
||
} | ||
} |
45 changes: 45 additions & 0 deletions
45
...e/management/sql/v2017_10_01_preview/DatabaseVulnerabilityAssessmentRuleBaselineItem.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,45 @@ | ||
/** | ||
* 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_10_01_preview; | ||
|
||
import java.util.List; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* Properties for an Azure SQL Database Vulnerability Assessment rule | ||
* baseline's result. | ||
*/ | ||
public class DatabaseVulnerabilityAssessmentRuleBaselineItem { | ||
/** | ||
* The rule baseline result. | ||
*/ | ||
@JsonProperty(value = "result", required = true) | ||
private List<String> result; | ||
|
||
/** | ||
* Get the rule baseline result. | ||
* | ||
* @return the result value | ||
*/ | ||
public List<String> result() { | ||
return this.result; | ||
} | ||
|
||
/** | ||
* Set the rule baseline result. | ||
* | ||
* @param result the result value to set | ||
* @return the DatabaseVulnerabilityAssessmentRuleBaselineItem object itself. | ||
*/ | ||
public DatabaseVulnerabilityAssessmentRuleBaselineItem withResult(List<String> result) { | ||
this.result = result; | ||
return this; | ||
} | ||
|
||
} |
Oops, something went wrong.