![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.cloudngfw.kotlin.FqdnListGlobalRulestackArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.cloudngfw.kotlin
import com.pulumi.azurenative.cloudngfw.FqdnListGlobalRulestackArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* GlobalRulestack fqdnList
* Azure REST API version: 2023-09-01.
* Other available API versions: 2022-08-29, 2022-08-29-preview, 2023-09-01-preview, 2023-10-10-preview, 2024-01-19-preview, 2024-02-07-preview.
* ## Example Usage
* ### FqdnListGlobalRulestack_CreateOrUpdate_MaximumSet_Gen
* ```csharp
* using System.Collections.Generic;
* using System.Linq;
* using Pulumi;
* using AzureNative = Pulumi.AzureNative;
* return await Deployment.RunAsync(() =>
* {
* var fqdnListGlobalRulestack = new AzureNative.Cloudngfw.FqdnListGlobalRulestack("fqdnListGlobalRulestack", new()
* {
* AuditComment = "string",
* Description = "string",
* FqdnList = new[]
* {
* "string1",
* "string2",
* },
* GlobalRulestackName = "praval",
* Name = "armid1",
* });
* });
* ```
* ```go
* package main
* import (
* cloudngfw "github.com/pulumi/pulumi-azure-native-sdk/cloudngfw/v2"
* "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
* )
* func main() {
* pulumi.Run(func(ctx *pulumi.Context) error {
* _, err := cloudngfw.NewFqdnListGlobalRulestack(ctx, "fqdnListGlobalRulestack", &cloudngfw.FqdnListGlobalRulestackArgs{
* AuditComment: pulumi.String("string"),
* Description: pulumi.String("string"),
* FqdnList: pulumi.StringArray{
* pulumi.String("string1"),
* pulumi.String("string2"),
* },
* GlobalRulestackName: pulumi.String("praval"),
* Name: pulumi.String("armid1"),
* })
* if err != nil {
* return err
* }
* return nil
* })
* }
* ```
* ```java
* package generated_program;
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azurenative.cloudngfw.FqdnListGlobalRulestack;
* import com.pulumi.azurenative.cloudngfw.FqdnListGlobalRulestackArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
* public static void stack(Context ctx) {
* var fqdnListGlobalRulestack = new FqdnListGlobalRulestack("fqdnListGlobalRulestack", FqdnListGlobalRulestackArgs.builder()
* .auditComment("string")
* .description("string")
* .fqdnList(
* "string1",
* "string2")
* .globalRulestackName("praval")
* .name("armid1")
* .build());
* }
* }
* ```
* ### FqdnListGlobalRulestack_CreateOrUpdate_MinimumSet_Gen
* ```csharp
* using System.Collections.Generic;
* using System.Linq;
* using Pulumi;
* using AzureNative = Pulumi.AzureNative;
* return await Deployment.RunAsync(() =>
* {
* var fqdnListGlobalRulestack = new AzureNative.Cloudngfw.FqdnListGlobalRulestack("fqdnListGlobalRulestack", new()
* {
* FqdnList = new[]
* {
* "string1",
* "string2",
* },
* GlobalRulestackName = "praval",
* Name = "armid1",
* });
* });
* ```
* ```go
* package main
* import (
* cloudngfw "github.com/pulumi/pulumi-azure-native-sdk/cloudngfw/v2"
* "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
* )
* func main() {
* pulumi.Run(func(ctx *pulumi.Context) error {
* _, err := cloudngfw.NewFqdnListGlobalRulestack(ctx, "fqdnListGlobalRulestack", &cloudngfw.FqdnListGlobalRulestackArgs{
* FqdnList: pulumi.StringArray{
* pulumi.String("string1"),
* pulumi.String("string2"),
* },
* GlobalRulestackName: pulumi.String("praval"),
* Name: pulumi.String("armid1"),
* })
* if err != nil {
* return err
* }
* return nil
* })
* }
* ```
* ```java
* package generated_program;
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azurenative.cloudngfw.FqdnListGlobalRulestack;
* import com.pulumi.azurenative.cloudngfw.FqdnListGlobalRulestackArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
* public static void stack(Context ctx) {
* var fqdnListGlobalRulestack = new FqdnListGlobalRulestack("fqdnListGlobalRulestack", FqdnListGlobalRulestackArgs.builder()
* .fqdnList(
* "string1",
* "string2")
* .globalRulestackName("praval")
* .name("armid1")
* .build());
* }
* }
* ```
* ## Import
* An existing resource can be imported using its type token, name, and identifier, e.g.
* ```sh
* $ pulumi import azure-native:cloudngfw:FqdnListGlobalRulestack armid1 /providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/fqdnlists/{name}
* ```
* @property auditComment comment for this object
* @property description fqdn object description
* @property fqdnList fqdn list
* @property globalRulestackName GlobalRulestack resource name
* @property name fqdn list name
*/
public data class FqdnListGlobalRulestackArgs(
public val auditComment: Output? = null,
public val description: Output? = null,
public val fqdnList: Output>? = null,
public val globalRulestackName: Output? = null,
public val name: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.cloudngfw.FqdnListGlobalRulestackArgs =
com.pulumi.azurenative.cloudngfw.FqdnListGlobalRulestackArgs.builder()
.auditComment(auditComment?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.fqdnList(fqdnList?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.globalRulestackName(globalRulestackName?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FqdnListGlobalRulestackArgs].
*/
@PulumiTagMarker
public class FqdnListGlobalRulestackArgsBuilder internal constructor() {
private var auditComment: Output? = null
private var description: Output? = null
private var fqdnList: Output>? = null
private var globalRulestackName: Output? = null
private var name: Output? = null
/**
* @param value comment for this object
*/
@JvmName("yajmfuaferhpgyke")
public suspend fun auditComment(`value`: Output) {
this.auditComment = value
}
/**
* @param value fqdn object description
*/
@JvmName("riarlwygidmxoepy")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value fqdn list
*/
@JvmName("qmxcjitlmbbmjxdo")
public suspend fun fqdnList(`value`: Output>) {
this.fqdnList = value
}
@JvmName("xgvoledfcwkkrbfe")
public suspend fun fqdnList(vararg values: Output) {
this.fqdnList = Output.all(values.asList())
}
/**
* @param values fqdn list
*/
@JvmName("dbrgvwlkkostivqi")
public suspend fun fqdnList(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy