All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.mysql.kotlin.FlexibleServerFirewallRule.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.mysql.kotlin

import com.pulumi.core.Output
import com.pulumi.kotlin.KotlinCustomResource
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.ResourceMapper
import com.pulumi.kotlin.options.CustomResourceOptions
import com.pulumi.kotlin.options.CustomResourceOptionsBuilder
import com.pulumi.resources.Resource
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit

/**
 * Builder for [FlexibleServerFirewallRule].
 */
@PulumiTagMarker
public class FlexibleServerFirewallRuleResourceBuilder internal constructor() {
    public var name: String? = null

    public var args: FlexibleServerFirewallRuleArgs = FlexibleServerFirewallRuleArgs()

    public var opts: CustomResourceOptions = CustomResourceOptions()

    /**
     * @param name The _unique_ name of the resulting resource.
     */
    public fun name(`value`: String) {
        this.name = value
    }

    /**
     * @param block The arguments to use to populate this resource's properties.
     */
    public suspend fun args(block: suspend FlexibleServerFirewallRuleArgsBuilder.() -> Unit) {
        val builder = FlexibleServerFirewallRuleArgsBuilder()
        block(builder)
        this.args = builder.build()
    }

    /**
     * @param block A bag of options that control this resource's behavior.
     */
    public suspend fun opts(block: suspend CustomResourceOptionsBuilder.() -> Unit) {
        this.opts = com.pulumi.kotlin.options.CustomResourceOptions.opts(block)
    }

    internal fun build(): FlexibleServerFirewallRule {
        val builtJavaResource =
            com.pulumi.azure.mysql.FlexibleServerFirewallRule(
                this.name,
                this.args.toJava(),
                this.opts.toJava(),
            )
        return FlexibleServerFirewallRule(builtJavaResource)
    }
}

