
com.pulumi.azurenative.security.inputs.UserDefinedResourcesPropertiesArgs Maven / Gradle / Ivy
// *** 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.security.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
/**
* Properties of the IoT Security solution's user defined resources.
*
*/
public final class UserDefinedResourcesPropertiesArgs extends com.pulumi.resources.ResourceArgs {
public static final UserDefinedResourcesPropertiesArgs Empty = new UserDefinedResourcesPropertiesArgs();
/**
* Azure Resource Graph query which represents the security solution's user defined resources. Required to start with "where type != "Microsoft.Devices/IotHubs""
*
*/
@Import(name="query", required=true)
private Output query;
/**
* @return Azure Resource Graph query which represents the security solution's user defined resources. Required to start with "where type != "Microsoft.Devices/IotHubs""
*
*/
public Output query() {
return this.query;
}
/**
* List of Azure subscription ids on which the user defined resources query should be executed.
*
*/
@Import(name="querySubscriptions", required=true)
private Output> querySubscriptions;
/**
* @return List of Azure subscription ids on which the user defined resources query should be executed.
*
*/
public Output> querySubscriptions() {
return this.querySubscriptions;
}
private UserDefinedResourcesPropertiesArgs() {}
private UserDefinedResourcesPropertiesArgs(UserDefinedResourcesPropertiesArgs $) {
this.query = $.query;
this.querySubscriptions = $.querySubscriptions;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(UserDefinedResourcesPropertiesArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private UserDefinedResourcesPropertiesArgs $;
public Builder() {
$ = new UserDefinedResourcesPropertiesArgs();
}
public Builder(UserDefinedResourcesPropertiesArgs defaults) {
$ = new UserDefinedResourcesPropertiesArgs(Objects.requireNonNull(defaults));
}
/**
* @param query Azure Resource Graph query which represents the security solution's user defined resources. Required to start with "where type != "Microsoft.Devices/IotHubs""
*
* @return builder
*
*/
public Builder query(Output query) {
$.query = query;
return this;
}
/**
* @param query Azure Resource Graph query which represents the security solution's user defined resources. Required to start with "where type != "Microsoft.Devices/IotHubs""
*
* @return builder
*
*/
public Builder query(String query) {
return query(Output.of(query));
}
/**
* @param querySubscriptions List of Azure subscription ids on which the user defined resources query should be executed.
*
* @return builder
*
*/
public Builder querySubscriptions(Output> querySubscriptions) {
$.querySubscriptions = querySubscriptions;
return this;
}
/**
* @param querySubscriptions List of Azure subscription ids on which the user defined resources query should be executed.
*
* @return builder
*
*/
public Builder querySubscriptions(List querySubscriptions) {
return querySubscriptions(Output.of(querySubscriptions));
}
/**
* @param querySubscriptions List of Azure subscription ids on which the user defined resources query should be executed.
*
* @return builder
*
*/
public Builder querySubscriptions(String... querySubscriptions) {
return querySubscriptions(List.of(querySubscriptions));
}
public UserDefinedResourcesPropertiesArgs build() {
if ($.query == null) {
throw new MissingRequiredPropertyException("UserDefinedResourcesPropertiesArgs", "query");
}
if ($.querySubscriptions == null) {
throw new MissingRequiredPropertyException("UserDefinedResourcesPropertiesArgs", "querySubscriptions");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy