com.pulumi.azure.securitycenter.AutoProvisioningArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.securitycenter;
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 AutoProvisioningArgs extends com.pulumi.resources.ResourceArgs {
public static final AutoProvisioningArgs Empty = new AutoProvisioningArgs();
/**
* Should the security agent be automatically provisioned on Virtual Machines in this subscription? Possible values are `On` (to install the security agent automatically, if it's missing) or `Off` (to not install the security agent automatically).
*
*/
@Import(name="autoProvision", required=true)
private Output autoProvision;
/**
* @return Should the security agent be automatically provisioned on Virtual Machines in this subscription? Possible values are `On` (to install the security agent automatically, if it's missing) or `Off` (to not install the security agent automatically).
*
*/
public Output autoProvision() {
return this.autoProvision;
}
private AutoProvisioningArgs() {}
private AutoProvisioningArgs(AutoProvisioningArgs $) {
this.autoProvision = $.autoProvision;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AutoProvisioningArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private AutoProvisioningArgs $;
public Builder() {
$ = new AutoProvisioningArgs();
}
public Builder(AutoProvisioningArgs defaults) {
$ = new AutoProvisioningArgs(Objects.requireNonNull(defaults));
}
/**
* @param autoProvision Should the security agent be automatically provisioned on Virtual Machines in this subscription? Possible values are `On` (to install the security agent automatically, if it's missing) or `Off` (to not install the security agent automatically).
*
* @return builder
*
*/
public Builder autoProvision(Output autoProvision) {
$.autoProvision = autoProvision;
return this;
}
/**
* @param autoProvision Should the security agent be automatically provisioned on Virtual Machines in this subscription? Possible values are `On` (to install the security agent automatically, if it's missing) or `Off` (to not install the security agent automatically).
*
* @return builder
*
*/
public Builder autoProvision(String autoProvision) {
return autoProvision(Output.of(autoProvision));
}
public AutoProvisioningArgs build() {
if ($.autoProvision == null) {
throw new MissingRequiredPropertyException("AutoProvisioningArgs", "autoProvision");
}
return $;
}
}
}