com.pulumi.azurenative.synapse.inputs.GetSqlPoolVulnerabilityAssessmentRuleBaselineArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.synapse.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetSqlPoolVulnerabilityAssessmentRuleBaselineArgs extends com.pulumi.resources.InvokeArgs {
public static final GetSqlPoolVulnerabilityAssessmentRuleBaselineArgs Empty = new GetSqlPoolVulnerabilityAssessmentRuleBaselineArgs();
/**
* The name of the vulnerability assessment rule baseline (default implies a baseline on a Sql pool level rule and master for server level rule).
*
*/
@Import(name="baselineName", required=true)
private Output baselineName;
/**
* @return The name of the vulnerability assessment rule baseline (default implies a baseline on a Sql pool level rule and master for server level rule).
*
*/
public Output baselineName() {
return this.baselineName;
}
/**
* The name of the resource group. The name is case insensitive.
*
*/
@Import(name="resourceGroupName", required=true)
private Output resourceGroupName;
/**
* @return The name of the resource group. The name is case insensitive.
*
*/
public Output resourceGroupName() {
return this.resourceGroupName;
}
/**
* The vulnerability assessment rule ID.
*
*/
@Import(name="ruleId", required=true)
private Output ruleId;
/**
* @return The vulnerability assessment rule ID.
*
*/
public Output ruleId() {
return this.ruleId;
}
/**
* SQL pool name
*
*/
@Import(name="sqlPoolName", required=true)
private Output sqlPoolName;
/**
* @return SQL pool name
*
*/
public Output sqlPoolName() {
return this.sqlPoolName;
}
/**
* The name of the vulnerability assessment.
*
*/
@Import(name="vulnerabilityAssessmentName", required=true)
private Output vulnerabilityAssessmentName;
/**
* @return The name of the vulnerability assessment.
*
*/
public Output vulnerabilityAssessmentName() {
return this.vulnerabilityAssessmentName;
}
/**
* The name of the workspace.
*
*/
@Import(name="workspaceName", required=true)
private Output workspaceName;
/**
* @return The name of the workspace.
*
*/
public Output workspaceName() {
return this.workspaceName;
}
private GetSqlPoolVulnerabilityAssessmentRuleBaselineArgs() {}
private GetSqlPoolVulnerabilityAssessmentRuleBaselineArgs(GetSqlPoolVulnerabilityAssessmentRuleBaselineArgs $) {
this.baselineName = $.baselineName;
this.resourceGroupName = $.resourceGroupName;
this.ruleId = $.ruleId;
this.sqlPoolName = $.sqlPoolName;
this.vulnerabilityAssessmentName = $.vulnerabilityAssessmentName;
this.workspaceName = $.workspaceName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetSqlPoolVulnerabilityAssessmentRuleBaselineArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetSqlPoolVulnerabilityAssessmentRuleBaselineArgs $;
public Builder() {
$ = new GetSqlPoolVulnerabilityAssessmentRuleBaselineArgs();
}
public Builder(GetSqlPoolVulnerabilityAssessmentRuleBaselineArgs defaults) {
$ = new GetSqlPoolVulnerabilityAssessmentRuleBaselineArgs(Objects.requireNonNull(defaults));
}
/**
* @param baselineName The name of the vulnerability assessment rule baseline (default implies a baseline on a Sql pool level rule and master for server level rule).
*
* @return builder
*
*/
public Builder baselineName(Output baselineName) {
$.baselineName = baselineName;
return this;
}
/**
* @param baselineName The name of the vulnerability assessment rule baseline (default implies a baseline on a Sql pool level rule and master for server level rule).
*
* @return builder
*
*/
public Builder baselineName(String baselineName) {
return baselineName(Output.of(baselineName));
}
/**
* @param resourceGroupName The name of the resource group. The name is case insensitive.
*
* @return builder
*
*/
public Builder resourceGroupName(Output resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param resourceGroupName The name of the resource group. The name is case insensitive.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
return resourceGroupName(Output.of(resourceGroupName));
}
/**
* @param ruleId The vulnerability assessment rule ID.
*
* @return builder
*
*/
public Builder ruleId(Output ruleId) {
$.ruleId = ruleId;
return this;
}
/**
* @param ruleId The vulnerability assessment rule ID.
*
* @return builder
*
*/
public Builder ruleId(String ruleId) {
return ruleId(Output.of(ruleId));
}
/**
* @param sqlPoolName SQL pool name
*
* @return builder
*
*/
public Builder sqlPoolName(Output sqlPoolName) {
$.sqlPoolName = sqlPoolName;
return this;
}
/**
* @param sqlPoolName SQL pool name
*
* @return builder
*
*/
public Builder sqlPoolName(String sqlPoolName) {
return sqlPoolName(Output.of(sqlPoolName));
}
/**
* @param vulnerabilityAssessmentName The name of the vulnerability assessment.
*
* @return builder
*
*/
public Builder vulnerabilityAssessmentName(Output vulnerabilityAssessmentName) {
$.vulnerabilityAssessmentName = vulnerabilityAssessmentName;
return this;
}
/**
* @param vulnerabilityAssessmentName The name of the vulnerability assessment.
*
* @return builder
*
*/
public Builder vulnerabilityAssessmentName(String vulnerabilityAssessmentName) {
return vulnerabilityAssessmentName(Output.of(vulnerabilityAssessmentName));
}
/**
* @param workspaceName The name of the workspace.
*
* @return builder
*
*/
public Builder workspaceName(Output workspaceName) {
$.workspaceName = workspaceName;
return this;
}
/**
* @param workspaceName The name of the workspace.
*
* @return builder
*
*/
public Builder workspaceName(String workspaceName) {
return workspaceName(Output.of(workspaceName));
}
public GetSqlPoolVulnerabilityAssessmentRuleBaselineArgs build() {
if ($.baselineName == null) {
throw new MissingRequiredPropertyException("GetSqlPoolVulnerabilityAssessmentRuleBaselineArgs", "baselineName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetSqlPoolVulnerabilityAssessmentRuleBaselineArgs", "resourceGroupName");
}
if ($.ruleId == null) {
throw new MissingRequiredPropertyException("GetSqlPoolVulnerabilityAssessmentRuleBaselineArgs", "ruleId");
}
if ($.sqlPoolName == null) {
throw new MissingRequiredPropertyException("GetSqlPoolVulnerabilityAssessmentRuleBaselineArgs", "sqlPoolName");
}
if ($.vulnerabilityAssessmentName == null) {
throw new MissingRequiredPropertyException("GetSqlPoolVulnerabilityAssessmentRuleBaselineArgs", "vulnerabilityAssessmentName");
}
if ($.workspaceName == null) {
throw new MissingRequiredPropertyException("GetSqlPoolVulnerabilityAssessmentRuleBaselineArgs", "workspaceName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy