From b5fa5a286de8d82d262524caccc1ba968d82568d Mon Sep 17 00:00:00 2001 From: Guinevere Saenger Date: Tue, 12 Dec 2023 10:51:09 -0800 Subject: [PATCH] Update Java (#229) Add Java Version file at latest and use it to generate Java SDK --- .pulumi-java-gen.version | 1 + .upgrade-config.yml | 1 - Makefile | 5 +- sdk/java/build.gradle | 18 +- .../com/pulumi/splunk/AdminSamlGroups.java | 4 +- .../java/com/pulumi/splunk/AppsLocal.java | 26 +- .../pulumi/splunk/AuthenticationUsers.java | 18 +- .../com/pulumi/splunk/AuthorizationRoles.java | 26 +- .../java/com/pulumi/splunk/ConfigsConf.java | 6 +- .../java/com/pulumi/splunk/DataUiViews.java | 6 +- .../java/com/pulumi/splunk/GenericAcl.java | 4 +- .../splunk/GlobalHttpEventCollector.java | 14 +- .../main/java/com/pulumi/splunk/Indexes.java | 78 ++-- .../splunk/InputsHttpEventCollector.java | 20 +- .../java/com/pulumi/splunk/InputsMonitor.java | 32 +- .../java/com/pulumi/splunk/InputsScript.java | 20 +- .../com/pulumi/splunk/InputsTcpCooked.java | 12 +- .../java/com/pulumi/splunk/InputsTcpRaw.java | 22 +- .../splunk/InputsTcpSplunkTcpToken.java | 6 +- .../java/com/pulumi/splunk/InputsTcpSsl.java | 10 +- .../java/com/pulumi/splunk/InputsUdp.java | 24 +- .../com/pulumi/splunk/OutputsTcpDefault.java | 18 +- .../com/pulumi/splunk/OutputsTcpGroup.java | 22 +- .../com/pulumi/splunk/OutputsTcpServer.java | 22 +- .../com/pulumi/splunk/OutputsTcpSyslog.java | 16 +- .../main/java/com/pulumi/splunk/Provider.java | 8 +- .../java/com/pulumi/splunk/SavedSearches.java | 334 +++++++++--------- .../com/pulumi/splunk/ShIndexesManager.java | 10 +- .../java/com/pulumi/splunk/Utilities.java | 1 - .../pulumi/splunk/outputs/AppsLocalAcl.java | 26 +- .../pulumi/splunk/outputs/ConfigsConfAcl.java | 26 +- .../pulumi/splunk/outputs/DataUiViewsAcl.java | 26 +- .../pulumi/splunk/outputs/GenericAclAcl.java | 26 +- .../com/pulumi/splunk/outputs/IndexesAcl.java | 26 +- .../outputs/InputsHttpEventCollectorAcl.java | 26 +- .../splunk/outputs/InputsMonitorAcl.java | 26 +- .../splunk/outputs/InputsScriptAcl.java | 26 +- .../splunk/outputs/InputsTcpCookedAcl.java | 26 +- .../splunk/outputs/InputsTcpRawAcl.java | 26 +- .../outputs/InputsTcpSplunkTcpTokenAcl.java | 26 +- .../pulumi/splunk/outputs/InputsUdpAcl.java | 26 +- .../splunk/outputs/OutputsTcpDefaultAcl.java | 26 +- .../splunk/outputs/OutputsTcpGroupAcl.java | 26 +- .../splunk/outputs/OutputsTcpServerAcl.java | 26 +- .../splunk/outputs/OutputsTcpSyslogAcl.java | 26 +- .../splunk/outputs/SavedSearchesAcl.java | 26 +- .../splunk/outputs/ShIndexesManagerAcl.java | 26 +- 47 files changed, 628 insertions(+), 624 deletions(-) create mode 100644 .pulumi-java-gen.version diff --git a/.pulumi-java-gen.version b/.pulumi-java-gen.version new file mode 100644 index 00000000..b5d0ec55 --- /dev/null +++ b/.pulumi-java-gen.version @@ -0,0 +1 @@ +0.9.8 \ No newline at end of file diff --git a/.upgrade-config.yml b/.upgrade-config.yml index 7ed55948..6642d87a 100644 --- a/.upgrade-config.yml +++ b/.upgrade-config.yml @@ -5,4 +5,3 @@ upstream-provider-name: terraform-provider-splunk pulumi-infer-version: true remove-plugins: true pr-reviewers: iwahbe # Team: pulumi/Providers -javaVersion: "v0.5.4" diff --git a/Makefile b/Makefile index 47af83b6..e1717b8e 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,6 @@ TFGEN := pulumi-tfgen-$(PACK) PROVIDER := pulumi-resource-$(PACK) VERSION := $(shell pulumictl get version) JAVA_GEN := pulumi-java-gen -JAVA_GEN_VERSION := v0.5.4 TESTPARALLELISM := 10 WORKING_DIR := $(shell pwd) PULUMI_CONVERT := 0 @@ -132,8 +131,8 @@ upstream.finalize: upstream.rebase: scripts/upstream.sh "$@" start_rebase -bin/pulumi-java-gen: - pulumictl download-binary -n pulumi-language-java -v $(JAVA_GEN_VERSION) -r pulumi/pulumi-java +bin/pulumi-java-gen: .pulumi-java-gen.version + pulumictl download-binary -n pulumi-language-java -v v$(shell cat .pulumi-java-gen.version) -r pulumi/pulumi-java # To make an immediately observable change to .ci-mgmt.yaml: # diff --git a/sdk/java/build.gradle b/sdk/java/build.gradle index 36ebf5c6..b1231fe9 100644 --- a/sdk/java/build.gradle +++ b/sdk/java/build.gradle @@ -29,7 +29,8 @@ java { compileJava { options.fork = true - options.forkOptions.jvmArgs.addAll(["-Xmx4g"]) + options.forkOptions.jvmArgs.addAll(["-Xmx16g"]) + options.encoding = "UTF-8" } repositories { @@ -43,17 +44,18 @@ repositories { dependencies { implementation("com.google.code.findbugs:jsr305:3.0.2") implementation("com.google.code.gson:gson:2.8.9") - implementation("com.pulumi:pulumi:0.5.4") + implementation("com.pulumi:pulumi:0.9.8") } task sourcesJar(type: Jar) { from sourceSets.main.allJava - classifier = 'sources' + archiveClassifier.set('sources') } task javadocJar(type: Jar) { from javadoc - classifier = 'javadoc' + archiveClassifier.set('javadoc') + zip64 = true } def genPulumiResources = tasks.register('genPulumiResources') { @@ -123,7 +125,11 @@ javadoc { if (JavaVersion.current().isJava9Compatible()) { options.addBooleanOption('html5', true) } - options.jFlags("-Xmx2g", "-Xms512m") + options.jFlags("-Xmx8g", "-Xms512m") +} + +jar { + zip64 = true } if (publishRepoUsername) { @@ -144,4 +150,4 @@ if (signingKey) { useInMemoryPgpKeys(signingKey, signingPassword) sign publishing.publications.mainPublication } -} +} \ No newline at end of file diff --git a/sdk/java/src/main/java/com/pulumi/splunk/AdminSamlGroups.java b/sdk/java/src/main/java/com/pulumi/splunk/AdminSamlGroups.java index 25d2a58a..9af7e812 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/AdminSamlGroups.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/AdminSamlGroups.java @@ -66,7 +66,7 @@ public class AdminSamlGroups extends com.pulumi.resources.CustomResource { * The name of the external group. * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** @@ -80,7 +80,7 @@ public Output name() { * List of internal roles assigned to the group. * */ - @Export(name="roles", type=List.class, parameters={String.class}) + @Export(name="roles", refs={List.class,String.class}, tree="[0,1]") private Output> roles; /** diff --git a/sdk/java/src/main/java/com/pulumi/splunk/AppsLocal.java b/sdk/java/src/main/java/com/pulumi/splunk/AppsLocal.java index e4d93e4a..7e30d0b0 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/AppsLocal.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/AppsLocal.java @@ -59,7 +59,7 @@ public class AppsLocal extends com.pulumi.resources.CustomResource { * The app/user context that is the namespace for the resource * */ - @Export(name="acl", type=AppsLocalAcl.class, parameters={}) + @Export(name="acl", refs={AppsLocalAcl.class}, tree="[0]") private Output acl; /** @@ -73,7 +73,7 @@ public Output acl() { * Splunkbase session token for operations like install and update that require login. Use auth or session when installing or updating an app through Splunkbase. * */ - @Export(name="auth", type=String.class, parameters={}) + @Export(name="auth", refs={String.class}, tree="[0]") private Output auth; /** @@ -87,7 +87,7 @@ public Output> auth() { * For apps posted to Splunkbase, use your Splunk account username. For internal apps, include your name and contact information. * */ - @Export(name="author", type=String.class, parameters={}) + @Export(name="author", refs={String.class}, tree="[0]") private Output author; /** @@ -103,7 +103,7 @@ public Output author() { * <br>false = Custom app setup not complete. * */ - @Export(name="configured", type=Boolean.class, parameters={}) + @Export(name="configured", refs={Boolean.class}, tree="[0]") private Output configured; /** @@ -119,7 +119,7 @@ public Output configured() { * Short app description also displayed below the app title in Splunk Web Launcher. * */ - @Export(name="description", type=String.class, parameters={}) + @Export(name="description", refs={String.class}, tree="[0]") private Output description; /** @@ -133,7 +133,7 @@ public Output description() { * Custom app name. Overrides name when installing an app from a file where filename is set to true. See also filename. * */ - @Export(name="explicitAppname", type=String.class, parameters={}) + @Export(name="explicitAppname", refs={String.class}, tree="[0]") private Output explicitAppname; /** @@ -149,7 +149,7 @@ public Output> explicitAppname() { * <br>false indicates that name is the literal app name and that the app is created from Splunkbase using a template. * */ - @Export(name="filename", type=Boolean.class, parameters={}) + @Export(name="filename", refs={Boolean.class}, tree="[0]") private Output filename; /** @@ -165,7 +165,7 @@ public Output> filename() { * App name displayed in Splunk Web, from five to eighty characters excluding the prefix "Splunk for". * */ - @Export(name="label", type=String.class, parameters={}) + @Export(name="label", refs={String.class}, tree="[0]") private Output label; /** @@ -182,7 +182,7 @@ public Output label() { * The app folder name cannot include spaces or special characters. * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** @@ -199,7 +199,7 @@ public Output name() { * Login session token for installing or updating an app on Splunkbase. Alternatively, use auth. * */ - @Export(name="session", type=String.class, parameters={}) + @Export(name="session", refs={String.class}, tree="[0]") private Output session; /** @@ -215,7 +215,7 @@ public Output> session() { * <br>false, which indicates that filename should not be used to update an existing app. * */ - @Export(name="update", type=Boolean.class, parameters={}) + @Export(name="update", refs={Boolean.class}, tree="[0]") private Output update; /** @@ -231,7 +231,7 @@ public Output> update() { * App version. * */ - @Export(name="version", type=String.class, parameters={}) + @Export(name="version", refs={String.class}, tree="[0]") private Output version; /** @@ -247,7 +247,7 @@ public Output version() { * <br>false = App is not visible or navigable. * */ - @Export(name="visible", type=Boolean.class, parameters={}) + @Export(name="visible", refs={Boolean.class}, tree="[0]") private Output visible; /** diff --git a/sdk/java/src/main/java/com/pulumi/splunk/AuthenticationUsers.java b/sdk/java/src/main/java/com/pulumi/splunk/AuthenticationUsers.java index d177397e..741bf0f2 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/AuthenticationUsers.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/AuthenticationUsers.java @@ -61,7 +61,7 @@ public class AuthenticationUsers extends com.pulumi.resources.CustomResource { * User default app. Overrides the default app inherited from the user roles. * */ - @Export(name="defaultApp", type=String.class, parameters={}) + @Export(name="defaultApp", refs={String.class}, tree="[0]") private Output defaultApp; /** @@ -75,7 +75,7 @@ public Output defaultApp() { * User email address. * */ - @Export(name="email", type=String.class, parameters={}) + @Export(name="email", refs={String.class}, tree="[0]") private Output email; /** @@ -89,7 +89,7 @@ public Output email() { * Force user to change password indication * */ - @Export(name="forceChangePass", type=Boolean.class, parameters={}) + @Export(name="forceChangePass", refs={Boolean.class}, tree="[0]") private Output forceChangePass; /** @@ -103,7 +103,7 @@ public Output> forceChangePass() { * Unique user login name. * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** @@ -117,7 +117,7 @@ public Output name() { * User login password. * */ - @Export(name="password", type=String.class, parameters={}) + @Export(name="password", refs={String.class}, tree="[0]") private Output password; /** @@ -131,7 +131,7 @@ public Output> password() { * Full user name. * */ - @Export(name="realname", type=String.class, parameters={}) + @Export(name="realname", refs={String.class}, tree="[0]") private Output realname; /** @@ -145,7 +145,7 @@ public Output realname() { * Restart background search job that has not completed when Splunk restarts indication. * */ - @Export(name="restartBackgroundJobs", type=Boolean.class, parameters={}) + @Export(name="restartBackgroundJobs", refs={Boolean.class}, tree="[0]") private Output restartBackgroundJobs; /** @@ -159,7 +159,7 @@ public Output restartBackgroundJobs() { * Role to assign to this user. At least one existing role is required. * */ - @Export(name="roles", type=List.class, parameters={String.class}) + @Export(name="roles", refs={List.class,String.class}, tree="[0,1]") private Output> roles; /** @@ -173,7 +173,7 @@ public Output> roles() { * User timezone. * */ - @Export(name="tz", type=String.class, parameters={}) + @Export(name="tz", refs={String.class}, tree="[0]") private Output tz; /** diff --git a/sdk/java/src/main/java/com/pulumi/splunk/AuthorizationRoles.java b/sdk/java/src/main/java/com/pulumi/splunk/AuthorizationRoles.java index 41cdb81e..89e46ccd 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/AuthorizationRoles.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/AuthorizationRoles.java @@ -73,7 +73,7 @@ public class AuthorizationRoles extends com.pulumi.resources.CustomResource { * List of capabilities assigned to role. * */ - @Export(name="capabilities", type=List.class, parameters={String.class}) + @Export(name="capabilities", refs={List.class,String.class}, tree="[0,1]") private Output> capabilities; /** @@ -87,7 +87,7 @@ public Output> capabilities() { * Maximum number of concurrently running real-time searches that all members of this role can have. * */ - @Export(name="cumulativeRealtimeSearchJobsQuota", type=Integer.class, parameters={}) + @Export(name="cumulativeRealtimeSearchJobsQuota", refs={Integer.class}, tree="[0]") private Output cumulativeRealtimeSearchJobsQuota; /** @@ -101,7 +101,7 @@ public Output> cumulativeRealtimeSearchJobsQuota() { * Maximum number of concurrently running searches for all role members. Warning message logged when limit is reached. * */ - @Export(name="cumulativeSearchJobsQuota", type=Integer.class, parameters={}) + @Export(name="cumulativeSearchJobsQuota", refs={Integer.class}, tree="[0]") private Output cumulativeSearchJobsQuota; /** @@ -115,7 +115,7 @@ public Output> cumulativeSearchJobsQuota() { * Specify the folder name of the default app to use for this role. A user-specific default app overrides this. * */ - @Export(name="defaultApp", type=String.class, parameters={}) + @Export(name="defaultApp", refs={String.class}, tree="[0]") private Output defaultApp; /** @@ -129,7 +129,7 @@ public Output defaultApp() { * List of imported roles for this role. <br>Importing other roles imports all aspects of that role, such as capabilities and allowed indexes to search. In combining multiple roles, the effective value for each attribute is value with the broadest permissions. * */ - @Export(name="importedRoles", type=List.class, parameters={String.class}) + @Export(name="importedRoles", refs={List.class,String.class}, tree="[0,1]") private Output> importedRoles; /** @@ -143,7 +143,7 @@ public Output> importedRoles() { * The name of the user role to create. * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** @@ -157,7 +157,7 @@ public Output name() { * Specify the maximum number of concurrent real-time search jobs for this role. This count is independent from the normal search jobs limit. * */ - @Export(name="realtimeSearchJobsQuota", type=Integer.class, parameters={}) + @Export(name="realtimeSearchJobsQuota", refs={Integer.class}, tree="[0]") private Output realtimeSearchJobsQuota; /** @@ -171,7 +171,7 @@ public Output> realtimeSearchJobsQuota() { * Specifies the maximum disk space in MB that can be used by a user's search jobs. For example, a value of 100 limits this role to 100 MB total. * */ - @Export(name="searchDiskQuota", type=Integer.class, parameters={}) + @Export(name="searchDiskQuota", refs={Integer.class}, tree="[0]") private Output searchDiskQuota; /** @@ -185,7 +185,7 @@ public Output> searchDiskQuota() { * Specify a search string that restricts the scope of searches run by this role. Search results for this role only show events that also match the search string you specify. In the case that a user has multiple roles with different search filters, they are combined with an OR. * */ - @Export(name="searchFilter", type=String.class, parameters={}) + @Export(name="searchFilter", refs={String.class}, tree="[0]") private Output searchFilter; /** @@ -199,7 +199,7 @@ public Output searchFilter() { * List of indexes that this role has permissions to search. These may be wildcarded, but the index name must begin with an underscore to match internal indexes. * */ - @Export(name="searchIndexesAlloweds", type=List.class, parameters={String.class}) + @Export(name="searchIndexesAlloweds", refs={List.class,String.class}, tree="[0,1]") private Output> searchIndexesAlloweds; /** @@ -213,7 +213,7 @@ public Output> searchIndexesAlloweds() { * List of indexes to search when no index is specified. These indexes can be wildcarded, with the exception that '*' does not match internal indexes. To match internal indexes, start with '_'. All internal indexes are represented by '_*'. A user with this role can search other indexes using "index= " * */ - @Export(name="searchIndexesDefaults", type=List.class, parameters={String.class}) + @Export(name="searchIndexesDefaults", refs={List.class,String.class}, tree="[0,1]") private Output> searchIndexesDefaults; /** @@ -227,7 +227,7 @@ public Output> searchIndexesDefaults() { * The maximum number of concurrent searches a user with this role is allowed to run. For users with multiple roles, the maximum quota value among all of the roles applies. * */ - @Export(name="searchJobsQuota", type=Integer.class, parameters={}) + @Export(name="searchJobsQuota", refs={Integer.class}, tree="[0]") private Output searchJobsQuota; /** @@ -241,7 +241,7 @@ public Output> searchJobsQuota() { * Maximum time span of a search, in seconds. By default, searches are not limited to any specific time window. To override any search time windows from imported roles, set srchTimeWin to '0', as the 'admin' role does. * */ - @Export(name="searchTimeWin", type=Integer.class, parameters={}) + @Export(name="searchTimeWin", refs={Integer.class}, tree="[0]") private Output searchTimeWin; /** diff --git a/sdk/java/src/main/java/com/pulumi/splunk/ConfigsConf.java b/sdk/java/src/main/java/com/pulumi/splunk/ConfigsConf.java index 192a3995..1d056fff 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/ConfigsConf.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/ConfigsConf.java @@ -56,7 +56,7 @@ */ @ResourceType(type="splunk:index/configsConf:ConfigsConf") public class ConfigsConf extends com.pulumi.resources.CustomResource { - @Export(name="acl", type=ConfigsConfAcl.class, parameters={}) + @Export(name="acl", refs={ConfigsConfAcl.class}, tree="[0]") private Output acl; public Output acl() { @@ -66,7 +66,7 @@ public Output acl() { * A '/' separated string consisting of {conf_file_name}/{stanza_name} ex. props/custom_stanza * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** @@ -80,7 +80,7 @@ public Output name() { * A map of key value pairs for a stanza. * */ - @Export(name="variables", type=Map.class, parameters={String.class, String.class}) + @Export(name="variables", refs={Map.class,String.class}, tree="[0,1,1]") private Output> variables; /** diff --git a/sdk/java/src/main/java/com/pulumi/splunk/DataUiViews.java b/sdk/java/src/main/java/com/pulumi/splunk/DataUiViews.java index c37f5f67..88bf5b27 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/DataUiViews.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/DataUiViews.java @@ -56,7 +56,7 @@ */ @ResourceType(type="splunk:index/dataUiViews:DataUiViews") public class DataUiViews extends com.pulumi.resources.CustomResource { - @Export(name="acl", type=DataUiViewsAcl.class, parameters={}) + @Export(name="acl", refs={DataUiViewsAcl.class}, tree="[0]") private Output acl; public Output acl() { @@ -66,7 +66,7 @@ public Output acl() { * Dashboard XML definition. * */ - @Export(name="eaiData", type=String.class, parameters={}) + @Export(name="eaiData", refs={String.class}, tree="[0]") private Output eaiData; /** @@ -81,7 +81,7 @@ public Output eaiData() { * * `eai:data` - (Required) Dashboard XML definition. * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** diff --git a/sdk/java/src/main/java/com/pulumi/splunk/GenericAcl.java b/sdk/java/src/main/java/com/pulumi/splunk/GenericAcl.java index da2b5231..2541416a 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/GenericAcl.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/GenericAcl.java @@ -82,7 +82,7 @@ public class GenericAcl extends com.pulumi.resources.CustomResource { * app and owner for objects that don't fit in the normal namespace. * */ - @Export(name="acl", type=GenericAclAcl.class, parameters={}) + @Export(name="acl", refs={GenericAclAcl.class}, tree="[0]") private Output acl; /** @@ -99,7 +99,7 @@ public Output acl() { * REST API Endpoint path to the object, relative to servicesNS/<owner>/<app> * */ - @Export(name="path", type=String.class, parameters={}) + @Export(name="path", refs={String.class}, tree="[0]") private Output path; /** diff --git a/sdk/java/src/main/java/com/pulumi/splunk/GlobalHttpEventCollector.java b/sdk/java/src/main/java/com/pulumi/splunk/GlobalHttpEventCollector.java index afbe6290..1ad1f34f 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/GlobalHttpEventCollector.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/GlobalHttpEventCollector.java @@ -58,7 +58,7 @@ public class GlobalHttpEventCollector extends com.pulumi.resources.CustomResourc * Number of threads used by HTTP Input server. * */ - @Export(name="dedicatedIoThreads", type=Integer.class, parameters={}) + @Export(name="dedicatedIoThreads", refs={Integer.class}, tree="[0]") private Output dedicatedIoThreads; /** @@ -72,7 +72,7 @@ public Output dedicatedIoThreads() { * Input disabled indicator. * */ - @Export(name="disabled", type=Boolean.class, parameters={}) + @Export(name="disabled", refs={Boolean.class}, tree="[0]") private Output disabled; /** @@ -86,7 +86,7 @@ public Output disabled() { * Enable SSL protocol for HTTP data input. `true` = SSL enabled, `false` = SSL disabled. * */ - @Export(name="enableSsl", type=Boolean.class, parameters={}) + @Export(name="enableSsl", refs={Boolean.class}, tree="[0]") private Output enableSsl; /** @@ -100,7 +100,7 @@ public Output enableSsl() { * Maximum number of simultaneous HTTP connections accepted. Adjusting this value may cause server performance issues and is not generally recommended. Possible values for this setting vary by OS. * */ - @Export(name="maxSockets", type=Integer.class, parameters={}) + @Export(name="maxSockets", refs={Integer.class}, tree="[0]") private Output maxSockets; /** @@ -114,7 +114,7 @@ public Output maxSockets() { * Maximum number of threads that can be used by active HTTP transactions. Adjusting this value may cause server performance issues and is not generally recommended. Possible values for this setting vary by OS. * */ - @Export(name="maxThreads", type=Integer.class, parameters={}) + @Export(name="maxThreads", refs={Integer.class}, tree="[0]") private Output maxThreads; /** @@ -128,7 +128,7 @@ public Output maxThreads() { * HTTP data input IP port. * */ - @Export(name="port", type=Integer.class, parameters={}) + @Export(name="port", refs={Integer.class}, tree="[0]") private Output port; /** @@ -143,7 +143,7 @@ public Output port() { * Copy the full contents of the splunk_httpinput app directory to this directory for the configuration to work. When enabled, only the tokens defined in the splunk_httpinput app in this repository are viewable and editable on the API and the Data Inputs page in Splunk Web. When disabled, the input writes its configuration to $SPLUNK_HOME/etc/apps by default. Defaults to 0 (disabled). * */ - @Export(name="useDeploymentServer", type=Integer.class, parameters={}) + @Export(name="useDeploymentServer", refs={Integer.class}, tree="[0]") private Output useDeploymentServer; /** diff --git a/sdk/java/src/main/java/com/pulumi/splunk/Indexes.java b/sdk/java/src/main/java/com/pulumi/splunk/Indexes.java index 8cae515c..b4103950 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/Indexes.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/Indexes.java @@ -64,7 +64,7 @@ public class Indexes extends com.pulumi.resources.CustomResource { * The app/user context that is the namespace for the resource * */ - @Export(name="acl", type=IndexesAcl.class, parameters={}) + @Export(name="acl", refs={IndexesAcl.class}, tree="[0]") private Output acl; /** @@ -78,7 +78,7 @@ public Output acl() { * Controls how many events make up a block for block signatures. If this is set to 0, block signing is disabled for this index. <br>A recommended value is 100. * */ - @Export(name="blockSignSize", type=Integer.class, parameters={}) + @Export(name="blockSignSize", refs={Integer.class}, tree="[0]") private Output blockSignSize; /** @@ -98,7 +98,7 @@ public Output blockSignSize() { * Values other than "auto" must be 16MB-1GB. Highest legal value (of the numerical part) is 4294967295 You can specify the value using a size suffix: "16777216" or "16MB" are equivalent. * */ - @Export(name="bucketRebuildMemoryHint", type=String.class, parameters={}) + @Export(name="bucketRebuildMemoryHint", refs={String.class}, tree="[0]") private Output bucketRebuildMemoryHint; /** @@ -118,7 +118,7 @@ public Output bucketRebuildMemoryHint() { * An absolute path that contains the colddbs for the index. The path must be readable and writable. Cold databases are opened as needed when searching. * */ - @Export(name="coldPath", type=String.class, parameters={}) + @Export(name="coldPath", refs={String.class}, tree="[0]") private Output coldPath; /** @@ -139,7 +139,7 @@ public Output coldPath() { * If both coldToFrozenDir and coldToFrozenScript are specified, coldToFrozenDir takes precedence * */ - @Export(name="coldToFrozenDir", type=String.class, parameters={}) + @Export(name="coldToFrozenDir", refs={String.class}, tree="[0]") private Output coldToFrozenDir; /** @@ -163,7 +163,7 @@ public Output coldToFrozenDir() { * <br>It is best to copy the example script to a new file in bin and modify it for your system. Most importantly, change the default archive path to an existing directory that fits your needs. * */ - @Export(name="coldToFrozenScript", type=String.class, parameters={}) + @Export(name="coldToFrozenScript", refs={String.class}, tree="[0]") private Output coldToFrozenScript; /** @@ -180,7 +180,7 @@ public Output coldToFrozenScript() { * This parameter is ignored. The splunkd process always compresses raw data. * */ - @Export(name="compressRawdata", type=Boolean.class, parameters={}) + @Export(name="compressRawdata", refs={Boolean.class}, tree="[0]") private Output compressRawdata; /** @@ -194,7 +194,7 @@ public Output compressRawdata() { * Valid values: (event | metric). Specifies the type of index. * */ - @Export(name="datatype", type=String.class, parameters={}) + @Export(name="datatype", refs={String.class}, tree="[0]") private Output datatype; /** @@ -209,7 +209,7 @@ public Output datatype() { * When enabled, you do not have to wait until buckets are repaired to start the Splunk platform. However, you might observe a slight performance degratation. * */ - @Export(name="enableOnlineBucketRepair", type=Boolean.class, parameters={}) + @Export(name="enableOnlineBucketRepair", refs={Boolean.class}, tree="[0]") private Output enableOnlineBucketRepair; /** @@ -225,7 +225,7 @@ public Output enableOnlineBucketRepair() { * Defaults to 188697600 (6 years).Freezing data means it is removed from the index. If you need to archive your data, refer to coldToFrozenDir and coldToFrozenScript parameter documentation. * */ - @Export(name="frozenTimePeriodInSecs", type=Integer.class, parameters={}) + @Export(name="frozenTimePeriodInSecs", refs={Integer.class}, tree="[0]") private Output frozenTimePeriodInSecs; /** @@ -242,7 +242,7 @@ public Output frozenTimePeriodInSecs() { * <br>Caution: The path must be readable and writable. * */ - @Export(name="homePath", type=String.class, parameters={}) + @Export(name="homePath", refs={String.class}, tree="[0]") private Output homePath; /** @@ -259,7 +259,7 @@ public Output homePath() { * <br>If a warm or cold bucket is older than the specified age, do not create or rebuild its bloomfilter. Specify 0 to never rebuild bloomfilters. * */ - @Export(name="maxBloomBackfillBucketAge", type=String.class, parameters={}) + @Export(name="maxBloomBackfillBucketAge", refs={String.class}, tree="[0]") private Output maxBloomBackfillBucketAge; /** @@ -275,7 +275,7 @@ public Output maxBloomBackfillBucketAge() { * This number should be increased if instructed by Splunk Support. Typically the default value should suffice. * */ - @Export(name="maxConcurrentOptimizes", type=Integer.class, parameters={}) + @Export(name="maxConcurrentOptimizes", refs={Integer.class}, tree="[0]") private Output maxConcurrentOptimizes; /** @@ -291,7 +291,7 @@ public Output maxConcurrentOptimizes() { * Use "auto_high_volume" for high volume indexes (such as the main index); otherwise, use "auto". A "high volume index" would typically be considered one that gets over 10GB of data per day. * */ - @Export(name="maxDataSize", type=String.class, parameters={}) + @Export(name="maxDataSize", refs={String.class}, tree="[0]") private Output maxDataSize; /** @@ -307,7 +307,7 @@ public Output maxDataSize() { * <br>When maxHotBuckets is exceeded, Splunk software rolls the least recently used (LRU) hot bucket to warm. Both normal hot buckets and quarantined hot buckets count towards this total. This setting operates independently of maxHotIdleSecs, which can also cause hot buckets to roll. * */ - @Export(name="maxHotBuckets", type=Integer.class, parameters={}) + @Export(name="maxHotBuckets", refs={Integer.class}, tree="[0]") private Output maxHotBuckets; /** @@ -322,7 +322,7 @@ public Output maxHotBuckets() { * Maximum life, in seconds, of a hot bucket. Defaults to 0. If a hot bucket exceeds maxHotIdleSecs, Splunk software rolls it to warm. This setting operates independently of maxHotBuckets, which can also cause hot buckets to roll. A value of 0 turns off the idle check (equivalent to INFINITE idle time). * */ - @Export(name="maxHotIdleSecs", type=Integer.class, parameters={}) + @Export(name="maxHotIdleSecs", refs={Integer.class}, tree="[0]") private Output maxHotIdleSecs; /** @@ -336,7 +336,7 @@ public Output maxHotIdleSecs() { * Upper bound of target maximum timespan of hot/warm buckets in seconds. Defaults to 7776000 seconds (90 days). * */ - @Export(name="maxHotSpanSecs", type=Integer.class, parameters={}) + @Export(name="maxHotSpanSecs", refs={Integer.class}, tree="[0]") private Output maxHotSpanSecs; /** @@ -350,7 +350,7 @@ public Output maxHotSpanSecs() { * The amount of memory, expressed in MB, to allocate for buffering a single tsidx file into memory before flushing to disk. Defaults to 5. The default is recommended for all environments. * */ - @Export(name="maxMemMb", type=Integer.class, parameters={}) + @Export(name="maxMemMb", refs={Integer.class}, tree="[0]") private Output maxMemMb; /** @@ -364,7 +364,7 @@ public Output maxMemMb() { * Upper limit, in seconds, on how long an event can sit in raw slice. Applies only if replication is enabled for this index. Otherwise ignored. If there are any acknowledged events sharing this raw slice, this paramater does not apply. In this case, maxTimeUnreplicatedWithAcks applies. Highest legal value is 2147483647. To disable this parameter, set to 0. * */ - @Export(name="maxMetaEntries", type=Integer.class, parameters={}) + @Export(name="maxMetaEntries", refs={Integer.class}, tree="[0]") private Output maxMetaEntries; /** @@ -380,7 +380,7 @@ public Output maxMetaEntries() { * Highest legal value is 2147483647. To disable this parameter, set to 0. * */ - @Export(name="maxTimeUnreplicatedNoAcks", type=Integer.class, parameters={}) + @Export(name="maxTimeUnreplicatedNoAcks", refs={Integer.class}, tree="[0]") private Output maxTimeUnreplicatedNoAcks; /** @@ -398,7 +398,7 @@ public Output maxTimeUnreplicatedNoAcks() { * To disable, set to 0, but this is NOT recommended. Highest legal value is 2147483647. * */ - @Export(name="maxTimeUnreplicatedWithAcks", type=Integer.class, parameters={}) + @Export(name="maxTimeUnreplicatedWithAcks", refs={Integer.class}, tree="[0]") private Output maxTimeUnreplicatedWithAcks; /** @@ -414,7 +414,7 @@ public Output maxTimeUnreplicatedWithAcks() { * The maximum size of an index (in MB). If an index grows larger than the maximum size, the oldest data is frozen. * */ - @Export(name="maxTotalDataSizeMb", type=Integer.class, parameters={}) + @Export(name="maxTotalDataSizeMb", refs={Integer.class}, tree="[0]") private Output maxTotalDataSizeMb; /** @@ -428,7 +428,7 @@ public Output maxTotalDataSizeMb() { * The maximum number of warm buckets. If this number is exceeded, the warm bucket/s with the lowest value for their latest times is moved to cold. * */ - @Export(name="maxWarmDbCount", type=Integer.class, parameters={}) + @Export(name="maxWarmDbCount", refs={Integer.class}, tree="[0]") private Output maxWarmDbCount; /** @@ -445,7 +445,7 @@ public Output maxWarmDbCount() { * If 0 is specified, splunkd forces a filesystem sync after every slice completes compressing. Specifying "disable" disables syncing entirely: uncompressed slices are removed as soon as compression is complete. * */ - @Export(name="minRawFileSyncSecs", type=String.class, parameters={}) + @Export(name="minRawFileSyncSecs", refs={String.class}, tree="[0]") private Output minRawFileSyncSecs; /** @@ -462,7 +462,7 @@ public Output minRawFileSyncSecs() { * Minimum size of the queue that stores events in memory before committing them to a tsidx file. * */ - @Export(name="minStreamGroupQueueSize", type=Integer.class, parameters={}) + @Export(name="minStreamGroupQueueSize", refs={Integer.class}, tree="[0]") private Output minStreamGroupQueueSize; /** @@ -476,7 +476,7 @@ public Output minStreamGroupQueueSize() { * The name of the index to create. * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** @@ -493,7 +493,7 @@ public Output name() { * By default it is turned off (zero). * */ - @Export(name="partialServiceMetaPeriod", type=Integer.class, parameters={}) + @Export(name="partialServiceMetaPeriod", refs={Integer.class}, tree="[0]") private Output partialServiceMetaPeriod; /** @@ -512,7 +512,7 @@ public Output partialServiceMetaPeriod() { * Highest legal value is 4294967295. * */ - @Export(name="processTrackerServiceInterval", type=Integer.class, parameters={}) + @Export(name="processTrackerServiceInterval", refs={Integer.class}, tree="[0]") private Output processTrackerServiceInterval; /** @@ -529,7 +529,7 @@ public Output processTrackerServiceInterval() { * This is a mechanism to prevent main hot buckets from being polluted with fringe events. * */ - @Export(name="quarantineFutureSecs", type=Integer.class, parameters={}) + @Export(name="quarantineFutureSecs", refs={Integer.class}, tree="[0]") private Output quarantineFutureSecs; /** @@ -544,7 +544,7 @@ public Output quarantineFutureSecs() { * Events with timestamp of quarantinePastSecs older than "now" are dropped into quarantine bucket. Defaults to 77760000 (900 days). This is a mechanism to prevent the main hot buckets from being polluted with fringe events. * */ - @Export(name="quarantinePastSecs", type=Integer.class, parameters={}) + @Export(name="quarantinePastSecs", refs={Integer.class}, tree="[0]") private Output quarantinePastSecs; /** @@ -558,7 +558,7 @@ public Output quarantinePastSecs() { * Target uncompressed size in bytes for individual raw slice in the rawdata journal of the index. Defaults to 131072 (128KB). 0 is not a valid value. If 0 is specified, rawChunkSizeBytes is set to the default value. * */ - @Export(name="rawChunkSizeBytes", type=Integer.class, parameters={}) + @Export(name="rawChunkSizeBytes", refs={Integer.class}, tree="[0]") private Output rawChunkSizeBytes; /** @@ -574,7 +574,7 @@ public Output rawChunkSizeBytes() { * 0 = Turn off replication for this index. * */ - @Export(name="repFactor", type=String.class, parameters={}) + @Export(name="repFactor", refs={String.class}, tree="[0]") private Output repFactor; /** @@ -590,7 +590,7 @@ public Output repFactor() { * How frequently (in seconds) to check if a new hot bucket needs to be created. Also, how frequently to check if there are any warm/cold buckets that should be rolled/frozen. * */ - @Export(name="rotatePeriodInSecs", type=Integer.class, parameters={}) + @Export(name="rotatePeriodInSecs", refs={Integer.class}, tree="[0]") private Output rotatePeriodInSecs; /** @@ -605,7 +605,7 @@ public Output rotatePeriodInSecs() { * You may want to set this to a higher value if the sum of your metadata file sizes is larger than many tens of megabytes, to avoid the hit on I/O in the indexing fast path. * */ - @Export(name="serviceMetaPeriod", type=Integer.class, parameters={}) + @Export(name="serviceMetaPeriod", refs={Integer.class}, tree="[0]") private Output serviceMetaPeriod; /** @@ -620,7 +620,7 @@ public Output serviceMetaPeriod() { * When true, a sync operation is called before file descriptor is closed on metadata file updates. This functionality improves integrity of metadata files, especially in regards to operating system crashes/machine failures. * */ - @Export(name="syncMeta", type=Boolean.class, parameters={}) + @Export(name="syncMeta", refs={Boolean.class}, tree="[0]") private Output syncMeta; /** @@ -636,7 +636,7 @@ public Output syncMeta() { * Required. Splunk software does not start if an index lacks a valid thawedPath. * */ - @Export(name="thawedPath", type=String.class, parameters={}) + @Export(name="thawedPath", refs={String.class}, tree="[0]") private Output thawedPath; /** @@ -652,7 +652,7 @@ public Output thawedPath() { * Defines how frequently Splunk software checks for index throttling condition, in seconds. Defaults to 15 (seconds). * */ - @Export(name="throttleCheckPeriod", type=Integer.class, parameters={}) + @Export(name="throttleCheckPeriod", refs={Integer.class}, tree="[0]") private Output throttleCheckPeriod; /** @@ -667,7 +667,7 @@ public Output throttleCheckPeriod() { * If specified, it must be defined in terms of a volume definition. * */ - @Export(name="tstatsHomePath", type=String.class, parameters={}) + @Export(name="tstatsHomePath", refs={String.class}, tree="[0]") private Output tstatsHomePath; /** @@ -683,7 +683,7 @@ public Output tstatsHomePath() { * This attribute is supported for backwards compatibility with Splunk software versions older than 4.0. Contact Splunk support if you need help configuring this setting. * */ - @Export(name="warmToColdScript", type=String.class, parameters={}) + @Export(name="warmToColdScript", refs={String.class}, tree="[0]") private Output warmToColdScript; /** diff --git a/sdk/java/src/main/java/com/pulumi/splunk/InputsHttpEventCollector.java b/sdk/java/src/main/java/com/pulumi/splunk/InputsHttpEventCollector.java index da1be01e..7942fefe 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/InputsHttpEventCollector.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/InputsHttpEventCollector.java @@ -29,7 +29,7 @@ public class InputsHttpEventCollector extends com.pulumi.resources.CustomResourc * The app/user context that is the namespace for the resource * */ - @Export(name="acl", type=InputsHttpEventCollectorAcl.class, parameters={}) + @Export(name="acl", refs={InputsHttpEventCollectorAcl.class}, tree="[0]") private Output acl; /** @@ -43,7 +43,7 @@ public Output acl() { * Input disabled indicator * */ - @Export(name="disabled", type=Boolean.class, parameters={}) + @Export(name="disabled", refs={Boolean.class}, tree="[0]") private Output disabled; /** @@ -57,7 +57,7 @@ public Output disabled() { * Default host value for events with this token * */ - @Export(name="host", type=String.class, parameters={}) + @Export(name="host", refs={String.class}, tree="[0]") private Output host; /** @@ -71,7 +71,7 @@ public Output host() { * Index to store generated events * */ - @Export(name="index", type=String.class, parameters={}) + @Export(name="index", refs={String.class}, tree="[0]") private Output index; /** @@ -85,7 +85,7 @@ public Output index() { * Set of indexes allowed for events with this token * */ - @Export(name="indexes", type=List.class, parameters={String.class}) + @Export(name="indexes", refs={List.class,String.class}, tree="[0,1]") private Output> indexes; /** @@ -99,7 +99,7 @@ public Output> indexes() { * Token name (inputs.conf key) * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** @@ -113,7 +113,7 @@ public Output name() { * Default source for events with this token * */ - @Export(name="source", type=String.class, parameters={}) + @Export(name="source", refs={String.class}, tree="[0]") private Output source; /** @@ -127,7 +127,7 @@ public Output source() { * Default source type for events with this token * */ - @Export(name="sourcetype", type=String.class, parameters={}) + @Export(name="sourcetype", refs={String.class}, tree="[0]") private Output sourcetype; /** @@ -141,7 +141,7 @@ public Output sourcetype() { * Token value for sending data to collector/event endpoint * */ - @Export(name="token", type=String.class, parameters={}) + @Export(name="token", refs={String.class}, tree="[0]") private Output token; /** @@ -155,7 +155,7 @@ public Output token() { * Indexer acknowledgement for this token * */ - @Export(name="useAck", type=Integer.class, parameters={}) + @Export(name="useAck", refs={Integer.class}, tree="[0]") private Output useAck; /** diff --git a/sdk/java/src/main/java/com/pulumi/splunk/InputsMonitor.java b/sdk/java/src/main/java/com/pulumi/splunk/InputsMonitor.java index fe3a2f48..81703889 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/InputsMonitor.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/InputsMonitor.java @@ -59,7 +59,7 @@ public class InputsMonitor extends com.pulumi.resources.CustomResource { * The app/user context that is the namespace for the resource * */ - @Export(name="acl", type=InputsMonitorAcl.class, parameters={}) + @Export(name="acl", refs={InputsMonitorAcl.class}, tree="[0]") private Output acl; /** @@ -73,7 +73,7 @@ public Output acl() { * Specify a regular expression for a file path. The file path that matches this regular expression is not indexed. * */ - @Export(name="blacklist", type=String.class, parameters={}) + @Export(name="blacklist", refs={String.class}, tree="[0]") private Output blacklist; /** @@ -87,7 +87,7 @@ public Output blacklist() { * A string that modifies the file tracking identity for files in this input. The magic value <SOURCE> invokes special behavior. * */ - @Export(name="crcSalt", type=String.class, parameters={}) + @Export(name="crcSalt", refs={String.class}, tree="[0]") private Output crcSalt; /** @@ -101,7 +101,7 @@ public Output crcSalt() { * Indicates if input monitoring is disabled. * */ - @Export(name="disabled", type=Boolean.class, parameters={}) + @Export(name="disabled", refs={Boolean.class}, tree="[0]") private Output disabled; /** @@ -115,7 +115,7 @@ public Output disabled() { * If set to true, files that are seen for the first time is read from the end. * */ - @Export(name="followTail", type=Boolean.class, parameters={}) + @Export(name="followTail", refs={Boolean.class}, tree="[0]") private Output followTail; /** @@ -129,7 +129,7 @@ public Output followTail() { * The value to populate in the host field for events from this data input. * */ - @Export(name="host", type=String.class, parameters={}) + @Export(name="host", refs={String.class}, tree="[0]") private Output host; /** @@ -143,7 +143,7 @@ public Output host() { * Specify a regular expression for a file path. If the path for a file matches this regular expression, the captured value is used to populate the host field for events from this data input. The regular expression must have one capture group. * */ - @Export(name="hostRegex", type=String.class, parameters={}) + @Export(name="hostRegex", refs={String.class}, tree="[0]") private Output hostRegex; /** @@ -157,7 +157,7 @@ public Output hostRegex() { * Use the specified slash-separate segment of the filepath as the host field value. * */ - @Export(name="hostSegment", type=Integer.class, parameters={}) + @Export(name="hostSegment", refs={Integer.class}, tree="[0]") private Output hostSegment; /** @@ -171,7 +171,7 @@ public Output hostSegment() { * Specify a time value. If the modification time of a file being monitored falls outside of this rolling time window, the file is no longer being monitored. * */ - @Export(name="ignoreOlderThan", type=String.class, parameters={}) + @Export(name="ignoreOlderThan", refs={String.class}, tree="[0]") private Output ignoreOlderThan; /** @@ -185,7 +185,7 @@ public Output ignoreOlderThan() { * Which index events from this input should be stored in. Defaults to default. * */ - @Export(name="index", type=String.class, parameters={}) + @Export(name="index", refs={String.class}, tree="[0]") private Output index; /** @@ -199,7 +199,7 @@ public Output index() { * The file or directory path to monitor on the system. * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** @@ -213,7 +213,7 @@ public Output name() { * Setting this to false prevents monitoring of any subdirectories encountered within this data input. * */ - @Export(name="recursive", type=Boolean.class, parameters={}) + @Export(name="recursive", refs={Boolean.class}, tree="[0]") private Output recursive; /** @@ -227,7 +227,7 @@ public Output recursive() { * The value to populate in the source field for events from this data input. The same source should not be used for multiple data inputs. * */ - @Export(name="renameSource", type=String.class, parameters={}) + @Export(name="renameSource", refs={String.class}, tree="[0]") private Output renameSource; /** @@ -241,7 +241,7 @@ public Output renameSource() { * The value to populate in the sourcetype field for incoming events. * */ - @Export(name="sourcetype", type=String.class, parameters={}) + @Export(name="sourcetype", refs={String.class}, tree="[0]") private Output sourcetype; /** @@ -255,7 +255,7 @@ public Output sourcetype() { * When Splunk software reaches the end of a file that is being read, the file is kept open for a minimum of the number of seconds specified in this value. After this period has elapsed, the file is checked again for more data. * */ - @Export(name="timeBeforeClose", type=Integer.class, parameters={}) + @Export(name="timeBeforeClose", refs={Integer.class}, tree="[0]") private Output timeBeforeClose; /** @@ -269,7 +269,7 @@ public Output timeBeforeClose() { * Specify a regular expression for a file path. Only file paths that match this regular expression are indexed. * */ - @Export(name="whitelist", type=String.class, parameters={}) + @Export(name="whitelist", refs={String.class}, tree="[0]") private Output whitelist; /** diff --git a/sdk/java/src/main/java/com/pulumi/splunk/InputsScript.java b/sdk/java/src/main/java/com/pulumi/splunk/InputsScript.java index 0e154969..f2d99bb1 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/InputsScript.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/InputsScript.java @@ -28,7 +28,7 @@ public class InputsScript extends com.pulumi.resources.CustomResource { * The app/user context that is the namespace for the resource * */ - @Export(name="acl", type=InputsScriptAcl.class, parameters={}) + @Export(name="acl", refs={InputsScriptAcl.class}, tree="[0]") private Output acl; /** @@ -42,7 +42,7 @@ public Output acl() { * Specifies whether the input script is disabled. * */ - @Export(name="disabled", type=Boolean.class, parameters={}) + @Export(name="disabled", refs={Boolean.class}, tree="[0]") private Output disabled; /** @@ -56,7 +56,7 @@ public Output disabled() { * Sets the host for events from this input. Defaults to whatever host sent the event. * */ - @Export(name="host", type=String.class, parameters={}) + @Export(name="host", refs={String.class}, tree="[0]") private Output host; /** @@ -70,7 +70,7 @@ public Output host() { * Sets the index for events from this input. Defaults to the main index. * */ - @Export(name="index", type=String.class, parameters={}) + @Export(name="index", refs={String.class}, tree="[0]") private Output index; /** @@ -84,7 +84,7 @@ public Output index() { * Specify an integer or cron schedule. This parameter specifies how often to execute the specified script, in seconds or a valid cron schedule. If you specify a cron schedule, the script is not executed on start-up. * */ - @Export(name="interval", type=Integer.class, parameters={}) + @Export(name="interval", refs={Integer.class}, tree="[0]") private Output interval; /** @@ -98,7 +98,7 @@ public Output interval() { * Specify the name of the scripted input. * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** @@ -112,7 +112,7 @@ public Output name() { * User to run the script as. If you provide a username, Splunk software generates an auth token for that user and passes it to the script. * */ - @Export(name="passauth", type=String.class, parameters={}) + @Export(name="passauth", refs={String.class}, tree="[0]") private Output passauth; /** @@ -126,7 +126,7 @@ public Output passauth() { * Specify a new name for the source field for the script. * */ - @Export(name="renameSource", type=String.class, parameters={}) + @Export(name="renameSource", refs={String.class}, tree="[0]") private Output renameSource; /** @@ -141,7 +141,7 @@ public Output renameSource() { * Sets the source key initial value. The key is used during parsing/indexing, in particular to set the source field during indexing. It is also the source field used at search time. As a convenience, the chosen string is prepended with 'source::'. * */ - @Export(name="source", type=String.class, parameters={}) + @Export(name="source", refs={String.class}, tree="[0]") private Output source; /** @@ -157,7 +157,7 @@ public Output source() { * Sets the sourcetype key initial value. The key is used during parsing/indexing, in particular to set the source type field during indexing. It is also the source type field used at search time. * */ - @Export(name="sourcetype", type=String.class, parameters={}) + @Export(name="sourcetype", refs={String.class}, tree="[0]") private Output sourcetype; /** diff --git a/sdk/java/src/main/java/com/pulumi/splunk/InputsTcpCooked.java b/sdk/java/src/main/java/com/pulumi/splunk/InputsTcpCooked.java index 587fb266..ec4f989a 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/InputsTcpCooked.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/InputsTcpCooked.java @@ -59,7 +59,7 @@ public class InputsTcpCooked extends com.pulumi.resources.CustomResource { * The app/user context that is the namespace for the resource * */ - @Export(name="acl", type=InputsTcpCookedAcl.class, parameters={}) + @Export(name="acl", refs={InputsTcpCookedAcl.class}, tree="[0]") private Output acl; /** @@ -78,7 +78,7 @@ public Output acl() { * Default value is dns. * */ - @Export(name="connectionHost", type=String.class, parameters={}) + @Export(name="connectionHost", refs={String.class}, tree="[0]") private Output connectionHost; /** @@ -97,7 +97,7 @@ public Output connectionHost() { * Indicates if input is disabled. * */ - @Export(name="disabled", type=Boolean.class, parameters={}) + @Export(name="disabled", refs={Boolean.class}, tree="[0]") private Output disabled; /** @@ -111,7 +111,7 @@ public Output disabled() { * Host from which the indexer gets data. * */ - @Export(name="host", type=String.class, parameters={}) + @Export(name="host", refs={String.class}, tree="[0]") private Output host; /** @@ -125,7 +125,7 @@ public Output host() { * The port number of this input. * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** @@ -139,7 +139,7 @@ public Output name() { * Restrict incoming connections on this port to the host specified here. * */ - @Export(name="restrictToHost", type=String.class, parameters={}) + @Export(name="restrictToHost", refs={String.class}, tree="[0]") private Output restrictToHost; /** diff --git a/sdk/java/src/main/java/com/pulumi/splunk/InputsTcpRaw.java b/sdk/java/src/main/java/com/pulumi/splunk/InputsTcpRaw.java index 65b018a5..572c1919 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/InputsTcpRaw.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/InputsTcpRaw.java @@ -62,7 +62,7 @@ public class InputsTcpRaw extends com.pulumi.resources.CustomResource { * The app/user context that is the namespace for the resource * */ - @Export(name="acl", type=InputsTcpRawAcl.class, parameters={}) + @Export(name="acl", refs={InputsTcpRawAcl.class}, tree="[0]") private Output acl; /** @@ -81,7 +81,7 @@ public Output acl() { * Default value is dns. * */ - @Export(name="connectionHost", type=String.class, parameters={}) + @Export(name="connectionHost", refs={String.class}, tree="[0]") private Output connectionHost; /** @@ -100,7 +100,7 @@ public Output connectionHost() { * Indicates if input is disabled. * */ - @Export(name="disabled", type=Boolean.class, parameters={}) + @Export(name="disabled", refs={Boolean.class}, tree="[0]") private Output disabled; /** @@ -114,7 +114,7 @@ public Output disabled() { * Host from which the indexer gets data. * */ - @Export(name="host", type=String.class, parameters={}) + @Export(name="host", refs={String.class}, tree="[0]") private Output host; /** @@ -128,7 +128,7 @@ public Output host() { * Index to store generated events. Defaults to default. * */ - @Export(name="index", type=String.class, parameters={}) + @Export(name="index", refs={String.class}, tree="[0]") private Output index; /** @@ -142,7 +142,7 @@ public Output index() { * The input port which receives raw data. * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** @@ -159,7 +159,7 @@ public Output name() { * Set queue to indexQueue to send your data directly into the index. * */ - @Export(name="queue", type=String.class, parameters={}) + @Export(name="queue", refs={String.class}, tree="[0]") private Output queue; /** @@ -177,7 +177,7 @@ public Output queue() { * If a connection over the port specified by name remains idle after receiving data for specified number of seconds, it adds a Done-key. This implies the last event is completely received. * */ - @Export(name="rawTcpDoneTimeout", type=Integer.class, parameters={}) + @Export(name="rawTcpDoneTimeout", refs={Integer.class}, tree="[0]") private Output rawTcpDoneTimeout; /** @@ -192,7 +192,7 @@ public Output rawTcpDoneTimeout() { * Allows for restricting this input to only accept data from the host specified here. * */ - @Export(name="restrictToHost", type=String.class, parameters={}) + @Export(name="restrictToHost", refs={String.class}, tree="[0]") private Output restrictToHost; /** @@ -207,7 +207,7 @@ public Output restrictToHost() { * Sets the source key initial value. The key is used during parsing/indexing, in particular to set the source field during indexing. It is also the source field used at search time. As a convenience, the chosen string is prepended with 'source::'. * */ - @Export(name="source", type=String.class, parameters={}) + @Export(name="source", refs={String.class}, tree="[0]") private Output source; /** @@ -224,7 +224,7 @@ public Output source() { * Defaults to audittrail (if signedaudit=true) or fschange (if signedaudit=false). * */ - @Export(name="sourcetype", type=String.class, parameters={}) + @Export(name="sourcetype", refs={String.class}, tree="[0]") private Output sourcetype; /** diff --git a/sdk/java/src/main/java/com/pulumi/splunk/InputsTcpSplunkTcpToken.java b/sdk/java/src/main/java/com/pulumi/splunk/InputsTcpSplunkTcpToken.java index 439ecc9a..8b562541 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/InputsTcpSplunkTcpToken.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/InputsTcpSplunkTcpToken.java @@ -56,7 +56,7 @@ public class InputsTcpSplunkTcpToken extends com.pulumi.resources.CustomResource * The app/user context that is the namespace for the resource * */ - @Export(name="acl", type=InputsTcpSplunkTcpTokenAcl.class, parameters={}) + @Export(name="acl", refs={InputsTcpSplunkTcpTokenAcl.class}, tree="[0]") private Output acl; /** @@ -70,7 +70,7 @@ public Output acl() { * Required. Name for the token to create. * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** @@ -84,7 +84,7 @@ public Output name() { * Optional. Token value to use. If unspecified, a token is generated automatically. * */ - @Export(name="token", type=String.class, parameters={}) + @Export(name="token", refs={String.class}, tree="[0]") private Output token; /** diff --git a/sdk/java/src/main/java/com/pulumi/splunk/InputsTcpSsl.java b/sdk/java/src/main/java/com/pulumi/splunk/InputsTcpSsl.java index dfdac8af..d8babadb 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/InputsTcpSsl.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/InputsTcpSsl.java @@ -58,7 +58,7 @@ public class InputsTcpSsl extends com.pulumi.resources.CustomResource { * Indicates if input is disabled. * */ - @Export(name="disabled", type=Boolean.class, parameters={}) + @Export(name="disabled", refs={Boolean.class}, tree="[0]") private Output disabled; /** @@ -72,7 +72,7 @@ public Output disabled() { * Server certificate password, if any. * */ - @Export(name="password", type=String.class, parameters={}) + @Export(name="password", refs={String.class}, tree="[0]") private Output password; /** @@ -86,7 +86,7 @@ public Output password() { * Determines whether a client must authenticate. * */ - @Export(name="requireClientCert", type=Boolean.class, parameters={}) + @Export(name="requireClientCert", refs={Boolean.class}, tree="[0]") private Output requireClientCert; /** @@ -100,7 +100,7 @@ public Output requireClientCert() { * Certificate authority list (root file) * */ - @Export(name="rootCa", type=String.class, parameters={}) + @Export(name="rootCa", refs={String.class}, tree="[0]") private Output rootCa; /** @@ -114,7 +114,7 @@ public Output rootCa() { * Full path to the server certificate. * */ - @Export(name="serverCert", type=String.class, parameters={}) + @Export(name="serverCert", refs={String.class}, tree="[0]") private Output serverCert; /** diff --git a/sdk/java/src/main/java/com/pulumi/splunk/InputsUdp.java b/sdk/java/src/main/java/com/pulumi/splunk/InputsUdp.java index 4784a54d..4baba111 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/InputsUdp.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/InputsUdp.java @@ -60,7 +60,7 @@ public class InputsUdp extends com.pulumi.resources.CustomResource { * The app/user context that is the namespace for the resource * */ - @Export(name="acl", type=InputsUdpAcl.class, parameters={}) + @Export(name="acl", refs={InputsUdpAcl.class}, tree="[0]") private Output acl; /** @@ -79,7 +79,7 @@ public Output acl() { * Default value is dns. * */ - @Export(name="connectionHost", type=String.class, parameters={}) + @Export(name="connectionHost", refs={String.class}, tree="[0]") private Output connectionHost; /** @@ -98,7 +98,7 @@ public Output connectionHost() { * Indicates if input is disabled. * */ - @Export(name="disabled", type=Boolean.class, parameters={}) + @Export(name="disabled", refs={Boolean.class}, tree="[0]") private Output disabled; /** @@ -112,7 +112,7 @@ public Output disabled() { * The value to populate in the host field for incoming events. This is used during parsing/indexing, in particular to set the host field. It is also the host field used at search time. * */ - @Export(name="host", type=String.class, parameters={}) + @Export(name="host", refs={String.class}, tree="[0]") private Output host; /** @@ -126,7 +126,7 @@ public Output host() { * Which index events from this input should be stored in. Defaults to default. * */ - @Export(name="index", type=String.class, parameters={}) + @Export(name="index", refs={String.class}, tree="[0]") private Output index; /** @@ -140,7 +140,7 @@ public Output index() { * The UDP port that this input should listen on. * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** @@ -154,7 +154,7 @@ public Output name() { * If set to true, prevents Splunk software from prepending a timestamp and hostname to incoming events. * */ - @Export(name="noAppendingTimestamp", type=Boolean.class, parameters={}) + @Export(name="noAppendingTimestamp", refs={Boolean.class}, tree="[0]") private Output noAppendingTimestamp; /** @@ -168,7 +168,7 @@ public Output noAppendingTimestamp() { * If set to true, Splunk software does not remove the priority field from incoming syslog events. * */ - @Export(name="noPriorityStripping", type=Boolean.class, parameters={}) + @Export(name="noPriorityStripping", refs={Boolean.class}, tree="[0]") private Output noPriorityStripping; /** @@ -182,7 +182,7 @@ public Output noPriorityStripping() { * Which queue events from this input should be sent to. Generally this does not need to be changed. * */ - @Export(name="queue", type=String.class, parameters={}) + @Export(name="queue", refs={String.class}, tree="[0]") private Output queue; /** @@ -197,7 +197,7 @@ public Output queue() { * If this is not set, the value specified in [udp://<remote server>:<port>] in inputs.conf is used. * */ - @Export(name="restrictToHost", type=String.class, parameters={}) + @Export(name="restrictToHost", refs={String.class}, tree="[0]") private Output restrictToHost; /** @@ -212,7 +212,7 @@ public Output restrictToHost() { * The value to populate in the source field for incoming events. The same source should not be used for multiple data inputs. * */ - @Export(name="source", type=String.class, parameters={}) + @Export(name="source", refs={String.class}, tree="[0]") private Output source; /** @@ -226,7 +226,7 @@ public Output source() { * The value to populate in the sourcetype field for incoming events. * */ - @Export(name="sourcetype", type=String.class, parameters={}) + @Export(name="sourcetype", refs={String.class}, tree="[0]") private Output sourcetype; /** diff --git a/sdk/java/src/main/java/com/pulumi/splunk/OutputsTcpDefault.java b/sdk/java/src/main/java/com/pulumi/splunk/OutputsTcpDefault.java index abc940e5..ba01ead6 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/OutputsTcpDefault.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/OutputsTcpDefault.java @@ -63,7 +63,7 @@ public class OutputsTcpDefault extends com.pulumi.resources.CustomResource { * The app/user context that is the namespace for the resource * */ - @Export(name="acl", type=OutputsTcpDefaultAcl.class, parameters={}) + @Export(name="acl", refs={OutputsTcpDefaultAcl.class}, tree="[0]") private Output acl; /** @@ -78,7 +78,7 @@ public Output acl() { * The forwarder sends all data to the specified groups. If you do not want to forward data automatically, do not set this attribute. Can be overridden by an inputs.conf _TCP_ROUTING setting, which in turn can be overridden by a props.conf/transforms.conf modifier. * */ - @Export(name="defaultGroup", type=String.class, parameters={}) + @Export(name="defaultGroup", refs={String.class}, tree="[0]") private Output defaultGroup; /** @@ -93,7 +93,7 @@ public Output defaultGroup() { * Disables default tcpout settings * */ - @Export(name="disabled", type=Boolean.class, parameters={}) + @Export(name="disabled", refs={Boolean.class}, tree="[0]") private Output disabled; /** @@ -110,7 +110,7 @@ public Output disabled() { * Using auto load-balancing is the best way to minimize this condition, because, in that case, multiple receivers must be down (or jammed up) before queue blocking can occur. * */ - @Export(name="dropEventsOnQueueFull", type=Integer.class, parameters={}) + @Export(name="dropEventsOnQueueFull", refs={Integer.class}, tree="[0]") private Output dropEventsOnQueueFull; /** @@ -128,7 +128,7 @@ public Output dropEventsOnQueueFull() { * Heartbeats are only sent if sendCookedData=true. Defaults to 30 seconds. * */ - @Export(name="heartbeatFrequency", type=Integer.class, parameters={}) + @Export(name="heartbeatFrequency", refs={Integer.class}, tree="[0]") private Output heartbeatFrequency; /** @@ -144,7 +144,7 @@ public Output heartbeatFrequency() { * This is known as an "index-and-forward" configuration. This attribute is only available for heavy forwarders. It is available only at the top level [tcpout] stanza in outputs.conf. It cannot be overridden in a target group. * */ - @Export(name="indexAndForward", type=Boolean.class, parameters={}) + @Export(name="indexAndForward", refs={Boolean.class}, tree="[0]") private Output indexAndForward; /** @@ -164,7 +164,7 @@ public Output indexAndForward() { * If specified as an integer followed by KB, MB, or GB (for example, maxQueueSize=100MB), maxQueueSize indicates the maximum RAM allocated to the queue buffer. Defaults to 500KB (which means a maximum size of 500KB for the output queue and 1500KB for the wait queue, if any). * */ - @Export(name="maxQueueSize", type=String.class, parameters={}) + @Export(name="maxQueueSize", refs={String.class}, tree="[0]") private Output maxQueueSize; /** @@ -183,7 +183,7 @@ public Output maxQueueSize() { * Configuration to be edited. The only valid value is "tcpout". * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** @@ -198,7 +198,7 @@ public Output name() { * Set to false if you are sending to a third-party system. * */ - @Export(name="sendCookedData", type=Boolean.class, parameters={}) + @Export(name="sendCookedData", refs={Boolean.class}, tree="[0]") private Output sendCookedData; /** diff --git a/sdk/java/src/main/java/com/pulumi/splunk/OutputsTcpGroup.java b/sdk/java/src/main/java/com/pulumi/splunk/OutputsTcpGroup.java index c60b0112..42c492fb 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/OutputsTcpGroup.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/OutputsTcpGroup.java @@ -65,7 +65,7 @@ public class OutputsTcpGroup extends com.pulumi.resources.CustomResource { * The app/user context that is the namespace for the resource * */ - @Export(name="acl", type=OutputsTcpGroupAcl.class, parameters={}) + @Export(name="acl", refs={OutputsTcpGroupAcl.class}, tree="[0]") private Output acl; /** @@ -79,7 +79,7 @@ public Output acl() { * If true, forwarder sends compressed data. If set to true, the receiver port must also have compression turned on. * */ - @Export(name="compressed", type=Boolean.class, parameters={}) + @Export(name="compressed", refs={Boolean.class}, tree="[0]") private Output compressed; /** @@ -93,7 +93,7 @@ public Output compressed() { * If true, disables the group. * */ - @Export(name="disabled", type=Boolean.class, parameters={}) + @Export(name="disabled", refs={Boolean.class}, tree="[0]") private Output disabled; /** @@ -110,7 +110,7 @@ public Output disabled() { * Using auto load-balancing is the best way to minimize this condition, because, in that case, multiple receivers must be down (or jammed up) before queue blocking can occur. * */ - @Export(name="dropEventsOnQueueFull", type=Integer.class, parameters={}) + @Export(name="dropEventsOnQueueFull", refs={Integer.class}, tree="[0]") private Output dropEventsOnQueueFull; /** @@ -128,7 +128,7 @@ public Output dropEventsOnQueueFull() { * Heartbeats are only sent if sendCookedData=true. Defaults to 30 seconds. * */ - @Export(name="heartbeatFrequency", type=Integer.class, parameters={}) + @Export(name="heartbeatFrequency", refs={Integer.class}, tree="[0]") private Output heartbeatFrequency; /** @@ -148,7 +148,7 @@ public Output heartbeatFrequency() { * If specified as an integer followed by KB, MB, or GB (for example, maxQueueSize=100MB), maxQueueSize indicates the maximum RAM allocated to the queue buffer. Defaults to 500KB (which means a maximum size of 500KB for the output queue and 1500KB for the wait queue, if any). * */ - @Export(name="maxQueueSize", type=String.class, parameters={}) + @Export(name="maxQueueSize", refs={String.class}, tree="[0]") private Output maxQueueSize; /** @@ -167,7 +167,7 @@ public Output maxQueueSize() { * Valid values: (tcpout | syslog). Specifies the type of output processor. * */ - @Export(name="method", type=String.class, parameters={}) + @Export(name="method", refs={String.class}, tree="[0]") private Output method; /** @@ -181,7 +181,7 @@ public Output method() { * The name of the group of receivers. * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** @@ -196,7 +196,7 @@ public Output name() { * Set to false if you are sending to a third-party system. * */ - @Export(name="sendCookedData", type=Boolean.class, parameters={}) + @Export(name="sendCookedData", refs={Boolean.class}, tree="[0]") private Output sendCookedData; /** @@ -211,7 +211,7 @@ public Output sendCookedData() { * Comma-separated list of servers to include in the group. * */ - @Export(name="servers", type=List.class, parameters={String.class}) + @Export(name="servers", refs={List.class,String.class}, tree="[0,1]") private Output> servers; /** @@ -225,7 +225,7 @@ public Output> servers() { * Token value generated by the indexer after configuration. * */ - @Export(name="token", type=String.class, parameters={}) + @Export(name="token", refs={String.class}, tree="[0]") private Output token; /** diff --git a/sdk/java/src/main/java/com/pulumi/splunk/OutputsTcpServer.java b/sdk/java/src/main/java/com/pulumi/splunk/OutputsTcpServer.java index 6a56fff7..fc35000d 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/OutputsTcpServer.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/OutputsTcpServer.java @@ -58,7 +58,7 @@ public class OutputsTcpServer extends com.pulumi.resources.CustomResource { * The app/user context that is the namespace for the resource * */ - @Export(name="acl", type=OutputsTcpServerAcl.class, parameters={}) + @Export(name="acl", refs={OutputsTcpServerAcl.class}, tree="[0]") private Output acl; /** @@ -72,7 +72,7 @@ public Output acl() { * If true, disables the group. * */ - @Export(name="disabled", type=Boolean.class, parameters={}) + @Export(name="disabled", refs={Boolean.class}, tree="[0]") private Output disabled; /** @@ -87,7 +87,7 @@ public Output disabled() { * The data distribution method used when two or more servers exist in the same forwarder group. * */ - @Export(name="method", type=String.class, parameters={}) + @Export(name="method", refs={String.class}, tree="[0]") private Output method; /** @@ -102,7 +102,7 @@ public Output method() { * <host>:<port> of the Splunk receiver. <host> can be either an ip address or server name. <port> is the that port that the Splunk receiver is listening on. * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** @@ -116,7 +116,7 @@ public Output name() { * The alternate name to match in the remote server's SSL certificate. * */ - @Export(name="sslAltNameToCheck", type=String.class, parameters={}) + @Export(name="sslAltNameToCheck", refs={String.class}, tree="[0]") private Output sslAltNameToCheck; /** @@ -130,7 +130,7 @@ public Output sslAltNameToCheck() { * Path to the client certificate. If specified, connection uses SSL. * */ - @Export(name="sslCertPath", type=String.class, parameters={}) + @Export(name="sslCertPath", refs={String.class}, tree="[0]") private Output sslCertPath; /** @@ -144,7 +144,7 @@ public Output sslCertPath() { * SSL Cipher in the form ALL:!aNULL:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM * */ - @Export(name="sslCipher", type=String.class, parameters={}) + @Export(name="sslCipher", refs={String.class}, tree="[0]") private Output sslCipher; /** @@ -159,7 +159,7 @@ public Output sslCipher() { * If there is no match, assume that Splunk Enterprise is not authenticated against this server. You must specify this setting if sslVerifyServerCert is true. * */ - @Export(name="sslCommonNameToCheck", type=String.class, parameters={}) + @Export(name="sslCommonNameToCheck", refs={String.class}, tree="[0]") private Output sslCommonNameToCheck; /** @@ -175,7 +175,7 @@ public Output sslCommonNameToCheck() { * The default Splunk Enterprise CAcert uses the password "password." * */ - @Export(name="sslPassword", type=String.class, parameters={}) + @Export(name="sslPassword", refs={String.class}, tree="[0]") private Output sslPassword; /** @@ -190,7 +190,7 @@ public Output sslPassword() { * The path to the root certificate authority file. * */ - @Export(name="sslRootCaPath", type=String.class, parameters={}) + @Export(name="sslRootCaPath", refs={String.class}, tree="[0]") private Output sslRootCaPath; /** @@ -204,7 +204,7 @@ public Output sslRootCaPath() { * If true, make sure that the server you are connecting to is a valid one (authenticated). Both the common name and the alternate name of the server are then checked for a match. * */ - @Export(name="sslVerifyServerCert", type=Boolean.class, parameters={}) + @Export(name="sslVerifyServerCert", refs={Boolean.class}, tree="[0]") private Output sslVerifyServerCert; /** diff --git a/sdk/java/src/main/java/com/pulumi/splunk/OutputsTcpSyslog.java b/sdk/java/src/main/java/com/pulumi/splunk/OutputsTcpSyslog.java index e5a1f6ba..1698f4c5 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/OutputsTcpSyslog.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/OutputsTcpSyslog.java @@ -59,7 +59,7 @@ public class OutputsTcpSyslog extends com.pulumi.resources.CustomResource { * The app/user context that is the namespace for the resource * */ - @Export(name="acl", type=OutputsTcpSyslogAcl.class, parameters={}) + @Export(name="acl", refs={OutputsTcpSyslogAcl.class}, tree="[0]") private Output acl; /** @@ -73,7 +73,7 @@ public Output acl() { * If true, disables global syslog settings. * */ - @Export(name="disabled", type=Boolean.class, parameters={}) + @Export(name="disabled", refs={Boolean.class}, tree="[0]") private Output disabled; /** @@ -87,7 +87,7 @@ public Output disabled() { * Name of the syslog output group. This is name used when creating syslog configuration in outputs.conf. * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** @@ -101,7 +101,7 @@ public Output name() { * Sets syslog priority value. The priority value should specified as an integer. See $SPLUNK_HOME/etc/system/README/outputs.conf.spec for details. * */ - @Export(name="priority", type=Integer.class, parameters={}) + @Export(name="priority", refs={Integer.class}, tree="[0]") private Output priority; /** @@ -115,7 +115,7 @@ public Output priority() { * host:port of the server where syslog data should be sent * */ - @Export(name="server", type=String.class, parameters={}) + @Export(name="server", refs={String.class}, tree="[0]") private Output server; /** @@ -134,7 +134,7 @@ public Output server() { * Data that does not match the rules has a header, potentially a timestamp, and a hostname added to the front of the event. This is how Splunk software causes arbitrary log data to match syslog expectations. * */ - @Export(name="syslogSourcetype", type=String.class, parameters={}) + @Export(name="syslogSourcetype", refs={String.class}, tree="[0]") private Output syslogSourcetype; /** @@ -154,7 +154,7 @@ public Output syslogSourcetype() { * The format is a strftime-style timestamp formatting string. See $SPLUNK_HOME/etc/system/README/outputs.conf.spec for details. * */ - @Export(name="timestampFormat", type=String.class, parameters={}) + @Export(name="timestampFormat", refs={String.class}, tree="[0]") private Output timestampFormat; /** @@ -169,7 +169,7 @@ public Output timestampFormat() { * Protocol to use to send syslog data. Valid values: (tcp | udp ). * */ - @Export(name="type", type=String.class, parameters={}) + @Export(name="type", refs={String.class}, tree="[0]") private Output type; /** diff --git a/sdk/java/src/main/java/com/pulumi/splunk/Provider.java b/sdk/java/src/main/java/com/pulumi/splunk/Provider.java index 69fa6e04..ae5c081d 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/Provider.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/Provider.java @@ -27,7 +27,7 @@ public class Provider extends com.pulumi.resources.ProviderResource { * the Splunk platform * */ - @Export(name="authToken", type=String.class, parameters={}) + @Export(name="authToken", refs={String.class}, tree="[0]") private Output authToken; /** @@ -42,7 +42,7 @@ public Output> authToken() { * Splunk instance password * */ - @Export(name="password", type=String.class, parameters={}) + @Export(name="password", refs={String.class}, tree="[0]") private Output password; /** @@ -56,7 +56,7 @@ public Output> password() { * Splunk instance URL * */ - @Export(name="url", type=String.class, parameters={}) + @Export(name="url", refs={String.class}, tree="[0]") private Output url; /** @@ -70,7 +70,7 @@ public Output url() { * Splunk instance admin username * */ - @Export(name="username", type=String.class, parameters={}) + @Export(name="username", refs={String.class}, tree="[0]") private Output username; /** diff --git a/sdk/java/src/main/java/com/pulumi/splunk/SavedSearches.java b/sdk/java/src/main/java/com/pulumi/splunk/SavedSearches.java index 4eb5b887..47fb646e 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/SavedSearches.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/SavedSearches.java @@ -77,7 +77,7 @@ public class SavedSearches extends com.pulumi.resources.CustomResource { * The app/user context that is the namespace for the resource * */ - @Export(name="acl", type=SavedSearchesAcl.class, parameters={}) + @Export(name="acl", refs={SavedSearchesAcl.class}, tree="[0]") private Output acl; /** @@ -91,7 +91,7 @@ public Output acl() { * Enable XSOAR alerting (Should by 1 (Enabled) or 0 (Disabled)) * */ - @Export(name="actionCreateXsoarIncident", type=String.class, parameters={}) + @Export(name="actionCreateXsoarIncident", refs={String.class}, tree="[0]") private Output actionCreateXsoarIncident; /** @@ -105,7 +105,7 @@ public Output> actionCreateXsoarIncident() { * XSOAR custom incident fields (should be a comma separated list) * */ - @Export(name="actionCreateXsoarIncidentParamCustomFields", type=String.class, parameters={}) + @Export(name="actionCreateXsoarIncidentParamCustomFields", refs={String.class}, tree="[0]") private Output actionCreateXsoarIncidentParamCustomFields; /** @@ -119,7 +119,7 @@ public Output> actionCreateXsoarIncidentParamCustomFields() { * XSOAR incident description * */ - @Export(name="actionCreateXsoarIncidentParamDetails", type=String.class, parameters={}) + @Export(name="actionCreateXsoarIncidentParamDetails", refs={String.class}, tree="[0]") private Output actionCreateXsoarIncidentParamDetails; /** @@ -133,7 +133,7 @@ public Output> actionCreateXsoarIncidentParamDetails() { * XSOAR incident name * */ - @Export(name="actionCreateXsoarIncidentParamIncidentName", type=String.class, parameters={}) + @Export(name="actionCreateXsoarIncidentParamIncidentName", refs={String.class}, tree="[0]") private Output actionCreateXsoarIncidentParamIncidentName; /** @@ -147,7 +147,7 @@ public Output> actionCreateXsoarIncidentParamIncidentName() { * XSOAR incident time * */ - @Export(name="actionCreateXsoarIncidentParamOccurred", type=String.class, parameters={}) + @Export(name="actionCreateXsoarIncidentParamOccurred", refs={String.class}, tree="[0]") private Output actionCreateXsoarIncidentParamOccurred; /** @@ -161,7 +161,7 @@ public Output> actionCreateXsoarIncidentParamOccurred() { * Enable XSOAR alerting sending to all servers (Should by 1 (Enabled) or 0 (Disabled) * */ - @Export(name="actionCreateXsoarIncidentParamSendAllServers", type=String.class, parameters={}) + @Export(name="actionCreateXsoarIncidentParamSendAllServers", refs={String.class}, tree="[0]") private Output actionCreateXsoarIncidentParamSendAllServers; /** @@ -175,7 +175,7 @@ public Output> actionCreateXsoarIncidentParamSendAllServers() { * XSOAR Server instance URL (Should start with https:// || http://) * */ - @Export(name="actionCreateXsoarIncidentParamServerUrl", type=String.class, parameters={}) + @Export(name="actionCreateXsoarIncidentParamServerUrl", refs={String.class}, tree="[0]") private Output actionCreateXsoarIncidentParamServerUrl; /** @@ -189,7 +189,7 @@ public Output> actionCreateXsoarIncidentParamServerUrl() { * XSOAR Severity (1 - Low, 2 - Medium, 3 - High, 4 - Critical) * */ - @Export(name="actionCreateXsoarIncidentParamSeverity", type=String.class, parameters={}) + @Export(name="actionCreateXsoarIncidentParamSeverity", refs={String.class}, tree="[0]") private Output actionCreateXsoarIncidentParamSeverity; /** @@ -203,7 +203,7 @@ public Output> actionCreateXsoarIncidentParamSeverity() { * XSOAR incident type * */ - @Export(name="actionCreateXsoarIncidentParamType", type=String.class, parameters={}) + @Export(name="actionCreateXsoarIncidentParamType", refs={String.class}, tree="[0]") private Output actionCreateXsoarIncidentParamType; /** @@ -217,7 +217,7 @@ public Output> actionCreateXsoarIncidentParamType() { * The state of the email action. Read-only attribute. Value ignored on POST. Use actions to specify a list of enabled actions. Defaults to 0. * */ - @Export(name="actionEmail", type=Boolean.class, parameters={}) + @Export(name="actionEmail", refs={Boolean.class}, tree="[0]") private Output actionEmail; /** @@ -231,7 +231,7 @@ public Output actionEmail() { * The password to use when authenticating with the SMTP server. Normally this value is set when editing the email settings, however you can set a clear text password here and it is encrypted on the next platform restart.Defaults to empty string. * */ - @Export(name="actionEmailAuthPassword", type=String.class, parameters={}) + @Export(name="actionEmailAuthPassword", refs={String.class}, tree="[0]") private Output actionEmailAuthPassword; /** @@ -245,7 +245,7 @@ public Output actionEmailAuthPassword() { * The username to use when authenticating with the SMTP server. If this is empty string, no authentication is attempted. Defaults to empty stringNOTE: Your SMTP server might reject unauthenticated emails. * */ - @Export(name="actionEmailAuthUsername", type=String.class, parameters={}) + @Export(name="actionEmailAuthUsername", refs={String.class}, tree="[0]") private Output actionEmailAuthUsername; /** @@ -259,7 +259,7 @@ public Output actionEmailAuthUsername() { * BCC email address to use if action.email is enabled. * */ - @Export(name="actionEmailBcc", type=String.class, parameters={}) + @Export(name="actionEmailBcc", refs={String.class}, tree="[0]") private Output actionEmailBcc; /** @@ -273,7 +273,7 @@ public Output actionEmailBcc() { * CC email address to use if action.email is enabled. * */ - @Export(name="actionEmailCc", type=String.class, parameters={}) + @Export(name="actionEmailCc", refs={String.class}, tree="[0]") private Output actionEmailCc; /** @@ -287,7 +287,7 @@ public Output actionEmailCc() { * The search command (or pipeline) which is responsible for executing the action.Generally the command is a template search pipeline which is realized with values from the saved search. To reference saved search field values wrap them in $, for example to reference the savedsearch name use $name$, to reference the search use $search$. * */ - @Export(name="actionEmailCommand", type=String.class, parameters={}) + @Export(name="actionEmailCommand", refs={String.class}, tree="[0]") private Output actionEmailCommand; /** @@ -301,7 +301,7 @@ public Output actionEmailCommand() { * Valid values: (table | plain | html | raw | csv)Specify the format of text in the email. This value also applies to any attachments. * */ - @Export(name="actionEmailFormat", type=String.class, parameters={}) + @Export(name="actionEmailFormat", refs={String.class}, tree="[0]") private Output actionEmailFormat; /** @@ -315,7 +315,7 @@ public Output actionEmailFormat() { * Email address from which the email action originates.Defaults to splunk@$LOCALHOST or whatever value is set in alert_actions.conf. * */ - @Export(name="actionEmailFrom", type=String.class, parameters={}) + @Export(name="actionEmailFrom", refs={String.class}, tree="[0]") private Output actionEmailFrom; /** @@ -329,7 +329,7 @@ public Output actionEmailFrom() { * Sets the hostname used in the web link (url) sent in email actions.This value accepts two forms:hostname (for example, splunkserver, splunkserver.example.com) * */ - @Export(name="actionEmailHostname", type=String.class, parameters={}) + @Export(name="actionEmailHostname", refs={String.class}, tree="[0]") private Output actionEmailHostname; /** @@ -343,7 +343,7 @@ public Output actionEmailHostname() { * Specify whether to include a link to the results. Defaults to 0. * */ - @Export(name="actionEmailIncludeResultsLink", type=Integer.class, parameters={}) + @Export(name="actionEmailIncludeResultsLink", refs={Integer.class}, tree="[0]") private Output actionEmailIncludeResultsLink; /** @@ -357,7 +357,7 @@ public Output actionEmailIncludeResultsLink() { * Specify whether to include the search that caused an email to be sent. Defaults to 0. * */ - @Export(name="actionEmailIncludeSearch", type=Integer.class, parameters={}) + @Export(name="actionEmailIncludeSearch", refs={Integer.class}, tree="[0]") private Output actionEmailIncludeSearch; /** @@ -371,7 +371,7 @@ public Output actionEmailIncludeSearch() { * Specify whether to show the trigger condition that caused the alert to fire. Defaults to 0. * */ - @Export(name="actionEmailIncludeTrigger", type=Integer.class, parameters={}) + @Export(name="actionEmailIncludeTrigger", refs={Integer.class}, tree="[0]") private Output actionEmailIncludeTrigger; /** @@ -385,7 +385,7 @@ public Output actionEmailIncludeTrigger() { * Specify whether to show the time that the alert was fired. Defaults to 0. * */ - @Export(name="actionEmailIncludeTriggerTime", type=Integer.class, parameters={}) + @Export(name="actionEmailIncludeTriggerTime", refs={Integer.class}, tree="[0]") private Output actionEmailIncludeTriggerTime; /** @@ -399,7 +399,7 @@ public Output actionEmailIncludeTriggerTime() { * Specify whether to show the title and a link to enable the user to edit the saved search. Defaults to 0. * */ - @Export(name="actionEmailIncludeViewLink", type=Integer.class, parameters={}) + @Export(name="actionEmailIncludeViewLink", refs={Integer.class}, tree="[0]") private Output actionEmailIncludeViewLink; /** @@ -413,7 +413,7 @@ public Output actionEmailIncludeViewLink() { * Indicates whether the search results are contained in the body of the email.Results can be either inline or attached to an email. * */ - @Export(name="actionEmailInline", type=Boolean.class, parameters={}) + @Export(name="actionEmailInline", refs={Boolean.class}, tree="[0]") private Output actionEmailInline; /** @@ -427,7 +427,7 @@ public Output actionEmailInline() { * Set the address of the MTA server to be used to send the emails.Defaults to <LOCALHOST> or whatever is set in alert_actions.conf. * */ - @Export(name="actionEmailMailserver", type=String.class, parameters={}) + @Export(name="actionEmailMailserver", refs={String.class}, tree="[0]") private Output actionEmailMailserver; /** @@ -441,7 +441,7 @@ public Output actionEmailMailserver() { * Sets the global maximum number of search results to send when email.action is enabled. Defaults to 100. * */ - @Export(name="actionEmailMaxResults", type=Integer.class, parameters={}) + @Export(name="actionEmailMaxResults", refs={Integer.class}, tree="[0]") private Output actionEmailMaxResults; /** @@ -455,7 +455,7 @@ public Output actionEmailMaxResults() { * Valid values are Integer[m|s|h|d].Specifies the maximum amount of time the execution of an email action takes before the action is aborted. Defaults to 5m. * */ - @Export(name="actionEmailMaxTime", type=String.class, parameters={}) + @Export(name="actionEmailMaxTime", refs={String.class}, tree="[0]") private Output actionEmailMaxTime; /** @@ -469,7 +469,7 @@ public Output actionEmailMaxTime() { * Customize the message sent in the emailed alert. Defaults to: The alert condition for '$name$' was triggered. * */ - @Export(name="actionEmailMessageAlert", type=String.class, parameters={}) + @Export(name="actionEmailMessageAlert", refs={String.class}, tree="[0]") private Output actionEmailMessageAlert; /** @@ -483,7 +483,7 @@ public Output actionEmailMessageAlert() { * Customize the message sent in the emailed report. Defaults to: The scheduled report '$name$' has run * */ - @Export(name="actionEmailMessageReport", type=String.class, parameters={}) + @Export(name="actionEmailMessageReport", refs={String.class}, tree="[0]") private Output actionEmailMessageReport; /** @@ -497,7 +497,7 @@ public Output actionEmailMessageReport() { * The name of the view to deliver if sendpdf is enabled * */ - @Export(name="actionEmailPdfview", type=String.class, parameters={}) + @Export(name="actionEmailPdfview", refs={String.class}, tree="[0]") private Output actionEmailPdfview; /** @@ -511,7 +511,7 @@ public Output actionEmailPdfview() { * Search string to preprocess results before emailing them. Defaults to empty string (no preprocessing).Usually the preprocessing consists of filtering out unwanted internal fields. * */ - @Export(name="actionEmailPreprocessResults", type=String.class, parameters={}) + @Export(name="actionEmailPreprocessResults", refs={String.class}, tree="[0]") private Output actionEmailPreprocessResults; /** @@ -525,7 +525,7 @@ public Output actionEmailPreprocessResults() { * Space-separated list. Specifies the set (and load order) of CID fonts for handling Simplified Chinese(gb), Traditional Chinese(cns), Japanese(jp), and Korean(kor) in Integrated PDF Rendering.If multiple fonts provide a glyph for a given character code, the glyph from the first font specified in the list is used.To skip loading any CID fonts, specify the empty string.Defaults to 'gb cns jp kor' * */ - @Export(name="actionEmailReportCidFontList", type=String.class, parameters={}) + @Export(name="actionEmailReportCidFontList", refs={String.class}, tree="[0]") private Output actionEmailReportCidFontList; /** @@ -539,7 +539,7 @@ public Output actionEmailReportCidFontList() { * Indicates whether to include the Splunk logo with the report. * */ - @Export(name="actionEmailReportIncludeSplunkLogo", type=Boolean.class, parameters={}) + @Export(name="actionEmailReportIncludeSplunkLogo", refs={Boolean.class}, tree="[0]") private Output actionEmailReportIncludeSplunkLogo; /** @@ -553,7 +553,7 @@ public Output actionEmailReportIncludeSplunkLogo() { * Valid values: (portrait | landscape)Specifies the paper orientation: portrait or landscape. Defaults to portrait. * */ - @Export(name="actionEmailReportPaperOrientation", type=String.class, parameters={}) + @Export(name="actionEmailReportPaperOrientation", refs={String.class}, tree="[0]") private Output actionEmailReportPaperOrientation; /** @@ -567,7 +567,7 @@ public Output actionEmailReportPaperOrientation() { * Valid values: (letter | legal | ledger | a2 | a3 | a4 | a5)Specifies the paper size for PDFs. Defaults to letter. * */ - @Export(name="actionEmailReportPaperSize", type=String.class, parameters={}) + @Export(name="actionEmailReportPaperSize", refs={String.class}, tree="[0]") private Output actionEmailReportPaperSize; /** @@ -581,7 +581,7 @@ public Output actionEmailReportPaperSize() { * No Supported * */ - @Export(name="actionEmailReportServerEnabled", type=Boolean.class, parameters={}) + @Export(name="actionEmailReportServerEnabled", refs={Boolean.class}, tree="[0]") private Output actionEmailReportServerEnabled; /** @@ -595,7 +595,7 @@ public Output actionEmailReportServerEnabled() { * Not supported.For a default locally installed report server, the URL is http://localhost:8091/ * */ - @Export(name="actionEmailReportServerUrl", type=String.class, parameters={}) + @Export(name="actionEmailReportServerUrl", refs={String.class}, tree="[0]") private Output actionEmailReportServerUrl; /** @@ -609,7 +609,7 @@ public Output actionEmailReportServerUrl() { * Specify whether to send results as a CSV file. Defaults to 0. * */ - @Export(name="actionEmailSendCsv", type=Integer.class, parameters={}) + @Export(name="actionEmailSendCsv", refs={Integer.class}, tree="[0]") private Output actionEmailSendCsv; /** @@ -623,7 +623,7 @@ public Output actionEmailSendCsv() { * Indicates whether to create and send the results as a PDF. Defaults to false. * */ - @Export(name="actionEmailSendPdf", type=Boolean.class, parameters={}) + @Export(name="actionEmailSendPdf", refs={Boolean.class}, tree="[0]") private Output actionEmailSendPdf; /** @@ -637,7 +637,7 @@ public Output actionEmailSendPdf() { * Indicates whether to attach the search results in the email.Results can be either attached or inline. See action.email.inline. * */ - @Export(name="actionEmailSendResults", type=Boolean.class, parameters={}) + @Export(name="actionEmailSendResults", refs={Boolean.class}, tree="[0]") private Output actionEmailSendResults; /** @@ -651,7 +651,7 @@ public Output actionEmailSendResults() { * Specifies an alternate email subject.Defaults to SplunkAlert-<savedsearchname>. * */ - @Export(name="actionEmailSubject", type=String.class, parameters={}) + @Export(name="actionEmailSubject", refs={String.class}, tree="[0]") private Output actionEmailSubject; /** @@ -665,7 +665,7 @@ public Output actionEmailSubject() { * A comma or semicolon separated list of recipient email addresses. Required if this search is scheduled and the email alert action is enabled. * */ - @Export(name="actionEmailTo", type=String.class, parameters={}) + @Export(name="actionEmailTo", refs={String.class}, tree="[0]") private Output actionEmailTo; /** @@ -679,7 +679,7 @@ public Output actionEmailTo() { * Indicates whether the execution of this action signifies a trackable alert. * */ - @Export(name="actionEmailTrackAlert", type=Boolean.class, parameters={}) + @Export(name="actionEmailTrackAlert", refs={Boolean.class}, tree="[0]") private Output actionEmailTrackAlert; /** @@ -693,7 +693,7 @@ public Output actionEmailTrackAlert() { * Valid values are Integer[p].Specifies the minimum time-to-live in seconds of the search artifacts if this action is triggered. If p follows <Integer>, int is the number of scheduled periods. Defaults to 86400 (24 hours).If no actions are triggered, the artifacts have their ttl determined by dispatch.ttl in savedsearches.conf. * */ - @Export(name="actionEmailTtl", type=String.class, parameters={}) + @Export(name="actionEmailTtl", refs={String.class}, tree="[0]") private Output actionEmailTtl; /** @@ -707,7 +707,7 @@ public Output actionEmailTtl() { * Indicates whether to use SSL when communicating with the SMTP server. Defaults to false. * */ - @Export(name="actionEmailUseSsl", type=Boolean.class, parameters={}) + @Export(name="actionEmailUseSsl", refs={Boolean.class}, tree="[0]") private Output actionEmailUseSsl; /** @@ -721,7 +721,7 @@ public Output actionEmailUseSsl() { * Indicates whether to use TLS (transport layer security) when communicating with the SMTP server (starttls).Defaults to false. * */ - @Export(name="actionEmailUseTls", type=Boolean.class, parameters={}) + @Export(name="actionEmailUseTls", refs={Boolean.class}, tree="[0]") private Output actionEmailUseTls; /** @@ -735,7 +735,7 @@ public Output actionEmailUseTls() { * Indicates whether columns should be sorted from least wide to most wide, left to right.Only valid if format=text. * */ - @Export(name="actionEmailWidthSortColumns", type=Boolean.class, parameters={}) + @Export(name="actionEmailWidthSortColumns", refs={Boolean.class}, tree="[0]") private Output actionEmailWidthSortColumns; /** @@ -749,7 +749,7 @@ public Output actionEmailWidthSortColumns() { * Jira Service Desk account name * */ - @Export(name="actionJiraServiceDeskParamAccount", type=String.class, parameters={}) + @Export(name="actionJiraServiceDeskParamAccount", refs={String.class}, tree="[0]") private Output actionJiraServiceDeskParamAccount; /** @@ -763,7 +763,7 @@ public Output> actionJiraServiceDeskParamAccount() { * Jira issue description * */ - @Export(name="actionJiraServiceDeskParamJiraDescription", type=String.class, parameters={}) + @Export(name="actionJiraServiceDeskParamJiraDescription", refs={String.class}, tree="[0]") private Output actionJiraServiceDeskParamJiraDescription; /** @@ -777,7 +777,7 @@ public Output> actionJiraServiceDeskParamJiraDescription() { * Jira issue type name * */ - @Export(name="actionJiraServiceDeskParamJiraIssueType", type=String.class, parameters={}) + @Export(name="actionJiraServiceDeskParamJiraIssueType", refs={String.class}, tree="[0]") private Output actionJiraServiceDeskParamJiraIssueType; /** @@ -791,7 +791,7 @@ public Output> actionJiraServiceDeskParamJiraIssueType() { * Jira priority of issue * */ - @Export(name="actionJiraServiceDeskParamJiraPriority", type=String.class, parameters={}) + @Export(name="actionJiraServiceDeskParamJiraPriority", refs={String.class}, tree="[0]") private Output actionJiraServiceDeskParamJiraPriority; /** @@ -805,7 +805,7 @@ public Output> actionJiraServiceDeskParamJiraPriority() { * Jira Project name * */ - @Export(name="actionJiraServiceDeskParamJiraProject", type=String.class, parameters={}) + @Export(name="actionJiraServiceDeskParamJiraProject", refs={String.class}, tree="[0]") private Output actionJiraServiceDeskParamJiraProject; /** @@ -819,7 +819,7 @@ public Output> actionJiraServiceDeskParamJiraProject() { * Jira issue title/summary * */ - @Export(name="actionJiraServiceDeskParamJiraSummary", type=String.class, parameters={}) + @Export(name="actionJiraServiceDeskParamJiraSummary", refs={String.class}, tree="[0]") private Output actionJiraServiceDeskParamJiraSummary; /** @@ -833,7 +833,7 @@ public Output> actionJiraServiceDeskParamJiraSummary() { * The PagerDuty custom details information. * */ - @Export(name="actionPagerdutyCustomDetails", type=String.class, parameters={}) + @Export(name="actionPagerdutyCustomDetails", refs={String.class}, tree="[0]") private Output actionPagerdutyCustomDetails; /** @@ -847,7 +847,7 @@ public Output actionPagerdutyCustomDetails() { * The PagerDuty integration Key. * */ - @Export(name="actionPagerdutyIntegrationKey", type=String.class, parameters={}) + @Export(name="actionPagerdutyIntegrationKey", refs={String.class}, tree="[0]") private Output actionPagerdutyIntegrationKey; /** @@ -861,7 +861,7 @@ public Output actionPagerdutyIntegrationKey() { * The PagerDuty integration Key override. * */ - @Export(name="actionPagerdutyIntegrationKeyOverride", type=String.class, parameters={}) + @Export(name="actionPagerdutyIntegrationKeyOverride", refs={String.class}, tree="[0]") private Output actionPagerdutyIntegrationKeyOverride; /** @@ -875,7 +875,7 @@ public Output actionPagerdutyIntegrationKeyOverride() { * The pagerduty integration URL. This integration uses Splunk's native webhooks to send events to PagerDuty. * */ - @Export(name="actionPagerdutyIntegrationUrl", type=String.class, parameters={}) + @Export(name="actionPagerdutyIntegrationUrl", refs={String.class}, tree="[0]") private Output actionPagerdutyIntegrationUrl; /** @@ -889,7 +889,7 @@ public Output> actionPagerdutyIntegrationUrl() { * The pagerduty integration URL override. This integration uses Splunk's native webhooks to send events to PagerDuty. * */ - @Export(name="actionPagerdutyIntegrationUrlOverride", type=String.class, parameters={}) + @Export(name="actionPagerdutyIntegrationUrlOverride", refs={String.class}, tree="[0]") private Output actionPagerdutyIntegrationUrlOverride; /** @@ -903,7 +903,7 @@ public Output> actionPagerdutyIntegrationUrlOverride() { * The state of the populate lookup action. Read-only attribute. Value ignored on POST. Use actions to specify a list of enabled actions. Defaults to 0. * */ - @Export(name="actionPopulateLookup", type=Boolean.class, parameters={}) + @Export(name="actionPopulateLookup", refs={Boolean.class}, tree="[0]") private Output actionPopulateLookup; /** @@ -917,7 +917,7 @@ public Output actionPopulateLookup() { * The search command (or pipeline) which is responsible for executing the action. * */ - @Export(name="actionPopulateLookupCommand", type=String.class, parameters={}) + @Export(name="actionPopulateLookupCommand", refs={String.class}, tree="[0]") private Output actionPopulateLookupCommand; /** @@ -931,7 +931,7 @@ public Output actionPopulateLookupCommand() { * Lookup name of path of the lookup to populate * */ - @Export(name="actionPopulateLookupDest", type=String.class, parameters={}) + @Export(name="actionPopulateLookupDest", refs={String.class}, tree="[0]") private Output actionPopulateLookupDest; /** @@ -945,7 +945,7 @@ public Output actionPopulateLookupDest() { * Sets the hostname used in the web link (url) sent in alert actions.This value accepts two forms: hostname (for example, splunkserver, splunkserver.example.com)\n\nprotocol://hostname:port (for example, http://splunkserver:8000, https://splunkserver.example.com:443) * */ - @Export(name="actionPopulateLookupHostname", type=String.class, parameters={}) + @Export(name="actionPopulateLookupHostname", refs={String.class}, tree="[0]") private Output actionPopulateLookupHostname; /** @@ -959,7 +959,7 @@ public Output actionPopulateLookupHostname() { * Sets the maximum number of search results sent using alerts. Defaults to 100. * */ - @Export(name="actionPopulateLookupMaxResults", type=Integer.class, parameters={}) + @Export(name="actionPopulateLookupMaxResults", refs={Integer.class}, tree="[0]") private Output actionPopulateLookupMaxResults; /** @@ -973,7 +973,7 @@ public Output actionPopulateLookupMaxResults() { * Valid values are: Integer[m|s|h|d]Sets the maximum amount of time the execution of an action takes before the action is aborted. Defaults to 5m. * */ - @Export(name="actionPopulateLookupMaxTime", type=Integer.class, parameters={}) + @Export(name="actionPopulateLookupMaxTime", refs={Integer.class}, tree="[0]") private Output actionPopulateLookupMaxTime; /** @@ -987,7 +987,7 @@ public Output actionPopulateLookupMaxTime() { * Indicates whether the execution of this action signifies a trackable alert. * */ - @Export(name="actionPopulateLookupTrackAlert", type=Boolean.class, parameters={}) + @Export(name="actionPopulateLookupTrackAlert", refs={Boolean.class}, tree="[0]") private Output actionPopulateLookupTrackAlert; /** @@ -1001,7 +1001,7 @@ public Output actionPopulateLookupTrackAlert() { * Valid values are Integer[p]Specifies the minimum time-to-live in seconds of the search artifacts if this action is triggered. If p follows Integer, then this specifies the number of scheduled periods. Defaults to 10p. * */ - @Export(name="actionPopulateLookupTtl", type=String.class, parameters={}) + @Export(name="actionPopulateLookupTtl", refs={String.class}, tree="[0]") private Output actionPopulateLookupTtl; /** @@ -1015,7 +1015,7 @@ public Output actionPopulateLookupTtl() { * The state of the rss action. Read-only attribute. Value ignored on POST.Use actions to specify a list of enabled actions. Defaults to 0. * */ - @Export(name="actionRss", type=Boolean.class, parameters={}) + @Export(name="actionRss", refs={Boolean.class}, tree="[0]") private Output actionRss; /** @@ -1029,7 +1029,7 @@ public Output actionRss() { * The search command (or pipeline) which is responsible for executing the action.Generally the command is a template search pipeline which is realized with values from the saved search. To reference saved search field values wrap them in $, for example to reference the savedsearch name use $name$, to reference the search use $search$. * */ - @Export(name="actionRssCommand", type=String.class, parameters={}) + @Export(name="actionRssCommand", refs={String.class}, tree="[0]") private Output actionRssCommand; /** @@ -1043,7 +1043,7 @@ public Output actionRssCommand() { * Sets the hostname used in the web link (url) sent in alert actions.This value accepts two forms:hostname (for example, splunkserver, splunkserver.example.com)\n\nprotocol://hostname:port (for example, http://splunkserver:8000, https://splunkserver.example.com:443) * */ - @Export(name="actionRssHostname", type=String.class, parameters={}) + @Export(name="actionRssHostname", refs={String.class}, tree="[0]") private Output actionRssHostname; /** @@ -1057,7 +1057,7 @@ public Output actionRssHostname() { * Sets the maximum number of search results sent using alerts. Defaults to 100. * */ - @Export(name="actionRssMaxResults", type=Integer.class, parameters={}) + @Export(name="actionRssMaxResults", refs={Integer.class}, tree="[0]") private Output actionRssMaxResults; /** @@ -1071,7 +1071,7 @@ public Output actionRssMaxResults() { * Valid values are Integer[m|s|h|d].Sets the maximum amount of time the execution of an action takes before the action is aborted. Defaults to 1m. * */ - @Export(name="actionRssMaxTime", type=Integer.class, parameters={}) + @Export(name="actionRssMaxTime", refs={Integer.class}, tree="[0]") private Output actionRssMaxTime; /** @@ -1085,7 +1085,7 @@ public Output actionRssMaxTime() { * Indicates whether the execution of this action signifies a trackable alert. * */ - @Export(name="actionRssTrackAlert", type=Boolean.class, parameters={}) + @Export(name="actionRssTrackAlert", refs={Boolean.class}, tree="[0]") private Output actionRssTrackAlert; /** @@ -1099,7 +1099,7 @@ public Output actionRssTrackAlert() { * Valid values are: Integer[p] Specifies the minimum time-to-live in seconds of the search artifacts if this action is triggered. If p follows Integer, specifies the number of scheduled periods. Defaults to 86400 (24 hours). * */ - @Export(name="actionRssTtl", type=String.class, parameters={}) + @Export(name="actionRssTtl", refs={String.class}, tree="[0]") private Output actionRssTtl; /** @@ -1113,7 +1113,7 @@ public Output actionRssTtl() { * The state of the script action. Read-only attribute. Value ignored on POST. Use actions to specify a list of enabled actions. Defaults to 0. * */ - @Export(name="actionScript", type=Boolean.class, parameters={}) + @Export(name="actionScript", refs={Boolean.class}, tree="[0]") private Output actionScript; /** @@ -1127,7 +1127,7 @@ public Output actionScript() { * The search command (or pipeline) which is responsible for executing the action.Generally the command is a template search pipeline which is realized with values from the saved search. To reference saved search field values wrap them in $, for example to reference the savedsearch name use $name$, to reference the search use $search$. * */ - @Export(name="actionScriptCommand", type=String.class, parameters={}) + @Export(name="actionScriptCommand", refs={String.class}, tree="[0]") private Output actionScriptCommand; /** @@ -1141,7 +1141,7 @@ public Output actionScriptCommand() { * File name of the script to call. Required if script action is enabled * */ - @Export(name="actionScriptFilename", type=String.class, parameters={}) + @Export(name="actionScriptFilename", refs={String.class}, tree="[0]") private Output actionScriptFilename; /** @@ -1155,7 +1155,7 @@ public Output actionScriptFilename() { * Sets the hostname used in the web link (url) sent in alert actions.This value accepts two forms:hostname (for example, splunkserver, splunkserver.example.com)\n\nprotocol://hostname:port (for example, http://splunkserver:8000, https://splunkserver.example.com:443) * */ - @Export(name="actionScriptHostname", type=String.class, parameters={}) + @Export(name="actionScriptHostname", refs={String.class}, tree="[0]") private Output actionScriptHostname; /** @@ -1169,7 +1169,7 @@ public Output actionScriptHostname() { * Sets the maximum number of search results sent using alerts. Defaults to 100. * */ - @Export(name="actionScriptMaxResults", type=Integer.class, parameters={}) + @Export(name="actionScriptMaxResults", refs={Integer.class}, tree="[0]") private Output actionScriptMaxResults; /** @@ -1183,7 +1183,7 @@ public Output actionScriptMaxResults() { * Valid values are Integer[m|s|h|d].Sets the maximum amount of time the execution of an action takes before the action is aborted. Defaults to 1m. * */ - @Export(name="actionScriptMaxTime", type=Integer.class, parameters={}) + @Export(name="actionScriptMaxTime", refs={Integer.class}, tree="[0]") private Output actionScriptMaxTime; /** @@ -1197,7 +1197,7 @@ public Output actionScriptMaxTime() { * Indicates whether the execution of this action signifies a trackable alert. * */ - @Export(name="actionScriptTrackAlert", type=Boolean.class, parameters={}) + @Export(name="actionScriptTrackAlert", refs={Boolean.class}, tree="[0]") private Output actionScriptTrackAlert; /** @@ -1211,7 +1211,7 @@ public Output actionScriptTrackAlert() { * Valid values are: Integer[p] Specifies the minimum time-to-live in seconds of the search artifacts if this action is triggered. If p follows Integer, specifies the number of scheduled periods. Defaults to 86400 (24 hours). * */ - @Export(name="actionScriptTtl", type=String.class, parameters={}) + @Export(name="actionScriptTtl", refs={String.class}, tree="[0]") private Output actionScriptTtl; /** @@ -1225,7 +1225,7 @@ public Output actionScriptTtl() { * Include a message attachment. Valid values are message, none, or alert_link * */ - @Export(name="actionSlackParamAttachment", type=String.class, parameters={}) + @Export(name="actionSlackParamAttachment", refs={String.class}, tree="[0]") private Output actionSlackParamAttachment; /** @@ -1239,7 +1239,7 @@ public Output> actionSlackParamAttachment() { * Slack channel to send the message to (Should start with # or @) * */ - @Export(name="actionSlackParamChannel", type=String.class, parameters={}) + @Export(name="actionSlackParamChannel", refs={String.class}, tree="[0]") private Output actionSlackParamChannel; /** @@ -1253,7 +1253,7 @@ public Output> actionSlackParamChannel() { * Show one or more fields from the search results below your Slack message. Comma-separated list of field names. Allows wildcards. eg. index,source* * */ - @Export(name="actionSlackParamFields", type=String.class, parameters={}) + @Export(name="actionSlackParamFields", refs={String.class}, tree="[0]") private Output actionSlackParamFields; /** @@ -1267,7 +1267,7 @@ public Output> actionSlackParamFields() { * Enter the chat message to send to the Slack channel. The message can include tokens that insert text based on the results of the search. * */ - @Export(name="actionSlackParamMessage", type=String.class, parameters={}) + @Export(name="actionSlackParamMessage", refs={String.class}, tree="[0]") private Output actionSlackParamMessage; /** @@ -1281,7 +1281,7 @@ public Output> actionSlackParamMessage() { * You can override the Slack webhook URL here if you need to send the alert message to a different Slack team * */ - @Export(name="actionSlackParamWebhookUrlOverride", type=String.class, parameters={}) + @Export(name="actionSlackParamWebhookUrlOverride", refs={String.class}, tree="[0]") private Output actionSlackParamWebhookUrlOverride; /** @@ -1295,7 +1295,7 @@ public Output> actionSlackParamWebhookUrlOverride() { * Account(s) for which the event is/ are to be created across ServiceNow instance(s). * */ - @Export(name="actionSnowEventParamAccount", type=String.class, parameters={}) + @Export(name="actionSnowEventParamAccount", refs={String.class}, tree="[0]") private Output actionSnowEventParamAccount; /** @@ -1315,7 +1315,7 @@ public Output actionSnowEventParamAccount() { * other fields and their values by || separated key-value format. For example, url=<value>||k1=v1||k2=v2||.... * */ - @Export(name="actionSnowEventParamAdditionalInfo", type=String.class, parameters={}) + @Export(name="actionSnowEventParamAdditionalInfo", refs={String.class}, tree="[0]") private Output actionSnowEventParamAdditionalInfo; /** @@ -1336,7 +1336,7 @@ public Output actionSnowEventParamAdditionalInfo() { * example, k1=v1||k2=v2. * */ - @Export(name="actionSnowEventParamCiIdentifier", type=String.class, parameters={}) + @Export(name="actionSnowEventParamCiIdentifier", refs={String.class}, tree="[0]") private Output actionSnowEventParamCiIdentifier; /** @@ -1353,7 +1353,7 @@ public Output actionSnowEventParamCiIdentifier() { * in the em_event table of ServiceNow. * */ - @Export(name="actionSnowEventParamCustomFields", type=String.class, parameters={}) + @Export(name="actionSnowEventParamCustomFields", refs={String.class}, tree="[0]") private Output actionSnowEventParamCustomFields; /** @@ -1369,7 +1369,7 @@ public Output actionSnowEventParamCustomFields() { * A brief description of the event. * */ - @Export(name="actionSnowEventParamDescription", type=String.class, parameters={}) + @Export(name="actionSnowEventParamDescription", refs={String.class}, tree="[0]") private Output actionSnowEventParamDescription; /** @@ -1384,7 +1384,7 @@ public Output actionSnowEventParamDescription() { * same host name, the event is automatically assigned to the matching CI. * */ - @Export(name="actionSnowEventParamNode", type=String.class, parameters={}) + @Export(name="actionSnowEventParamNode", refs={String.class}, tree="[0]") private Output actionSnowEventParamNode; /** @@ -1399,7 +1399,7 @@ public Output actionSnowEventParamNode() { * The resource, formatted to follow your organization's ITIL standards and mapping. For example, resource='CPU'. * */ - @Export(name="actionSnowEventParamResource", type=String.class, parameters={}) + @Export(name="actionSnowEventParamResource", refs={String.class}, tree="[0]") private Output actionSnowEventParamResource; /** @@ -1413,7 +1413,7 @@ public Output actionSnowEventParamResource() { * The severity associated with the event. 0 - Clear 1 - Critical 2 - Major 3 - Minor 4 - Warning * */ - @Export(name="actionSnowEventParamSeverity", type=Integer.class, parameters={}) + @Export(name="actionSnowEventParamSeverity", refs={Integer.class}, tree="[0]") private Output actionSnowEventParamSeverity; /** @@ -1427,7 +1427,7 @@ public Output actionSnowEventParamSeverity() { * The type, formatted to follow your organization's ITIL standards and mapping. For example, type='Virtual Machine'. * */ - @Export(name="actionSnowEventParamType", type=String.class, parameters={}) + @Export(name="actionSnowEventParamType", refs={String.class}, tree="[0]") private Output actionSnowEventParamType; /** @@ -1441,7 +1441,7 @@ public Output actionSnowEventParamType() { * The state of the summary index action. Read-only attribute. Value ignored on POST. Use actions to specify a list of enabled actions. Defaults to 0. * */ - @Export(name="actionSummaryIndex", type=Boolean.class, parameters={}) + @Export(name="actionSummaryIndex", refs={Boolean.class}, tree="[0]") private Output actionSummaryIndex; /** @@ -1455,7 +1455,7 @@ public Output actionSummaryIndex() { * The search command (or pipeline) which is responsible for executing the action.Generally the command is a template search pipeline which is realized with values from the saved search. To reference saved search field values wrap them in $, for example to reference the savedsearch name use $name$, to reference the search use $search$. * */ - @Export(name="actionSummaryIndexCommand", type=String.class, parameters={}) + @Export(name="actionSummaryIndexCommand", refs={String.class}, tree="[0]") private Output actionSummaryIndexCommand; /** @@ -1469,7 +1469,7 @@ public Output actionSummaryIndexCommand() { * Sets the hostname used in the web link (url) sent in summary-index alert actions.This value accepts two forms:hostname (for example, splunkserver, splunkserver.example.com)protocol://hostname:port (for example, http://splunkserver:8000, https://splunkserver.example.com:443) * */ - @Export(name="actionSummaryIndexHostname", type=String.class, parameters={}) + @Export(name="actionSummaryIndexHostname", refs={String.class}, tree="[0]") private Output actionSummaryIndexHostname; /** @@ -1483,7 +1483,7 @@ public Output actionSummaryIndexHostname() { * Determines whether to execute the summary indexing action as part of the scheduled search.NOTE: This option is considered only if the summary index action is enabled and is always executed (in other words, if counttype = always).Defaults to true * */ - @Export(name="actionSummaryIndexInline", type=Boolean.class, parameters={}) + @Export(name="actionSummaryIndexInline", refs={Boolean.class}, tree="[0]") private Output actionSummaryIndexInline; /** @@ -1497,7 +1497,7 @@ public Output actionSummaryIndexInline() { * Sets the maximum number of search results sent using alerts. Defaults to 100. * */ - @Export(name="actionSummaryIndexMaxResults", type=Integer.class, parameters={}) + @Export(name="actionSummaryIndexMaxResults", refs={Integer.class}, tree="[0]") private Output actionSummaryIndexMaxResults; /** @@ -1511,7 +1511,7 @@ public Output actionSummaryIndexMaxResults() { * Valid values are Integer[m|s|h|d].Sets the maximum amount of time the execution of an action takes before the action is aborted. Defaults to 1m. * */ - @Export(name="actionSummaryIndexMaxTime", type=Integer.class, parameters={}) + @Export(name="actionSummaryIndexMaxTime", refs={Integer.class}, tree="[0]") private Output actionSummaryIndexMaxTime; /** @@ -1525,7 +1525,7 @@ public Output actionSummaryIndexMaxTime() { * Specifies the name of the summary index where the results of the scheduled search are saved.Defaults to summary. * */ - @Export(name="actionSummaryIndexName", type=String.class, parameters={}) + @Export(name="actionSummaryIndexName", refs={String.class}, tree="[0]") private Output actionSummaryIndexName; /** @@ -1539,7 +1539,7 @@ public Output actionSummaryIndexName() { * Indicates whether the execution of this action signifies a trackable alert. * */ - @Export(name="actionSummaryIndexTrackAlert", type=Boolean.class, parameters={}) + @Export(name="actionSummaryIndexTrackAlert", refs={Boolean.class}, tree="[0]") private Output actionSummaryIndexTrackAlert; /** @@ -1553,7 +1553,7 @@ public Output actionSummaryIndexTrackAlert() { * Valid values are: Integer[p] Specifies the minimum time-to-live in seconds of the search artifacts if this action is triggered. If p follows Integer, specifies the number of scheduled periods. Defaults to 86400 (24 hours). * */ - @Export(name="actionSummaryIndexTtl", type=String.class, parameters={}) + @Export(name="actionSummaryIndexTtl", refs={String.class}, tree="[0]") private Output actionSummaryIndexTtl; /** @@ -1567,7 +1567,7 @@ public Output actionSummaryIndexTtl() { * URL to send the HTTP POST request to. Must be accessible from the Splunk server * */ - @Export(name="actionWebhookParamUrl", type=String.class, parameters={}) + @Export(name="actionWebhookParamUrl", refs={String.class}, tree="[0]") private Output actionWebhookParamUrl; /** @@ -1581,7 +1581,7 @@ public Output> actionWebhookParamUrl() { * A comma-separated list of actions to enable. For example: rss,email * */ - @Export(name="actions", type=String.class, parameters={}) + @Export(name="actions", refs={String.class}, tree="[0]") private Output actions; /** @@ -1595,7 +1595,7 @@ public Output actions() { * One of the following strings: greater than, less than, equal to, rises by, drops by, rises by perc, drops by percUsed with alert_threshold to trigger alert actions. * */ - @Export(name="alertComparator", type=String.class, parameters={}) + @Export(name="alertComparator", refs={String.class}, tree="[0]") private Output alertComparator; /** @@ -1609,7 +1609,7 @@ public Output alertComparator() { * Contains a conditional search that is evaluated against the results of the saved search. Defaults to an empty string. * */ - @Export(name="alertCondition", type=String.class, parameters={}) + @Export(name="alertCondition", refs={String.class}, tree="[0]") private Output alertCondition; /** @@ -1623,7 +1623,7 @@ public Output alertCondition() { * Specifies whether alert actions are applied to the entire result set or on each individual result.Defaults to 1 (true). * */ - @Export(name="alertDigestMode", type=Boolean.class, parameters={}) + @Export(name="alertDigestMode", refs={Boolean.class}, tree="[0]") private Output alertDigestMode; /** @@ -1637,7 +1637,7 @@ public Output alertDigestMode() { * Valid values: [number][time-unit]Sets the period of time to show the alert in the dashboard. Defaults to 24h.Use [number][time-unit] to specify a time. For example: 60 = 60 seconds, 1m = 1 minute, 1h = 60 minutes = 1 hour. * */ - @Export(name="alertExpires", type=String.class, parameters={}) + @Export(name="alertExpires", refs={String.class}, tree="[0]") private Output alertExpires; /** @@ -1651,7 +1651,7 @@ public Output alertExpires() { * Valid values: (1 | 2 | 3 | 4 | 5 | 6) Sets the alert severity level.Valid values are:1 DEBUG 2 INFO 3 WARN 4 ERROR 5 SEVERE 6 FATAL Defaults to 3. * */ - @Export(name="alertSeverity", type=Integer.class, parameters={}) + @Export(name="alertSeverity", refs={Integer.class}, tree="[0]") private Output alertSeverity; /** @@ -1665,7 +1665,7 @@ public Output alertSeverity() { * Indicates whether alert suppression is enabled for this scheduled search. * */ - @Export(name="alertSuppress", type=Boolean.class, parameters={}) + @Export(name="alertSuppress", refs={Boolean.class}, tree="[0]") private Output alertSuppress; /** @@ -1679,7 +1679,7 @@ public Output alertSuppress() { * Comma delimited list of fields to use for suppression when doing per result alerting. Required if suppression is turned on and per result alerting is enabled. * */ - @Export(name="alertSuppressFields", type=String.class, parameters={}) + @Export(name="alertSuppressFields", refs={String.class}, tree="[0]") private Output alertSuppressFields; /** @@ -1693,7 +1693,7 @@ public Output alertSuppressFields() { * Valid values: [number][time-unit] Specifies the suppresion period. Only valid if alert.supress is enabled.Use [number][time-unit] to specify a time. For example: 60 = 60 seconds, 1m = 1 minute, 1h = 60 minutes = 1 hour. * */ - @Export(name="alertSuppressPeriod", type=String.class, parameters={}) + @Export(name="alertSuppressPeriod", refs={String.class}, tree="[0]") private Output alertSuppressPeriod; /** @@ -1707,7 +1707,7 @@ public Output alertSuppressPeriod() { * Valid values are: Integer[%]Specifies the value to compare (see alert_comparator) before triggering the alert actions. If expressed as a percentage, indicates value to use when alert_comparator is set to rises by perc or drops by perc. * */ - @Export(name="alertThreshold", type=String.class, parameters={}) + @Export(name="alertThreshold", refs={String.class}, tree="[0]") private Output alertThreshold; /** @@ -1721,7 +1721,7 @@ public Output alertThreshold() { * Valid values: (true | false | auto) Specifies whether to track the actions triggered by this scheduled search.auto - determine whether to track or not based on the tracking setting of each action, do not track scheduled searches that always trigger actions. Default value true - force alert tracking.false - disable alert tracking for this search. * */ - @Export(name="alertTrack", type=Boolean.class, parameters={}) + @Export(name="alertTrack", refs={Boolean.class}, tree="[0]") private Output alertTrack; /** @@ -1735,7 +1735,7 @@ public Output alertTrack() { * What to base the alert on, overriden by alert_condition if it is specified. Valid values are: always, custom, number of events, number of hosts, number of sources. * */ - @Export(name="alertType", type=String.class, parameters={}) + @Export(name="alertType", refs={String.class}, tree="[0]") private Output alertType; /** @@ -1749,7 +1749,7 @@ public Output alertType() { * Allows the search scheduler to distribute scheduled searches randomly and more evenly over their specified search periods. * */ - @Export(name="allowSkew", type=String.class, parameters={}) + @Export(name="allowSkew", refs={String.class}, tree="[0]") private Output allowSkew; /** @@ -1763,7 +1763,7 @@ public Output allowSkew() { * Indicates whether the scheduler should ensure that the data for this search is automatically summarized. Defaults to 0. * */ - @Export(name="autoSummarize", type=Boolean.class, parameters={}) + @Export(name="autoSummarize", refs={Boolean.class}, tree="[0]") private Output autoSummarize; /** @@ -1777,7 +1777,7 @@ public Output autoSummarize() { * An auto summarization template for this search. See auto summarization options in savedsearches.conf for more details. * */ - @Export(name="autoSummarizeCommand", type=String.class, parameters={}) + @Export(name="autoSummarizeCommand", refs={String.class}, tree="[0]") private Output autoSummarizeCommand; /** @@ -1791,7 +1791,7 @@ public Output autoSummarizeCommand() { * Cron schedule that probes and generates the summaries for this saved search.The default value is *{@literal /}10 * * * * and corresponds to \`every ten hours\`. * */ - @Export(name="autoSummarizeCronSchedule", type=String.class, parameters={}) + @Export(name="autoSummarizeCronSchedule", refs={String.class}, tree="[0]") private Output autoSummarizeCronSchedule; /** @@ -1805,7 +1805,7 @@ public Output autoSummarizeCronSchedule() { * A time string that specifies the earliest time for summarizing this search. Can be a relative or absolute time.If this value is an absolute time, use the dispatch.time_format to format the value. * */ - @Export(name="autoSummarizeDispatchEarliestTime", type=String.class, parameters={}) + @Export(name="autoSummarizeDispatchEarliestTime", refs={String.class}, tree="[0]") private Output autoSummarizeDispatchEarliestTime; /** @@ -1819,7 +1819,7 @@ public Output autoSummarizeDispatchEarliestTime() { * A time string that specifies the latest time for summarizing this saved search. Can be a relative or absolute time.If this value is an absolute time, use the dispatch.time_format to format the value. * */ - @Export(name="autoSummarizeDispatchLatestTime", type=String.class, parameters={}) + @Export(name="autoSummarizeDispatchLatestTime", refs={String.class}, tree="[0]") private Output autoSummarizeDispatchLatestTime; /** @@ -1833,7 +1833,7 @@ public Output autoSummarizeDispatchLatestTime() { * Defines the time format that Splunk software uses to specify the earliest and latest time. Defaults to %FT%T.%Q%:z * */ - @Export(name="autoSummarizeDispatchTimeFormat", type=String.class, parameters={}) + @Export(name="autoSummarizeDispatchTimeFormat", refs={String.class}, tree="[0]") private Output autoSummarizeDispatchTimeFormat; /** @@ -1847,7 +1847,7 @@ public Output autoSummarizeDispatchTimeFormat() { * Valid values: Integer[p]. Defaults to 60.Indicates the time to live (in seconds) for the artifacts of the summarization of the scheduled search. * */ - @Export(name="autoSummarizeDispatchTtl", type=String.class, parameters={}) + @Export(name="autoSummarizeDispatchTtl", refs={String.class}, tree="[0]") private Output autoSummarizeDispatchTtl; /** @@ -1861,7 +1861,7 @@ public Output autoSummarizeDispatchTtl() { * The maximum number of buckets with the suspended summarization before the summarization search is completely stopped, and the summarization of the search is suspended for auto_summarize.suspend_period. Defaults to 2. * */ - @Export(name="autoSummarizeMaxDisabledBuckets", type=Integer.class, parameters={}) + @Export(name="autoSummarizeMaxDisabledBuckets", refs={Integer.class}, tree="[0]") private Output autoSummarizeMaxDisabledBuckets; /** @@ -1875,7 +1875,7 @@ public Output autoSummarizeMaxDisabledBuckets() { * The maximum ratio of summary_size/bucket_size, which specifies when to stop summarization and deem it unhelpful for a bucket. Defaults to 0.1 Note: The test is only performed if the summary size is larger than auto_summarize.max_summary_size. * */ - @Export(name="autoSummarizeMaxSummaryRatio", type=Double.class, parameters={}) + @Export(name="autoSummarizeMaxSummaryRatio", refs={Double.class}, tree="[0]") private Output autoSummarizeMaxSummaryRatio; /** @@ -1889,7 +1889,7 @@ public Output autoSummarizeMaxSummaryRatio() { * The minimum summary size, in bytes, before testing whether the summarization is helpful.The default value is 52428800 and is equivalent to 5MB. * */ - @Export(name="autoSummarizeMaxSummarySize", type=Integer.class, parameters={}) + @Export(name="autoSummarizeMaxSummarySize", refs={Integer.class}, tree="[0]") private Output autoSummarizeMaxSummarySize; /** @@ -1903,7 +1903,7 @@ public Output autoSummarizeMaxSummarySize() { * Maximum time (in seconds) that the summary search is allowed to run. Defaults to 3600.Note: This is an approximate time. The summary search stops at clean bucket boundaries. * */ - @Export(name="autoSummarizeMaxTime", type=Integer.class, parameters={}) + @Export(name="autoSummarizeMaxTime", refs={Integer.class}, tree="[0]") private Output autoSummarizeMaxTime; /** @@ -1917,7 +1917,7 @@ public Output autoSummarizeMaxTime() { * Time specfier indicating when to suspend summarization of this search if the summarization is deemed unhelpful.Defaults to 24h. * */ - @Export(name="autoSummarizeSuspendPeriod", type=String.class, parameters={}) + @Export(name="autoSummarizeSuspendPeriod", refs={String.class}, tree="[0]") private Output autoSummarizeSuspendPeriod; /** @@ -1931,7 +1931,7 @@ public Output autoSummarizeSuspendPeriod() { * The list of time ranges that each summarized chunk should span. This comprises the list of available granularity levels for which summaries would be available. Specify a comma delimited list of time specifiers.For example a timechart over the last month whose granuality is at the day level should set this to 1d. If you need the same data summarized at the hour level for weekly charts, use: 1h,1d. * */ - @Export(name="autoSummarizeTimespan", type=String.class, parameters={}) + @Export(name="autoSummarizeTimespan", refs={String.class}, tree="[0]") private Output autoSummarizeTimespan; /** @@ -1945,7 +1945,7 @@ public Output autoSummarizeTimespan() { * Valid values: cron stringThe cron schedule to execute this search. For example: *{@literal /}5 * * * * causes the search to execute every 5 minutes. * */ - @Export(name="cronSchedule", type=String.class, parameters={}) + @Export(name="cronSchedule", refs={String.class}, tree="[0]") private Output cronSchedule; /** @@ -1959,7 +1959,7 @@ public Output cronSchedule() { * Human-readable description of this saved search. Defaults to empty string. * */ - @Export(name="description", type=String.class, parameters={}) + @Export(name="description", refs={String.class}, tree="[0]") private Output description; /** @@ -1973,7 +1973,7 @@ public Output description() { * Indicates if the saved search is enabled. Defaults to 0.Disabled saved searches are not visible in Splunk Web. * */ - @Export(name="disabled", type=Boolean.class, parameters={}) + @Export(name="disabled", refs={Boolean.class}, tree="[0]") private Output disabled; /** @@ -1987,7 +1987,7 @@ public Output disabled() { * The maximum number of timeline buckets. Defaults to 0. * */ - @Export(name="dispatchBuckets", type=Integer.class, parameters={}) + @Export(name="dispatchBuckets", refs={Integer.class}, tree="[0]") private Output dispatchBuckets; /** @@ -2001,7 +2001,7 @@ public Output dispatchBuckets() { * A time string that specifies the earliest time for this search. Can be a relative or absolute time. If this value is an absolute time, use the dispatch.time_format to format the value. * */ - @Export(name="dispatchEarliestTime", type=String.class, parameters={}) + @Export(name="dispatchEarliestTime", refs={String.class}, tree="[0]") private Output dispatchEarliestTime; /** @@ -2015,7 +2015,7 @@ public Output dispatchEarliestTime() { * A time string that specifies the earliest index time for this search. Can be a relative or absolute time. If this value is an absolute time, use the dispatch.time_format to format the value. * */ - @Export(name="dispatchIndexEarliest", type=String.class, parameters={}) + @Export(name="dispatchIndexEarliest", refs={String.class}, tree="[0]") private Output dispatchIndexEarliest; /** @@ -2029,7 +2029,7 @@ public Output dispatchIndexEarliest() { * A time string that specifies the latest index time for this search. Can be a relative or absolute time. If this value is an absolute time, use the dispatch.time_format to format the value. * */ - @Export(name="dispatchIndexLatest", type=String.class, parameters={}) + @Export(name="dispatchIndexLatest", refs={String.class}, tree="[0]") private Output dispatchIndexLatest; /** @@ -2043,7 +2043,7 @@ public Output dispatchIndexLatest() { * A time string that specifies the earliest time for this search. Can be a relative or absolute time. If this value is an absolute time, use the dispatch.time_format to format the value. * */ - @Export(name="dispatchIndexedRealtime", type=Boolean.class, parameters={}) + @Export(name="dispatchIndexedRealtime", refs={Boolean.class}, tree="[0]") private Output dispatchIndexedRealtime; /** @@ -2057,7 +2057,7 @@ public Output dispatchIndexedRealtime() { * Allows for a per-job override of the [search] indexed_realtime_disk_sync_delay setting in limits.conf. * */ - @Export(name="dispatchIndexedRealtimeMinspan", type=Integer.class, parameters={}) + @Export(name="dispatchIndexedRealtimeMinspan", refs={Integer.class}, tree="[0]") private Output dispatchIndexedRealtimeMinspan; /** @@ -2071,7 +2071,7 @@ public Output dispatchIndexedRealtimeMinspan() { * Allows for a per-job override of the [search] indexed_realtime_disk_sync_delay setting in limits.conf. * */ - @Export(name="dispatchIndexedRealtimeOffset", type=Integer.class, parameters={}) + @Export(name="dispatchIndexedRealtimeOffset", refs={Integer.class}, tree="[0]") private Output dispatchIndexedRealtimeOffset; /** @@ -2085,7 +2085,7 @@ public Output dispatchIndexedRealtimeOffset() { * A time string that specifies the latest time for this saved search. Can be a relative or absolute time.If this value is an absolute time, use the dispatch.time_format to format the value. * */ - @Export(name="dispatchLatestTime", type=String.class, parameters={}) + @Export(name="dispatchLatestTime", refs={String.class}, tree="[0]") private Output dispatchLatestTime; /** @@ -2099,7 +2099,7 @@ public Output dispatchLatestTime() { * Enables or disables the lookups for this search. Defaults to 1. * */ - @Export(name="dispatchLookups", type=Boolean.class, parameters={}) + @Export(name="dispatchLookups", refs={Boolean.class}, tree="[0]") private Output dispatchLookups; /** @@ -2113,7 +2113,7 @@ public Output dispatchLookups() { * The maximum number of results before finalizing the search. Defaults to 500000. * */ - @Export(name="dispatchMaxCount", type=Integer.class, parameters={}) + @Export(name="dispatchMaxCount", refs={Integer.class}, tree="[0]") private Output dispatchMaxCount; /** @@ -2127,7 +2127,7 @@ public Output dispatchMaxCount() { * Indicates the maximum amount of time (in seconds) before finalizing the search. Defaults to 0. * */ - @Export(name="dispatchMaxTime", type=Integer.class, parameters={}) + @Export(name="dispatchMaxTime", refs={Integer.class}, tree="[0]") private Output dispatchMaxTime; /** @@ -2141,7 +2141,7 @@ public Output dispatchMaxTime() { * Specifies, in seconds, how frequently the MapReduce reduce phase runs on accumulated map values. Defaults to 10. * */ - @Export(name="dispatchReduceFreq", type=Integer.class, parameters={}) + @Export(name="dispatchReduceFreq", refs={Integer.class}, tree="[0]") private Output dispatchReduceFreq; /** @@ -2155,7 +2155,7 @@ public Output dispatchReduceFreq() { * Whether to back fill the real time window for this search. Parameter valid only if this is a real time search. Defaults to 0. * */ - @Export(name="dispatchRtBackfill", type=Boolean.class, parameters={}) + @Export(name="dispatchRtBackfill", refs={Boolean.class}, tree="[0]") private Output dispatchRtBackfill; /** @@ -2169,7 +2169,7 @@ public Output dispatchRtBackfill() { * Allows for a per-job override of the [search] indexed_realtime_maximum_span setting in limits.conf. * */ - @Export(name="dispatchRtMaximumSpan", type=Integer.class, parameters={}) + @Export(name="dispatchRtMaximumSpan", refs={Integer.class}, tree="[0]") private Output dispatchRtMaximumSpan; /** @@ -2183,7 +2183,7 @@ public Output dispatchRtMaximumSpan() { * Specifies whether a new search process spawns when this saved search is executed. Defaults to 1. Searches against indexes must run in a separate process. * */ - @Export(name="dispatchSpawnProcess", type=Boolean.class, parameters={}) + @Export(name="dispatchSpawnProcess", refs={Boolean.class}, tree="[0]") private Output dispatchSpawnProcess; /** @@ -2197,7 +2197,7 @@ public Output dispatchSpawnProcess() { * A time format string that defines the time format for specifying the earliest and latest time. Defaults to %FT%T.%Q%:z * */ - @Export(name="dispatchTimeFormat", type=String.class, parameters={}) + @Export(name="dispatchTimeFormat", refs={String.class}, tree="[0]") private Output dispatchTimeFormat; /** @@ -2211,7 +2211,7 @@ public Output dispatchTimeFormat() { * Valid values: Integer[p]. Defaults to 2p.Indicates the time to live (in seconds) for the artifacts of the scheduled search, if no actions are triggered. * */ - @Export(name="dispatchTtl", type=String.class, parameters={}) + @Export(name="dispatchTtl", refs={String.class}, tree="[0]") private Output dispatchTtl; /** @@ -2225,7 +2225,7 @@ public Output dispatchTtl() { * Defines the default UI view name (not label) in which to load the results. Accessibility is subject to the user having sufficient permissions. * */ - @Export(name="displayView", type=String.class, parameters={}) + @Export(name="displayView", refs={String.class}, tree="[0]") private Output displayView; /** @@ -2239,7 +2239,7 @@ public Output displayView() { * Whether this search is to be run on a schedule * */ - @Export(name="isScheduled", type=Boolean.class, parameters={}) + @Export(name="isScheduled", refs={Boolean.class}, tree="[0]") private Output isScheduled; /** @@ -2253,7 +2253,7 @@ public Output isScheduled() { * Specifies whether this saved search should be listed in the visible saved search list. Defaults to 1. * */ - @Export(name="isVisible", type=Boolean.class, parameters={}) + @Export(name="isVisible", refs={Boolean.class}, tree="[0]") private Output isVisible; /** @@ -2267,7 +2267,7 @@ public Output> isVisible() { * The maximum number of concurrent instances of this search the scheduler is allowed to run. Defaults to 1. * */ - @Export(name="maxConcurrent", type=Integer.class, parameters={}) + @Export(name="maxConcurrent", refs={Integer.class}, tree="[0]") private Output maxConcurrent; /** @@ -2281,7 +2281,7 @@ public Output maxConcurrent() { * A name for the search. * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** @@ -2295,7 +2295,7 @@ public Output name() { * Defaults to 1. Controls the way the scheduler computes the next execution time of a scheduled search. If this value is set to 1, the scheduler bases its determination of the next scheduled search execution time on the current time. If this value is set to 0, the scheduler bases its determination of the next scheduled search on the last search execution time. This is called continuous scheduling. If set to 0, the scheduler never skips scheduled execution periods. However, the execution of the saved search might fall behind depending on the scheduler load. Use continuous scheduling whenever you enable the summary index option. * */ - @Export(name="realtimeSchedule", type=Boolean.class, parameters={}) + @Export(name="realtimeSchedule", refs={Boolean.class}, tree="[0]") private Output realtimeSchedule; /** @@ -2309,7 +2309,7 @@ public Output realtimeSchedule() { * Specifies a field used by Splunk Web to denote the app this search should be dispatched in. * */ - @Export(name="requestUiDispatchApp", type=String.class, parameters={}) + @Export(name="requestUiDispatchApp", refs={String.class}, tree="[0]") private Output requestUiDispatchApp; /** @@ -2323,7 +2323,7 @@ public Output requestUiDispatchApp() { * Specifies a field used by Splunk Web to denote the view this search should be displayed in. * */ - @Export(name="requestUiDispatchView", type=String.class, parameters={}) + @Export(name="requestUiDispatchView", refs={String.class}, tree="[0]") private Output requestUiDispatchView; /** @@ -2337,7 +2337,7 @@ public Output requestUiDispatchView() { * Specifies whether to restart a real-time search managed by the scheduler when a search peer becomes available for this saved search. Defaults to 1. * */ - @Export(name="restartOnSearchpeerAdd", type=Boolean.class, parameters={}) + @Export(name="restartOnSearchpeerAdd", refs={Boolean.class}, tree="[0]") private Output restartOnSearchpeerAdd; /** @@ -2351,7 +2351,7 @@ public Output restartOnSearchpeerAdd() { * Indicates whether this search runs at startup. If it does not run on startup, it runs at the next scheduled time. Defaults to 0. Set to 1 for scheduled searches that populate lookup tables. * */ - @Export(name="runOnStartup", type=Boolean.class, parameters={}) + @Export(name="runOnStartup", refs={Boolean.class}, tree="[0]") private Output runOnStartup; /** @@ -2365,7 +2365,7 @@ public Output runOnStartup() { * Raises the scheduling priority of the named search. Defaults to Default * */ - @Export(name="schedulePriority", type=String.class, parameters={}) + @Export(name="schedulePriority", refs={String.class}, tree="[0]") private Output schedulePriority; /** @@ -2379,7 +2379,7 @@ public Output schedulePriority() { * Time window (in minutes) during which the search has lower priority. Defaults to 0. The scheduler can give higher priority to more critical searches during this window. The window must be smaller than the search period.Set to auto to let the scheduler determine the optimal window value automatically. Requires the edit_search_schedule_window capability to override auto. * */ - @Export(name="scheduleWindow", type=String.class, parameters={}) + @Export(name="scheduleWindow", refs={String.class}, tree="[0]") private Output scheduleWindow; /** @@ -2393,7 +2393,7 @@ public Output scheduleWindow() { * Required when creating a new search. * */ - @Export(name="search", type=String.class, parameters={}) + @Export(name="search", refs={String.class}, tree="[0]") private Output search; /** @@ -2407,7 +2407,7 @@ public Output search() { * Defines the viewstate id associated with the UI view listed in 'displayview'. * */ - @Export(name="vsid", type=String.class, parameters={}) + @Export(name="vsid", refs={String.class}, tree="[0]") private Output vsid; /** @@ -2421,7 +2421,7 @@ public Output vsid() { * Specifies the new workload pool where the existing running search will be placed.` * */ - @Export(name="workloadPool", type=String.class, parameters={}) + @Export(name="workloadPool", refs={String.class}, tree="[0]") private Output workloadPool; /** diff --git a/sdk/java/src/main/java/com/pulumi/splunk/ShIndexesManager.java b/sdk/java/src/main/java/com/pulumi/splunk/ShIndexesManager.java index e0601b34..12fa5b58 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/ShIndexesManager.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/ShIndexesManager.java @@ -59,7 +59,7 @@ */ @ResourceType(type="splunk:index/shIndexesManager:ShIndexesManager") public class ShIndexesManager extends com.pulumi.resources.CustomResource { - @Export(name="acl", type=ShIndexesManagerAcl.class, parameters={}) + @Export(name="acl", refs={ShIndexesManagerAcl.class}, tree="[0]") private Output acl; public Output acl() { @@ -69,7 +69,7 @@ public Output acl() { * Valid values: (event | metric). Specifies the type of index. * */ - @Export(name="datatype", type=String.class, parameters={}) + @Export(name="datatype", refs={String.class}, tree="[0]") private Output datatype; /** @@ -84,7 +84,7 @@ public Output datatype() { * Defaults to 94608000 (3 years).Freezing data means it is removed from the index. If you need to archive your data, refer to coldToFrozenDir and coldToFrozenScript parameter documentation. * */ - @Export(name="frozenTimePeriodInSecs", type=String.class, parameters={}) + @Export(name="frozenTimePeriodInSecs", refs={String.class}, tree="[0]") private Output frozenTimePeriodInSecs; /** @@ -100,7 +100,7 @@ public Output> frozenTimePeriodInSecs() { * Defaults to 100 MB. * */ - @Export(name="maxGlobalRawDataSizeMb", type=String.class, parameters={}) + @Export(name="maxGlobalRawDataSizeMb", refs={String.class}, tree="[0]") private Output maxGlobalRawDataSizeMb; /** @@ -115,7 +115,7 @@ public Output> maxGlobalRawDataSizeMb() { * The name of the index to create. * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** diff --git a/sdk/java/src/main/java/com/pulumi/splunk/Utilities.java b/sdk/java/src/main/java/com/pulumi/splunk/Utilities.java index 934bad7e..05144f14 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/Utilities.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/Utilities.java @@ -57,7 +57,6 @@ public static Optional getEnvDouble(String... names) { return Optional.empty(); } - // TODO: this probably should be done via a mutator on the InvokeOptions public static InvokeOptions withVersion(@Nullable InvokeOptions options) { if (options != null && options.getVersion().isPresent()) { return options; diff --git a/sdk/java/src/main/java/com/pulumi/splunk/outputs/AppsLocalAcl.java b/sdk/java/src/main/java/com/pulumi/splunk/outputs/AppsLocalAcl.java index aa610913..fd3f4526 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/outputs/AppsLocalAcl.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/outputs/AppsLocalAcl.java @@ -158,19 +158,19 @@ public Builder writes(String... writes) { return writes(List.of(writes)); } public AppsLocalAcl build() { - final var o = new AppsLocalAcl(); - o.app = app; - o.canChangePerms = canChangePerms; - o.canShareApp = canShareApp; - o.canShareGlobal = canShareGlobal; - o.canShareUser = canShareUser; - o.canWrite = canWrite; - o.owner = owner; - o.reads = reads; - o.removable = removable; - o.sharing = sharing; - o.writes = writes; - return o; + final var _resultValue = new AppsLocalAcl(); + _resultValue.app = app; + _resultValue.canChangePerms = canChangePerms; + _resultValue.canShareApp = canShareApp; + _resultValue.canShareGlobal = canShareGlobal; + _resultValue.canShareUser = canShareUser; + _resultValue.canWrite = canWrite; + _resultValue.owner = owner; + _resultValue.reads = reads; + _resultValue.removable = removable; + _resultValue.sharing = sharing; + _resultValue.writes = writes; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/splunk/outputs/ConfigsConfAcl.java b/sdk/java/src/main/java/com/pulumi/splunk/outputs/ConfigsConfAcl.java index 95cc2013..0a3983ab 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/outputs/ConfigsConfAcl.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/outputs/ConfigsConfAcl.java @@ -158,19 +158,19 @@ public Builder writes(String... writes) { return writes(List.of(writes)); } public ConfigsConfAcl build() { - final var o = new ConfigsConfAcl(); - o.app = app; - o.canChangePerms = canChangePerms; - o.canShareApp = canShareApp; - o.canShareGlobal = canShareGlobal; - o.canShareUser = canShareUser; - o.canWrite = canWrite; - o.owner = owner; - o.reads = reads; - o.removable = removable; - o.sharing = sharing; - o.writes = writes; - return o; + final var _resultValue = new ConfigsConfAcl(); + _resultValue.app = app; + _resultValue.canChangePerms = canChangePerms; + _resultValue.canShareApp = canShareApp; + _resultValue.canShareGlobal = canShareGlobal; + _resultValue.canShareUser = canShareUser; + _resultValue.canWrite = canWrite; + _resultValue.owner = owner; + _resultValue.reads = reads; + _resultValue.removable = removable; + _resultValue.sharing = sharing; + _resultValue.writes = writes; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/splunk/outputs/DataUiViewsAcl.java b/sdk/java/src/main/java/com/pulumi/splunk/outputs/DataUiViewsAcl.java index 49e1c331..269b2885 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/outputs/DataUiViewsAcl.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/outputs/DataUiViewsAcl.java @@ -158,19 +158,19 @@ public Builder writes(String... writes) { return writes(List.of(writes)); } public DataUiViewsAcl build() { - final var o = new DataUiViewsAcl(); - o.app = app; - o.canChangePerms = canChangePerms; - o.canShareApp = canShareApp; - o.canShareGlobal = canShareGlobal; - o.canShareUser = canShareUser; - o.canWrite = canWrite; - o.owner = owner; - o.reads = reads; - o.removable = removable; - o.sharing = sharing; - o.writes = writes; - return o; + final var _resultValue = new DataUiViewsAcl(); + _resultValue.app = app; + _resultValue.canChangePerms = canChangePerms; + _resultValue.canShareApp = canShareApp; + _resultValue.canShareGlobal = canShareGlobal; + _resultValue.canShareUser = canShareUser; + _resultValue.canWrite = canWrite; + _resultValue.owner = owner; + _resultValue.reads = reads; + _resultValue.removable = removable; + _resultValue.sharing = sharing; + _resultValue.writes = writes; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/splunk/outputs/GenericAclAcl.java b/sdk/java/src/main/java/com/pulumi/splunk/outputs/GenericAclAcl.java index 03b83570..b6cc3ee4 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/outputs/GenericAclAcl.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/outputs/GenericAclAcl.java @@ -158,19 +158,19 @@ public Builder writes(String... writes) { return writes(List.of(writes)); } public GenericAclAcl build() { - final var o = new GenericAclAcl(); - o.app = app; - o.canChangePerms = canChangePerms; - o.canShareApp = canShareApp; - o.canShareGlobal = canShareGlobal; - o.canShareUser = canShareUser; - o.canWrite = canWrite; - o.owner = owner; - o.reads = reads; - o.removable = removable; - o.sharing = sharing; - o.writes = writes; - return o; + final var _resultValue = new GenericAclAcl(); + _resultValue.app = app; + _resultValue.canChangePerms = canChangePerms; + _resultValue.canShareApp = canShareApp; + _resultValue.canShareGlobal = canShareGlobal; + _resultValue.canShareUser = canShareUser; + _resultValue.canWrite = canWrite; + _resultValue.owner = owner; + _resultValue.reads = reads; + _resultValue.removable = removable; + _resultValue.sharing = sharing; + _resultValue.writes = writes; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/splunk/outputs/IndexesAcl.java b/sdk/java/src/main/java/com/pulumi/splunk/outputs/IndexesAcl.java index c6681e11..d4c83a57 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/outputs/IndexesAcl.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/outputs/IndexesAcl.java @@ -158,19 +158,19 @@ public Builder writes(String... writes) { return writes(List.of(writes)); } public IndexesAcl build() { - final var o = new IndexesAcl(); - o.app = app; - o.canChangePerms = canChangePerms; - o.canShareApp = canShareApp; - o.canShareGlobal = canShareGlobal; - o.canShareUser = canShareUser; - o.canWrite = canWrite; - o.owner = owner; - o.reads = reads; - o.removable = removable; - o.sharing = sharing; - o.writes = writes; - return o; + final var _resultValue = new IndexesAcl(); + _resultValue.app = app; + _resultValue.canChangePerms = canChangePerms; + _resultValue.canShareApp = canShareApp; + _resultValue.canShareGlobal = canShareGlobal; + _resultValue.canShareUser = canShareUser; + _resultValue.canWrite = canWrite; + _resultValue.owner = owner; + _resultValue.reads = reads; + _resultValue.removable = removable; + _resultValue.sharing = sharing; + _resultValue.writes = writes; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/splunk/outputs/InputsHttpEventCollectorAcl.java b/sdk/java/src/main/java/com/pulumi/splunk/outputs/InputsHttpEventCollectorAcl.java index 6e0954fd..cc582ba4 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/outputs/InputsHttpEventCollectorAcl.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/outputs/InputsHttpEventCollectorAcl.java @@ -158,19 +158,19 @@ public Builder writes(String... writes) { return writes(List.of(writes)); } public InputsHttpEventCollectorAcl build() { - final var o = new InputsHttpEventCollectorAcl(); - o.app = app; - o.canChangePerms = canChangePerms; - o.canShareApp = canShareApp; - o.canShareGlobal = canShareGlobal; - o.canShareUser = canShareUser; - o.canWrite = canWrite; - o.owner = owner; - o.reads = reads; - o.removable = removable; - o.sharing = sharing; - o.writes = writes; - return o; + final var _resultValue = new InputsHttpEventCollectorAcl(); + _resultValue.app = app; + _resultValue.canChangePerms = canChangePerms; + _resultValue.canShareApp = canShareApp; + _resultValue.canShareGlobal = canShareGlobal; + _resultValue.canShareUser = canShareUser; + _resultValue.canWrite = canWrite; + _resultValue.owner = owner; + _resultValue.reads = reads; + _resultValue.removable = removable; + _resultValue.sharing = sharing; + _resultValue.writes = writes; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/splunk/outputs/InputsMonitorAcl.java b/sdk/java/src/main/java/com/pulumi/splunk/outputs/InputsMonitorAcl.java index 0266599d..aeaff13a 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/outputs/InputsMonitorAcl.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/outputs/InputsMonitorAcl.java @@ -158,19 +158,19 @@ public Builder writes(String... writes) { return writes(List.of(writes)); } public InputsMonitorAcl build() { - final var o = new InputsMonitorAcl(); - o.app = app; - o.canChangePerms = canChangePerms; - o.canShareApp = canShareApp; - o.canShareGlobal = canShareGlobal; - o.canShareUser = canShareUser; - o.canWrite = canWrite; - o.owner = owner; - o.reads = reads; - o.removable = removable; - o.sharing = sharing; - o.writes = writes; - return o; + final var _resultValue = new InputsMonitorAcl(); + _resultValue.app = app; + _resultValue.canChangePerms = canChangePerms; + _resultValue.canShareApp = canShareApp; + _resultValue.canShareGlobal = canShareGlobal; + _resultValue.canShareUser = canShareUser; + _resultValue.canWrite = canWrite; + _resultValue.owner = owner; + _resultValue.reads = reads; + _resultValue.removable = removable; + _resultValue.sharing = sharing; + _resultValue.writes = writes; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/splunk/outputs/InputsScriptAcl.java b/sdk/java/src/main/java/com/pulumi/splunk/outputs/InputsScriptAcl.java index d038dad0..536d02f1 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/outputs/InputsScriptAcl.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/outputs/InputsScriptAcl.java @@ -158,19 +158,19 @@ public Builder writes(String... writes) { return writes(List.of(writes)); } public InputsScriptAcl build() { - final var o = new InputsScriptAcl(); - o.app = app; - o.canChangePerms = canChangePerms; - o.canShareApp = canShareApp; - o.canShareGlobal = canShareGlobal; - o.canShareUser = canShareUser; - o.canWrite = canWrite; - o.owner = owner; - o.reads = reads; - o.removable = removable; - o.sharing = sharing; - o.writes = writes; - return o; + final var _resultValue = new InputsScriptAcl(); + _resultValue.app = app; + _resultValue.canChangePerms = canChangePerms; + _resultValue.canShareApp = canShareApp; + _resultValue.canShareGlobal = canShareGlobal; + _resultValue.canShareUser = canShareUser; + _resultValue.canWrite = canWrite; + _resultValue.owner = owner; + _resultValue.reads = reads; + _resultValue.removable = removable; + _resultValue.sharing = sharing; + _resultValue.writes = writes; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/splunk/outputs/InputsTcpCookedAcl.java b/sdk/java/src/main/java/com/pulumi/splunk/outputs/InputsTcpCookedAcl.java index 46ce8fa4..4a7c5312 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/outputs/InputsTcpCookedAcl.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/outputs/InputsTcpCookedAcl.java @@ -158,19 +158,19 @@ public Builder writes(String... writes) { return writes(List.of(writes)); } public InputsTcpCookedAcl build() { - final var o = new InputsTcpCookedAcl(); - o.app = app; - o.canChangePerms = canChangePerms; - o.canShareApp = canShareApp; - o.canShareGlobal = canShareGlobal; - o.canShareUser = canShareUser; - o.canWrite = canWrite; - o.owner = owner; - o.reads = reads; - o.removable = removable; - o.sharing = sharing; - o.writes = writes; - return o; + final var _resultValue = new InputsTcpCookedAcl(); + _resultValue.app = app; + _resultValue.canChangePerms = canChangePerms; + _resultValue.canShareApp = canShareApp; + _resultValue.canShareGlobal = canShareGlobal; + _resultValue.canShareUser = canShareUser; + _resultValue.canWrite = canWrite; + _resultValue.owner = owner; + _resultValue.reads = reads; + _resultValue.removable = removable; + _resultValue.sharing = sharing; + _resultValue.writes = writes; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/splunk/outputs/InputsTcpRawAcl.java b/sdk/java/src/main/java/com/pulumi/splunk/outputs/InputsTcpRawAcl.java index 6c2e4cba..2306317f 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/outputs/InputsTcpRawAcl.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/outputs/InputsTcpRawAcl.java @@ -158,19 +158,19 @@ public Builder writes(String... writes) { return writes(List.of(writes)); } public InputsTcpRawAcl build() { - final var o = new InputsTcpRawAcl(); - o.app = app; - o.canChangePerms = canChangePerms; - o.canShareApp = canShareApp; - o.canShareGlobal = canShareGlobal; - o.canShareUser = canShareUser; - o.canWrite = canWrite; - o.owner = owner; - o.reads = reads; - o.removable = removable; - o.sharing = sharing; - o.writes = writes; - return o; + final var _resultValue = new InputsTcpRawAcl(); + _resultValue.app = app; + _resultValue.canChangePerms = canChangePerms; + _resultValue.canShareApp = canShareApp; + _resultValue.canShareGlobal = canShareGlobal; + _resultValue.canShareUser = canShareUser; + _resultValue.canWrite = canWrite; + _resultValue.owner = owner; + _resultValue.reads = reads; + _resultValue.removable = removable; + _resultValue.sharing = sharing; + _resultValue.writes = writes; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/splunk/outputs/InputsTcpSplunkTcpTokenAcl.java b/sdk/java/src/main/java/com/pulumi/splunk/outputs/InputsTcpSplunkTcpTokenAcl.java index 560b822d..98c6b349 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/outputs/InputsTcpSplunkTcpTokenAcl.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/outputs/InputsTcpSplunkTcpTokenAcl.java @@ -158,19 +158,19 @@ public Builder writes(String... writes) { return writes(List.of(writes)); } public InputsTcpSplunkTcpTokenAcl build() { - final var o = new InputsTcpSplunkTcpTokenAcl(); - o.app = app; - o.canChangePerms = canChangePerms; - o.canShareApp = canShareApp; - o.canShareGlobal = canShareGlobal; - o.canShareUser = canShareUser; - o.canWrite = canWrite; - o.owner = owner; - o.reads = reads; - o.removable = removable; - o.sharing = sharing; - o.writes = writes; - return o; + final var _resultValue = new InputsTcpSplunkTcpTokenAcl(); + _resultValue.app = app; + _resultValue.canChangePerms = canChangePerms; + _resultValue.canShareApp = canShareApp; + _resultValue.canShareGlobal = canShareGlobal; + _resultValue.canShareUser = canShareUser; + _resultValue.canWrite = canWrite; + _resultValue.owner = owner; + _resultValue.reads = reads; + _resultValue.removable = removable; + _resultValue.sharing = sharing; + _resultValue.writes = writes; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/splunk/outputs/InputsUdpAcl.java b/sdk/java/src/main/java/com/pulumi/splunk/outputs/InputsUdpAcl.java index 767eb431..3672e147 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/outputs/InputsUdpAcl.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/outputs/InputsUdpAcl.java @@ -158,19 +158,19 @@ public Builder writes(String... writes) { return writes(List.of(writes)); } public InputsUdpAcl build() { - final var o = new InputsUdpAcl(); - o.app = app; - o.canChangePerms = canChangePerms; - o.canShareApp = canShareApp; - o.canShareGlobal = canShareGlobal; - o.canShareUser = canShareUser; - o.canWrite = canWrite; - o.owner = owner; - o.reads = reads; - o.removable = removable; - o.sharing = sharing; - o.writes = writes; - return o; + final var _resultValue = new InputsUdpAcl(); + _resultValue.app = app; + _resultValue.canChangePerms = canChangePerms; + _resultValue.canShareApp = canShareApp; + _resultValue.canShareGlobal = canShareGlobal; + _resultValue.canShareUser = canShareUser; + _resultValue.canWrite = canWrite; + _resultValue.owner = owner; + _resultValue.reads = reads; + _resultValue.removable = removable; + _resultValue.sharing = sharing; + _resultValue.writes = writes; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/splunk/outputs/OutputsTcpDefaultAcl.java b/sdk/java/src/main/java/com/pulumi/splunk/outputs/OutputsTcpDefaultAcl.java index 8f3fcc87..f54c6534 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/outputs/OutputsTcpDefaultAcl.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/outputs/OutputsTcpDefaultAcl.java @@ -158,19 +158,19 @@ public Builder writes(String... writes) { return writes(List.of(writes)); } public OutputsTcpDefaultAcl build() { - final var o = new OutputsTcpDefaultAcl(); - o.app = app; - o.canChangePerms = canChangePerms; - o.canShareApp = canShareApp; - o.canShareGlobal = canShareGlobal; - o.canShareUser = canShareUser; - o.canWrite = canWrite; - o.owner = owner; - o.reads = reads; - o.removable = removable; - o.sharing = sharing; - o.writes = writes; - return o; + final var _resultValue = new OutputsTcpDefaultAcl(); + _resultValue.app = app; + _resultValue.canChangePerms = canChangePerms; + _resultValue.canShareApp = canShareApp; + _resultValue.canShareGlobal = canShareGlobal; + _resultValue.canShareUser = canShareUser; + _resultValue.canWrite = canWrite; + _resultValue.owner = owner; + _resultValue.reads = reads; + _resultValue.removable = removable; + _resultValue.sharing = sharing; + _resultValue.writes = writes; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/splunk/outputs/OutputsTcpGroupAcl.java b/sdk/java/src/main/java/com/pulumi/splunk/outputs/OutputsTcpGroupAcl.java index 367bb250..1e1be5c1 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/outputs/OutputsTcpGroupAcl.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/outputs/OutputsTcpGroupAcl.java @@ -158,19 +158,19 @@ public Builder writes(String... writes) { return writes(List.of(writes)); } public OutputsTcpGroupAcl build() { - final var o = new OutputsTcpGroupAcl(); - o.app = app; - o.canChangePerms = canChangePerms; - o.canShareApp = canShareApp; - o.canShareGlobal = canShareGlobal; - o.canShareUser = canShareUser; - o.canWrite = canWrite; - o.owner = owner; - o.reads = reads; - o.removable = removable; - o.sharing = sharing; - o.writes = writes; - return o; + final var _resultValue = new OutputsTcpGroupAcl(); + _resultValue.app = app; + _resultValue.canChangePerms = canChangePerms; + _resultValue.canShareApp = canShareApp; + _resultValue.canShareGlobal = canShareGlobal; + _resultValue.canShareUser = canShareUser; + _resultValue.canWrite = canWrite; + _resultValue.owner = owner; + _resultValue.reads = reads; + _resultValue.removable = removable; + _resultValue.sharing = sharing; + _resultValue.writes = writes; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/splunk/outputs/OutputsTcpServerAcl.java b/sdk/java/src/main/java/com/pulumi/splunk/outputs/OutputsTcpServerAcl.java index 064b2018..a1991545 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/outputs/OutputsTcpServerAcl.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/outputs/OutputsTcpServerAcl.java @@ -158,19 +158,19 @@ public Builder writes(String... writes) { return writes(List.of(writes)); } public OutputsTcpServerAcl build() { - final var o = new OutputsTcpServerAcl(); - o.app = app; - o.canChangePerms = canChangePerms; - o.canShareApp = canShareApp; - o.canShareGlobal = canShareGlobal; - o.canShareUser = canShareUser; - o.canWrite = canWrite; - o.owner = owner; - o.reads = reads; - o.removable = removable; - o.sharing = sharing; - o.writes = writes; - return o; + final var _resultValue = new OutputsTcpServerAcl(); + _resultValue.app = app; + _resultValue.canChangePerms = canChangePerms; + _resultValue.canShareApp = canShareApp; + _resultValue.canShareGlobal = canShareGlobal; + _resultValue.canShareUser = canShareUser; + _resultValue.canWrite = canWrite; + _resultValue.owner = owner; + _resultValue.reads = reads; + _resultValue.removable = removable; + _resultValue.sharing = sharing; + _resultValue.writes = writes; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/splunk/outputs/OutputsTcpSyslogAcl.java b/sdk/java/src/main/java/com/pulumi/splunk/outputs/OutputsTcpSyslogAcl.java index 11906bee..b2cf6c81 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/outputs/OutputsTcpSyslogAcl.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/outputs/OutputsTcpSyslogAcl.java @@ -158,19 +158,19 @@ public Builder writes(String... writes) { return writes(List.of(writes)); } public OutputsTcpSyslogAcl build() { - final var o = new OutputsTcpSyslogAcl(); - o.app = app; - o.canChangePerms = canChangePerms; - o.canShareApp = canShareApp; - o.canShareGlobal = canShareGlobal; - o.canShareUser = canShareUser; - o.canWrite = canWrite; - o.owner = owner; - o.reads = reads; - o.removable = removable; - o.sharing = sharing; - o.writes = writes; - return o; + final var _resultValue = new OutputsTcpSyslogAcl(); + _resultValue.app = app; + _resultValue.canChangePerms = canChangePerms; + _resultValue.canShareApp = canShareApp; + _resultValue.canShareGlobal = canShareGlobal; + _resultValue.canShareUser = canShareUser; + _resultValue.canWrite = canWrite; + _resultValue.owner = owner; + _resultValue.reads = reads; + _resultValue.removable = removable; + _resultValue.sharing = sharing; + _resultValue.writes = writes; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/splunk/outputs/SavedSearchesAcl.java b/sdk/java/src/main/java/com/pulumi/splunk/outputs/SavedSearchesAcl.java index f99fd85d..b314abde 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/outputs/SavedSearchesAcl.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/outputs/SavedSearchesAcl.java @@ -158,19 +158,19 @@ public Builder writes(String... writes) { return writes(List.of(writes)); } public SavedSearchesAcl build() { - final var o = new SavedSearchesAcl(); - o.app = app; - o.canChangePerms = canChangePerms; - o.canShareApp = canShareApp; - o.canShareGlobal = canShareGlobal; - o.canShareUser = canShareUser; - o.canWrite = canWrite; - o.owner = owner; - o.reads = reads; - o.removable = removable; - o.sharing = sharing; - o.writes = writes; - return o; + final var _resultValue = new SavedSearchesAcl(); + _resultValue.app = app; + _resultValue.canChangePerms = canChangePerms; + _resultValue.canShareApp = canShareApp; + _resultValue.canShareGlobal = canShareGlobal; + _resultValue.canShareUser = canShareUser; + _resultValue.canWrite = canWrite; + _resultValue.owner = owner; + _resultValue.reads = reads; + _resultValue.removable = removable; + _resultValue.sharing = sharing; + _resultValue.writes = writes; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/splunk/outputs/ShIndexesManagerAcl.java b/sdk/java/src/main/java/com/pulumi/splunk/outputs/ShIndexesManagerAcl.java index 00442d6c..ed0b1b46 100644 --- a/sdk/java/src/main/java/com/pulumi/splunk/outputs/ShIndexesManagerAcl.java +++ b/sdk/java/src/main/java/com/pulumi/splunk/outputs/ShIndexesManagerAcl.java @@ -158,19 +158,19 @@ public Builder writes(String... writes) { return writes(List.of(writes)); } public ShIndexesManagerAcl build() { - final var o = new ShIndexesManagerAcl(); - o.app = app; - o.canChangePerms = canChangePerms; - o.canShareApp = canShareApp; - o.canShareGlobal = canShareGlobal; - o.canShareUser = canShareUser; - o.canWrite = canWrite; - o.owner = owner; - o.reads = reads; - o.removable = removable; - o.sharing = sharing; - o.writes = writes; - return o; + final var _resultValue = new ShIndexesManagerAcl(); + _resultValue.app = app; + _resultValue.canChangePerms = canChangePerms; + _resultValue.canShareApp = canShareApp; + _resultValue.canShareGlobal = canShareGlobal; + _resultValue.canShareUser = canShareUser; + _resultValue.canWrite = canWrite; + _resultValue.owner = owner; + _resultValue.reads = reads; + _resultValue.removable = removable; + _resultValue.sharing = sharing; + _resultValue.writes = writes; + return _resultValue; } } }