/**
 * Manages a Firewall Rule for a MySQL Flexible Server.
 * ## Example Usage
 * ### Single IP Address)
 * 
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "api-rg-pro",
 *     location: "West Europe",
 * });
 * const exampleFlexibleServer = new azure.mysql.FlexibleServer("example", {
 *     name: "example",
 *     resourceGroupName: example.name,
 *     location: example.location,
 * });
 * const exampleFlexibleServerFirewallRule = new azure.mysql.FlexibleServerFirewallRule("example", {
 *     name: "office",
 *     resourceGroupName: example.name,
 *     serverName: exampleFlexibleServer.name,
 *     startIpAddress: "40.112.8.12",
 *     endIpAddress: "40.112.8.12",
 * });
 * ```
 * ```python
 * import pulumi
 * import pulumi_azure as azure
 * example = azure.core.ResourceGroup("example",
 *     name="api-rg-pro",
 *     location="West Europe")
 * example_flexible_server = azure.mysql.FlexibleServer("example",
 *     name="example",
 *     resource_group_name=example.name,
 *     location=example.location)
 * example_flexible_server_firewall_rule = azure.mysql.FlexibleServerFirewallRule("example",
 *     name="office",
 *     resource_group_name=example.name,
 *     server_name=example_flexible_server.name,
 *     start_ip_address="40.112.8.12",
 *     end_ip_address="40.112.8.12")
 * ```
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using Pulumi;
 * using Azure = Pulumi.Azure;
 * return await Deployment.RunAsync(() =>
 * {
 *     var example = new Azure.Core.ResourceGroup("example", new()
 *     {
 *         Name = "api-rg-pro",
 *         Location = "West Europe",
 *     });
 *     var exampleFlexibleServer = new Azure.MySql.FlexibleServer("example", new()
 *     {
 *         Name = "example",
 *         ResourceGroupName = example.Name,
 *         Location = example.Location,
 *     });
 *     var exampleFlexibleServerFirewallRule = new Azure.MySql.FlexibleServerFirewallRule("example", new()
 *     {
 *         Name = "office",
 *         ResourceGroupName = example.Name,
 *         ServerName = exampleFlexibleServer.Name,
 *         StartIpAddress = "40.112.8.12",
 *         EndIpAddress = "40.112.8.12",
 *     });
 * });
 * ```
 * ```go
 * package main
 * import (
 * 	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
 * 	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/mysql"
 * 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
 * )
 * func main() {
 * 	pulumi.Run(func(ctx *pulumi.Context) error {
 * 		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
 * 			Name:     pulumi.String("api-rg-pro"),
 * 			Location: pulumi.String("West Europe"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleFlexibleServer, err := mysql.NewFlexibleServer(ctx, "example", &mysql.FlexibleServerArgs{
 * 			Name:              pulumi.String("example"),
 * 			ResourceGroupName: example.Name,
 * 			Location:          example.Location,
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		_, err = mysql.NewFlexibleServerFirewallRule(ctx, "example", &mysql.FlexibleServerFirewallRuleArgs{
 * 			Name:              pulumi.String("office"),
 * 			ResourceGroupName: example.Name,
 * 			ServerName:        exampleFlexibleServer.Name,
 * 			StartIpAddress:    pulumi.String("40.112.8.12"),
 * 			EndIpAddress:      pulumi.String("40.112.8.12"),
 * 		})
 * 		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.azure.core.ResourceGroup;
 * import com.pulumi.azure.core.ResourceGroupArgs;
 * import com.pulumi.azure.mysql.FlexibleServer;
 * import com.pulumi.azure.mysql.FlexibleServerArgs;
 * import com.pulumi.azure.mysql.FlexibleServerFirewallRule;
 * import com.pulumi.azure.mysql.FlexibleServerFirewallRuleArgs;
 * 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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
 *             .name("api-rg-pro")
 *             .location("West Europe")
 *             .build());
 *         var exampleFlexibleServer = new FlexibleServer("exampleFlexibleServer", FlexibleServerArgs.builder()
 *             .name("example")
 *             .resourceGroupName(example.name())
 *             .location(example.location())
 *             .build());
 *         var exampleFlexibleServerFirewallRule = new FlexibleServerFirewallRule("exampleFlexibleServerFirewallRule", FlexibleServerFirewallRuleArgs.builder()
 *             .name("office")
 *             .resourceGroupName(example.name())
 *             .serverName(exampleFlexibleServer.name())
 *             .startIpAddress("40.112.8.12")
 *             .endIpAddress("40.112.8.12")
 *             .build());
 *     }
 * }
 * ```
 * ```yaml
 * resources:
 *   example:
 *     type: azure:core:ResourceGroup
 *     properties:
 *       name: api-rg-pro
 *       location: West Europe
 *   exampleFlexibleServer:
 *     type: azure:mysql:FlexibleServer
 *     name: example
 *     properties:
 *       name: example
 *       resourceGroupName: ${example.name}
 *       location: ${example.location}
 *   exampleFlexibleServerFirewallRule:
 *     type: azure:mysql:FlexibleServerFirewallRule
 *     name: example
 *     properties:
 *       name: office
 *       resourceGroupName: ${example.name}
 *       serverName: ${exampleFlexibleServer.name}
 *       startIpAddress: 40.112.8.12
 *       endIpAddress: 40.112.8.12
 * ```
 * 
 * ### IP Range)
 * 
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "api-rg-pro",
 *     location: "West Europe",
 * });
 * const exampleFlexibleServer = new azure.mysql.FlexibleServer("example", {
 *     name: "example",
 *     resourceGroupName: example.name,
 *     location: example.location,
 * });
 * const exampleFlexibleServerFirewallRule = new azure.mysql.FlexibleServerFirewallRule("example", {
 *     name: "office",
 *     resourceGroupName: example.name,
 *     serverName: exampleFlexibleServer.name,
 *     startIpAddress: "40.112.0.0",
 *     endIpAddress: "40.112.255.255",
 * });
 * ```
 * ```python
 * import pulumi
 * import pulumi_azure as azure
 * example = azure.core.ResourceGroup("example",
 *     name="api-rg-pro",
 *     location="West Europe")
 * example_flexible_server = azure.mysql.FlexibleServer("example",
 *     name="example",
 *     resource_group_name=example.name,
 *     location=example.location)
 * example_flexible_server_firewall_rule = azure.mysql.FlexibleServerFirewallRule("example",
 *     name="office",
 *     resource_group_name=example.name,
 *     server_name=example_flexible_server.name,
 *     start_ip_address="40.112.0.0",
 *     end_ip_address="40.112.255.255")
 * ```
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using Pulumi;
 * using Azure = Pulumi.Azure;
 * return await Deployment.RunAsync(() =>
 * {
 *     var example = new Azure.Core.ResourceGroup("example", new()
 *     {
 *         Name = "api-rg-pro",
 *         Location = "West Europe",
 *     });
 *     var exampleFlexibleServer = new Azure.MySql.FlexibleServer("example", new()
 *     {
 *         Name = "example",
 *         ResourceGroupName = example.Name,
 *         Location = example.Location,
 *     });
 *     var exampleFlexibleServerFirewallRule = new Azure.MySql.FlexibleServerFirewallRule("example", new()
 *     {
 *         Name = "office",
 *         ResourceGroupName = example.Name,
 *         ServerName = exampleFlexibleServer.Name,
 *         StartIpAddress = "40.112.0.0",
 *         EndIpAddress = "40.112.255.255",
 *     });
 * });
 * ```
 * ```go
 * package main
 * import (
 * 	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
 * 	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/mysql"
 * 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
 * )
 * func main() {
 * 	pulumi.Run(func(ctx *pulumi.Context) error {
 * 		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
 * 			Name:     pulumi.String("api-rg-pro"),
 * 			Location: pulumi.String("West Europe"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleFlexibleServer, err := mysql.NewFlexibleServer(ctx, "example", &mysql.FlexibleServerArgs{
 * 			Name:              pulumi.String("example"),
 * 			ResourceGroupName: example.Name,
 * 			Location:          example.Location,
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		_, err = mysql.NewFlexibleServerFirewallRule(ctx, "example", &mysql.FlexibleServerFirewallRuleArgs{
 * 			Name:              pulumi.String("office"),
 * 			ResourceGroupName: example.Name,
 * 			ServerName:        exampleFlexibleServer.Name,
 * 			StartIpAddress:    pulumi.String("40.112.0.0"),
 * 			EndIpAddress:      pulumi.String("40.112.255.255"),
 * 		})
 * 		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.azure.core.ResourceGroup;
 * import com.pulumi.azure.core.ResourceGroupArgs;
 * import com.pulumi.azure.mysql.FlexibleServer;
 * import com.pulumi.azure.mysql.FlexibleServerArgs;
 * import com.pulumi.azure.mysql.FlexibleServerFirewallRule;
 * import com.pulumi.azure.mysql.FlexibleServerFirewallRuleArgs;
 * 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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
 *             .name("api-rg-pro")
 *             .location("West Europe")
 *             .build());
 *         var exampleFlexibleServer = new FlexibleServer("exampleFlexibleServer", FlexibleServerArgs.builder()
 *             .name("example")
 *             .resourceGroupName(example.name())
 *             .location(example.location())
 *             .build());
 *         var exampleFlexibleServerFirewallRule = new FlexibleServerFirewallRule("exampleFlexibleServerFirewallRule", FlexibleServerFirewallRuleArgs.builder()
 *             .name("office")
 *             .resourceGroupName(example.name())
 *             .serverName(exampleFlexibleServer.name())
 *             .startIpAddress("40.112.0.0")
 *             .endIpAddress("40.112.255.255")
 *             .build());
 *     }
 * }
 * ```
 * ```yaml
 * resources:
 *   example:
 *     type: azure:core:ResourceGroup
 *     properties:
 *       name: api-rg-pro
 *       location: West Europe
 *   exampleFlexibleServer:
 *     type: azure:mysql:FlexibleServer
 *     name: example
 *     properties:
 *       name: example
 *       resourceGroupName: ${example.name}
 *       location: ${example.location}
 *   exampleFlexibleServerFirewallRule:
 *     type: azure:mysql:FlexibleServerFirewallRule
 *     name: example
 *     properties:
 *       name: office
 *       resourceGroupName: ${example.name}
 *       serverName: ${exampleFlexibleServer.name}
 *       startIpAddress: 40.112.0.0
 *       endIpAddress: 40.112.255.255
 * ```
 * 
 * ### Allow Access To Azure Services)
 * 
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "api-rg-pro",
 *     location: "West Europe",
 * });
 * const exampleFlexibleServer = new azure.mysql.FlexibleServer("example", {
 *     name: "example",
 *     resourceGroupName: example.name,
 *     location: example.location,
 * });
 * const exampleFlexibleServerFirewallRule = new azure.mysql.FlexibleServerFirewallRule("example", {
 *     name: "office",
 *     resourceGroupName: example.name,
 *     serverName: exampleFlexibleServer.name,
 *     startIpAddress: "0.0.0.0",
 *     endIpAddress: "0.0.0.0",
 * });
 * ```
 * ```python
 * import pulumi
 * import pulumi_azure as azure
 * example = azure.core.ResourceGroup("example",
 *     name="api-rg-pro",
 *     location="West Europe")
 * example_flexible_server = azure.mysql.FlexibleServer("example",
 *     name="example",
 *     resource_group_name=example.name,
 *     location=example.location)
 * example_flexible_server_firewall_rule = azure.mysql.FlexibleServerFirewallRule("example",
 *     name="office",
 *     resource_group_name=example.name,
 *     server_name=example_flexible_server.name,
 *     start_ip_address="0.0.0.0",
 *     end_ip_address="0.0.0.0")
 * ```
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using Pulumi;
 * using Azure = Pulumi.Azure;
 * return await Deployment.RunAsync(() =>
 * {
 *     var example = new Azure.Core.ResourceGroup("example", new()
 *     {
 *         Name = "api-rg-pro",
 *         Location = "West Europe",
 *     });
 *     var exampleFlexibleServer = new Azure.MySql.FlexibleServer("example", new()
 *     {
 *         Name = "example",
 *         ResourceGroupName = example.Name,
 *         Location = example.Location,
 *     });
 *     var exampleFlexibleServerFirewallRule = new Azure.MySql.FlexibleServerFirewallRule("example", new()
 *     {
 *         Name = "office",
 *         ResourceGroupName = example.Name,
 *         ServerName = exampleFlexibleServer.Name,
 *         StartIpAddress = "0.0.0.0",
 *         EndIpAddress = "0.0.0.0",
 *     });
 * });
 * ```
 * ```go
 * package main
 * import (
 * 	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
 * 	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/mysql"
 * 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
 * )
 * func main() {
 * 	pulumi.Run(func(ctx *pulumi.Context) error {
 * 		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
 * 			Name:     pulumi.String("api-rg-pro"),
 * 			Location: pulumi.String("West Europe"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleFlexibleServer, err := mysql.NewFlexibleServer(ctx, "example", &mysql.FlexibleServerArgs{
 * 			Name:              pulumi.String("example"),
 * 			ResourceGroupName: example.Name,
 * 			Location:          example.Location,
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		_, err = mysql.NewFlexibleServerFirewallRule(ctx, "example", &mysql.FlexibleServerFirewallRuleArgs{
 * 			Name:              pulumi.String("office"),
 * 			ResourceGroupName: example.Name,
 * 			ServerName:        exampleFlexibleServer.Name,
 * 			StartIpAddress:    pulumi.String("0.0.0.0"),
 * 			EndIpAddress:      pulumi.String("0.0.0.0"),
 * 		})
 * 		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.azure.core.ResourceGroup;
 * import com.pulumi.azure.core.ResourceGroupArgs;
 * import com.pulumi.azure.mysql.FlexibleServer;
 * import com.pulumi.azure.mysql.FlexibleServerArgs;
 * import com.pulumi.azure.mysql.FlexibleServerFirewallRule;
 * import com.pulumi.azure.mysql.FlexibleServerFirewallRuleArgs;
 * 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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
 *             .name("api-rg-pro")
 *             .location("West Europe")
 *             .build());
 *         var exampleFlexibleServer = new FlexibleServer("exampleFlexibleServer", FlexibleServerArgs.builder()
 *             .name("example")
 *             .resourceGroupName(example.name())
 *             .location(example.location())
 *             .build());
 *         var exampleFlexibleServerFirewallRule = new FlexibleServerFirewallRule("exampleFlexibleServerFirewallRule", FlexibleServerFirewallRuleArgs.builder()
 *             .name("office")
 *             .resourceGroupName(example.name())
 *             .serverName(exampleFlexibleServer.name())
 *             .startIpAddress("0.0.0.0")
 *             .endIpAddress("0.0.0.0")
 *             .build());
 *     }
 * }
 * ```
 * ```yaml
 * resources:
 *   example:
 *     type: azure:core:ResourceGroup
 *     properties:
 *       name: api-rg-pro
 *       location: West Europe
 *   exampleFlexibleServer:
 *     type: azure:mysql:FlexibleServer
 *     name: example
 *     properties:
 *       name: example
 *       resourceGroupName: ${example.name}
 *       location: ${example.location}
 *   exampleFlexibleServerFirewallRule:
 *     type: azure:mysql:FlexibleServerFirewallRule
 *     name: example
 *     properties:
 *       name: office
 *       resourceGroupName: ${example.name}
 *       serverName: ${exampleFlexibleServer.name}
 *       startIpAddress: 0.0.0.0
 *       endIpAddress: 0.0.0.0
 * ```
 * 
 * ## Import
 * MySQL Firewall Rule's can be imported using the `resource id`, e.g.
 * ```sh
 * $ pulumi import azure:mysql/flexibleServerFirewallRule:FlexibleServerFirewallRule rule1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.DBforMySQL/flexibleServers/flexibleServer1/firewallRules/firewallRule1
 * ```
 */
public class FlexibleServerFirewallRule internal constructor(
    override val javaResource: com.pulumi.azure.mysql.FlexibleServerFirewallRule,
) : KotlinCustomResource(javaResource, FlexibleServerFirewallRuleMapper) {
    /**
     * Specifies the End IP Address associated with this Firewall Rule.
     * > **NOTE:** The Azure feature `Allow access to Azure services` can be enabled by setting `start_ip_address` and `end_ip_address` to `0.0.0.0` which ([is documented in the Azure API Docs](https://docs.microsoft.com/rest/api/sql/firewallrules/createorupdate)).
     */
    public val endIpAddress: Output
        get() = javaResource.endIpAddress().applyValue({ args0 -> args0 })

    /**
     * Specifies the name of the MySQL Firewall Rule. Changing this forces a new resource to be created.
     */
    public val name: Output
        get() = javaResource.name().applyValue({ args0 -> args0 })

    /**
     * The name of the resource group in which the MySQL Flexible Server exists. Changing this forces a new resource to be created.
     */
    public val resourceGroupName: Output
        get() = javaResource.resourceGroupName().applyValue({ args0 -> args0 })

    /**
     * Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created.
     */
    public val serverName: Output
        get() = javaResource.serverName().applyValue({ args0 -> args0 })

    /**
     * Specifies the Start IP Address associated with this Firewall Rule.
     */
    public val startIpAddress: Output
        get() = javaResource.startIpAddress().applyValue({ args0 -> args0 })
}

public object FlexibleServerFirewallRuleMapper : ResourceMapper {
    override fun supportsMappingOfType(javaResource: Resource): Boolean =
        com.pulumi.azure.mysql.FlexibleServerFirewallRule::class == javaResource::class

    override fun map(javaResource: Resource): FlexibleServerFirewallRule =
        FlexibleServerFirewallRule(javaResource as com.pulumi.azure.mysql.FlexibleServerFirewallRule)
}

/**
 * @see [FlexibleServerFirewallRule].
 * @param name The _unique_ name of the resulting resource.
 * @param block Builder for [FlexibleServerFirewallRule].
 */
public suspend fun flexibleServerFirewallRule(
    name: String,
    block: suspend FlexibleServerFirewallRuleResourceBuilder.() -> Unit,
):
    FlexibleServerFirewallRule {
    val builder = FlexibleServerFirewallRuleResourceBuilder()
    builder.name(name)
    block(builder)
    return builder.build()
}

/**
 * @see [FlexibleServerFirewallRule].
 * @param name The _unique_ name of the resulting resource.
 */
public fun flexibleServerFirewallRule(name: String): FlexibleServerFirewallRule {
    val builder = FlexibleServerFirewallRuleResourceBuilder()
    builder.name(name)
    return builder.build()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy