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

com.pulumi.azure.sql.kotlin.ManagedInstanceArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.sql.kotlin

import com.pulumi.azure.sql.ManagedInstanceArgs.builder
import com.pulumi.azure.sql.kotlin.inputs.ManagedInstanceIdentityArgs
import com.pulumi.azure.sql.kotlin.inputs.ManagedInstanceIdentityArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Int
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 * Manages a SQL Azure Managed Instance.
 * > **Note:** The `azure.sql.ManagedInstance` resource is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.mssql.ManagedInstance` resource instead.
 * > **Note:** All arguments including the administrator login and password will be stored in the raw state as plain-text. Read more about sensitive data in state.
 * ## Example Usage
 * 
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "database-rg",
 *     location: "West Europe",
 * });
 * const exampleNetworkSecurityGroup = new azure.network.NetworkSecurityGroup("example", {
 *     name: "mi-security-group",
 *     location: example.location,
 *     resourceGroupName: example.name,
 * });
 * const allowManagementInbound = new azure.network.NetworkSecurityRule("allow_management_inbound", {
 *     name: "allow_management_inbound",
 *     priority: 106,
 *     direction: "Inbound",
 *     access: "Allow",
 *     protocol: "Tcp",
 *     sourcePortRange: "*",
 *     destinationPortRanges: [
 *         "9000",
 *         "9003",
 *         "1438",
 *         "1440",
 *         "1452",
 *     ],
 *     sourceAddressPrefix: "*",
 *     destinationAddressPrefix: "*",
 *     resourceGroupName: example.name,
 *     networkSecurityGroupName: exampleNetworkSecurityGroup.name,
 * });
 * const allowMisubnetInbound = new azure.network.NetworkSecurityRule("allow_misubnet_inbound", {
 *     name: "allow_misubnet_inbound",
 *     priority: 200,
 *     direction: "Inbound",
 *     access: "Allow",
 *     protocol: "*",
 *     sourcePortRange: "*",
 *     destinationPortRange: "*",
 *     sourceAddressPrefix: "10.0.0.0/24",
 *     destinationAddressPrefix: "*",
 *     resourceGroupName: example.name,
 *     networkSecurityGroupName: exampleNetworkSecurityGroup.name,
 * });
 * const allowHealthProbeInbound = new azure.network.NetworkSecurityRule("allow_health_probe_inbound", {
 *     name: "allow_health_probe_inbound",
 *     priority: 300,
 *     direction: "Inbound",
 *     access: "Allow",
 *     protocol: "*",
 *     sourcePortRange: "*",
 *     destinationPortRange: "*",
 *     sourceAddressPrefix: "AzureLoadBalancer",
 *     destinationAddressPrefix: "*",
 *     resourceGroupName: example.name,
 *     networkSecurityGroupName: exampleNetworkSecurityGroup.name,
 * });
 * const allowTdsInbound = new azure.network.NetworkSecurityRule("allow_tds_inbound", {
 *     name: "allow_tds_inbound",
 *     priority: 1000,
 *     direction: "Inbound",
 *     access: "Allow",
 *     protocol: "Tcp",
 *     sourcePortRange: "*",
 *     destinationPortRange: "1433",
 *     sourceAddressPrefix: "VirtualNetwork",
 *     destinationAddressPrefix: "*",
 *     resourceGroupName: example.name,
 *     networkSecurityGroupName: exampleNetworkSecurityGroup.name,
 * });
 * const denyAllInbound = new azure.network.NetworkSecurityRule("deny_all_inbound", {
 *     name: "deny_all_inbound",
 *     priority: 4096,
 *     direction: "Inbound",
 *     access: "Deny",
 *     protocol: "*",
 *     sourcePortRange: "*",
 *     destinationPortRange: "*",
 *     sourceAddressPrefix: "*",
 *     destinationAddressPrefix: "*",
 *     resourceGroupName: example.name,
 *     networkSecurityGroupName: exampleNetworkSecurityGroup.name,
 * });
 * const allowManagementOutbound = new azure.network.NetworkSecurityRule("allow_management_outbound", {
 *     name: "allow_management_outbound",
 *     priority: 102,
 *     direction: "Outbound",
 *     access: "Allow",
 *     protocol: "Tcp",
 *     sourcePortRange: "*",
 *     destinationPortRanges: [
 *         "80",
 *         "443",
 *         "12000",
 *     ],
 *     sourceAddressPrefix: "*",
 *     destinationAddressPrefix: "*",
 *     resourceGroupName: example.name,
 *     networkSecurityGroupName: exampleNetworkSecurityGroup.name,
 * });
 * const allowMisubnetOutbound = new azure.network.NetworkSecurityRule("allow_misubnet_outbound", {
 *     name: "allow_misubnet_outbound",
 *     priority: 200,
 *     direction: "Outbound",
 *     access: "Allow",
 *     protocol: "*",
 *     sourcePortRange: "*",
 *     destinationPortRange: "*",
 *     sourceAddressPrefix: "10.0.0.0/24",
 *     destinationAddressPrefix: "*",
 *     resourceGroupName: example.name,
 *     networkSecurityGroupName: exampleNetworkSecurityGroup.name,
 * });
 * const denyAllOutbound = new azure.network.NetworkSecurityRule("deny_all_outbound", {
 *     name: "deny_all_outbound",
 *     priority: 4096,
 *     direction: "Outbound",
 *     access: "Deny",
 *     protocol: "*",
 *     sourcePortRange: "*",
 *     destinationPortRange: "*",
 *     sourceAddressPrefix: "*",
 *     destinationAddressPrefix: "*",
 *     resourceGroupName: example.name,
 *     networkSecurityGroupName: exampleNetworkSecurityGroup.name,
 * });
 * const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
 *     name: "vnet-mi",
 *     resourceGroupName: example.name,
 *     addressSpaces: ["10.0.0.0/16"],
 *     location: example.location,
 * });
 * const exampleSubnet = new azure.network.Subnet("example", {
 *     name: "subnet-mi",
 *     resourceGroupName: example.name,
 *     virtualNetworkName: exampleVirtualNetwork.name,
 *     addressPrefixes: ["10.0.0.0/24"],
 *     delegations: [{
 *         name: "managedinstancedelegation",
 *         serviceDelegation: {
 *             name: "Microsoft.Sql/managedInstances",
 *             actions: [
 *                 "Microsoft.Network/virtualNetworks/subnets/join/action",
 *                 "Microsoft.Network/virtualNetworks/subnets/prepareNetworkPolicies/action",
 *                 "Microsoft.Network/virtualNetworks/subnets/unprepareNetworkPolicies/action",
 *             ],
 *         },
 *     }],
 * });
 * const exampleSubnetNetworkSecurityGroupAssociation = new azure.network.SubnetNetworkSecurityGroupAssociation("example", {
 *     subnetId: exampleSubnet.id,
 *     networkSecurityGroupId: exampleNetworkSecurityGroup.id,
 * });
 * const exampleRouteTable = new azure.network.RouteTable("example", {
 *     name: "routetable-mi",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     disableBgpRoutePropagation: false,
 * }, {
 *     dependsOn: [exampleSubnet],
 * });
 * const exampleSubnetRouteTableAssociation = new azure.network.SubnetRouteTableAssociation("example", {
 *     subnetId: exampleSubnet.id,
 *     routeTableId: exampleRouteTable.id,
 * });
 * const exampleManagedInstance = new azure.sql.ManagedInstance("example", {
 *     name: "managedsqlinstance",
 *     resourceGroupName: example.name,
 *     location: example.location,
 *     administratorLogin: "mradministrator",
 *     administratorLoginPassword: "thisIsDog11",
 *     licenseType: "BasePrice",
 *     subnetId: exampleSubnet.id,
 *     skuName: "GP_Gen5",
 *     vcores: 4,
 *     storageSizeInGb: 32,
 * }, {
 *     dependsOn: [
 *         exampleSubnetNetworkSecurityGroupAssociation,
 *         exampleSubnetRouteTableAssociation,
 *     ],
 * });
 * ```
 * ```python
 * import pulumi
 * import pulumi_azure as azure
 * example = azure.core.ResourceGroup("example",
 *     name="database-rg",
 *     location="West Europe")
 * example_network_security_group = azure.network.NetworkSecurityGroup("example",
 *     name="mi-security-group",
 *     location=example.location,
 *     resource_group_name=example.name)
 * allow_management_inbound = azure.network.NetworkSecurityRule("allow_management_inbound",
 *     name="allow_management_inbound",
 *     priority=106,
 *     direction="Inbound",
 *     access="Allow",
 *     protocol="Tcp",
 *     source_port_range="*",
 *     destination_port_ranges=[
 *         "9000",
 *         "9003",
 *         "1438",
 *         "1440",
 *         "1452",
 *     ],
 *     source_address_prefix="*",
 *     destination_address_prefix="*",
 *     resource_group_name=example.name,
 *     network_security_group_name=example_network_security_group.name)
 * allow_misubnet_inbound = azure.network.NetworkSecurityRule("allow_misubnet_inbound",
 *     name="allow_misubnet_inbound",
 *     priority=200,
 *     direction="Inbound",
 *     access="Allow",
 *     protocol="*",
 *     source_port_range="*",
 *     destination_port_range="*",
 *     source_address_prefix="10.0.0.0/24",
 *     destination_address_prefix="*",
 *     resource_group_name=example.name,
 *     network_security_group_name=example_network_security_group.name)
 * allow_health_probe_inbound = azure.network.NetworkSecurityRule("allow_health_probe_inbound",
 *     name="allow_health_probe_inbound",
 *     priority=300,
 *     direction="Inbound",
 *     access="Allow",
 *     protocol="*",
 *     source_port_range="*",
 *     destination_port_range="*",
 *     source_address_prefix="AzureLoadBalancer",
 *     destination_address_prefix="*",
 *     resource_group_name=example.name,
 *     network_security_group_name=example_network_security_group.name)
 * allow_tds_inbound = azure.network.NetworkSecurityRule("allow_tds_inbound",
 *     name="allow_tds_inbound",
 *     priority=1000,
 *     direction="Inbound",
 *     access="Allow",
 *     protocol="Tcp",
 *     source_port_range="*",
 *     destination_port_range="1433",
 *     source_address_prefix="VirtualNetwork",
 *     destination_address_prefix="*",
 *     resource_group_name=example.name,
 *     network_security_group_name=example_network_security_group.name)
 * deny_all_inbound = azure.network.NetworkSecurityRule("deny_all_inbound",
 *     name="deny_all_inbound",
 *     priority=4096,
 *     direction="Inbound",
 *     access="Deny",
 *     protocol="*",
 *     source_port_range="*",
 *     destination_port_range="*",
 *     source_address_prefix="*",
 *     destination_address_prefix="*",
 *     resource_group_name=example.name,
 *     network_security_group_name=example_network_security_group.name)
 * allow_management_outbound = azure.network.NetworkSecurityRule("allow_management_outbound",
 *     name="allow_management_outbound",
 *     priority=102,
 *     direction="Outbound",
 *     access="Allow",
 *     protocol="Tcp",
 *     source_port_range="*",
 *     destination_port_ranges=[
 *         "80",
 *         "443",
 *         "12000",
 *     ],
 *     source_address_prefix="*",
 *     destination_address_prefix="*",
 *     resource_group_name=example.name,
 *     network_security_group_name=example_network_security_group.name)
 * allow_misubnet_outbound = azure.network.NetworkSecurityRule("allow_misubnet_outbound",
 *     name="allow_misubnet_outbound",
 *     priority=200,
 *     direction="Outbound",
 *     access="Allow",
 *     protocol="*",
 *     source_port_range="*",
 *     destination_port_range="*",
 *     source_address_prefix="10.0.0.0/24",
 *     destination_address_prefix="*",
 *     resource_group_name=example.name,
 *     network_security_group_name=example_network_security_group.name)
 * deny_all_outbound = azure.network.NetworkSecurityRule("deny_all_outbound",
 *     name="deny_all_outbound",
 *     priority=4096,
 *     direction="Outbound",
 *     access="Deny",
 *     protocol="*",
 *     source_port_range="*",
 *     destination_port_range="*",
 *     source_address_prefix="*",
 *     destination_address_prefix="*",
 *     resource_group_name=example.name,
 *     network_security_group_name=example_network_security_group.name)
 * example_virtual_network = azure.network.VirtualNetwork("example",
 *     name="vnet-mi",
 *     resource_group_name=example.name,
 *     address_spaces=["10.0.0.0/16"],
 *     location=example.location)
 * example_subnet = azure.network.Subnet("example",
 *     name="subnet-mi",
 *     resource_group_name=example.name,
 *     virtual_network_name=example_virtual_network.name,
 *     address_prefixes=["10.0.0.0/24"],
 *     delegations=[{
 *         "name": "managedinstancedelegation",
 *         "service_delegation": {
 *             "name": "Microsoft.Sql/managedInstances",
 *             "actions": [
 *                 "Microsoft.Network/virtualNetworks/subnets/join/action",
 *                 "Microsoft.Network/virtualNetworks/subnets/prepareNetworkPolicies/action",
 *                 "Microsoft.Network/virtualNetworks/subnets/unprepareNetworkPolicies/action",
 *             ],
 *         },
 *     }])
 * example_subnet_network_security_group_association = azure.network.SubnetNetworkSecurityGroupAssociation("example",
 *     subnet_id=example_subnet.id,
 *     network_security_group_id=example_network_security_group.id)
 * example_route_table = azure.network.RouteTable("example",
 *     name="routetable-mi",
 *     location=example.location,
 *     resource_group_name=example.name,
 *     disable_bgp_route_propagation=False,
 *     opts = pulumi.ResourceOptions(depends_on=[example_subnet]))
 * example_subnet_route_table_association = azure.network.SubnetRouteTableAssociation("example",
 *     subnet_id=example_subnet.id,
 *     route_table_id=example_route_table.id)
 * example_managed_instance = azure.sql.ManagedInstance("example",
 *     name="managedsqlinstance",
 *     resource_group_name=example.name,
 *     location=example.location,
 *     administrator_login="mradministrator",
 *     administrator_login_password="thisIsDog11",
 *     license_type="BasePrice",
 *     subnet_id=example_subnet.id,
 *     sku_name="GP_Gen5",
 *     vcores=4,
 *     storage_size_in_gb=32,
 *     opts = pulumi.ResourceOptions(depends_on=[
 *             example_subnet_network_security_group_association,
 *             example_subnet_route_table_association,
 *         ]))
 * ```
 * ```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 = "database-rg",
 *         Location = "West Europe",
 *     });
 *     var exampleNetworkSecurityGroup = new Azure.Network.NetworkSecurityGroup("example", new()
 *     {
 *         Name = "mi-security-group",
 *         Location = example.Location,
 *         ResourceGroupName = example.Name,
 *     });
 *     var allowManagementInbound = new Azure.Network.NetworkSecurityRule("allow_management_inbound", new()
 *     {
 *         Name = "allow_management_inbound",
 *         Priority = 106,
 *         Direction = "Inbound",
 *         Access = "Allow",
 *         Protocol = "Tcp",
 *         SourcePortRange = "*",
 *         DestinationPortRanges = new[]
 *         {
 *             "9000",
 *             "9003",
 *             "1438",
 *             "1440",
 *             "1452",
 *         },
 *         SourceAddressPrefix = "*",
 *         DestinationAddressPrefix = "*",
 *         ResourceGroupName = example.Name,
 *         NetworkSecurityGroupName = exampleNetworkSecurityGroup.Name,
 *     });
 *     var allowMisubnetInbound = new Azure.Network.NetworkSecurityRule("allow_misubnet_inbound", new()
 *     {
 *         Name = "allow_misubnet_inbound",
 *         Priority = 200,
 *         Direction = "Inbound",
 *         Access = "Allow",
 *         Protocol = "*",
 *         SourcePortRange = "*",
 *         DestinationPortRange = "*",
 *         SourceAddressPrefix = "10.0.0.0/24",
 *         DestinationAddressPrefix = "*",
 *         ResourceGroupName = example.Name,
 *         NetworkSecurityGroupName = exampleNetworkSecurityGroup.Name,
 *     });
 *     var allowHealthProbeInbound = new Azure.Network.NetworkSecurityRule("allow_health_probe_inbound", new()
 *     {
 *         Name = "allow_health_probe_inbound",
 *         Priority = 300,
 *         Direction = "Inbound",
 *         Access = "Allow",
 *         Protocol = "*",
 *         SourcePortRange = "*",
 *         DestinationPortRange = "*",
 *         SourceAddressPrefix = "AzureLoadBalancer",
 *         DestinationAddressPrefix = "*",
 *         ResourceGroupName = example.Name,
 *         NetworkSecurityGroupName = exampleNetworkSecurityGroup.Name,
 *     });
 *     var allowTdsInbound = new Azure.Network.NetworkSecurityRule("allow_tds_inbound", new()
 *     {
 *         Name = "allow_tds_inbound",
 *         Priority = 1000,
 *         Direction = "Inbound",
 *         Access = "Allow",
 *         Protocol = "Tcp",
 *         SourcePortRange = "*",
 *         DestinationPortRange = "1433",
 *         SourceAddressPrefix = "VirtualNetwork",
 *         DestinationAddressPrefix = "*",
 *         ResourceGroupName = example.Name,
 *         NetworkSecurityGroupName = exampleNetworkSecurityGroup.Name,
 *     });
 *     var denyAllInbound = new Azure.Network.NetworkSecurityRule("deny_all_inbound", new()
 *     {
 *         Name = "deny_all_inbound",
 *         Priority = 4096,
 *         Direction = "Inbound",
 *         Access = "Deny",
 *         Protocol = "*",
 *         SourcePortRange = "*",
 *         DestinationPortRange = "*",
 *         SourceAddressPrefix = "*",
 *         DestinationAddressPrefix = "*",
 *         ResourceGroupName = example.Name,
 *         NetworkSecurityGroupName = exampleNetworkSecurityGroup.Name,
 *     });
 *     var allowManagementOutbound = new Azure.Network.NetworkSecurityRule("allow_management_outbound", new()
 *     {
 *         Name = "allow_management_outbound",
 *         Priority = 102,
 *         Direction = "Outbound",
 *         Access = "Allow",
 *         Protocol = "Tcp",
 *         SourcePortRange = "*",
 *         DestinationPortRanges = new[]
 *         {
 *             "80",
 *             "443",
 *             "12000",
 *         },
 *         SourceAddressPrefix = "*",
 *         DestinationAddressPrefix = "*",
 *         ResourceGroupName = example.Name,
 *         NetworkSecurityGroupName = exampleNetworkSecurityGroup.Name,
 *     });
 *     var allowMisubnetOutbound = new Azure.Network.NetworkSecurityRule("allow_misubnet_outbound", new()
 *     {
 *         Name = "allow_misubnet_outbound",
 *         Priority = 200,
 *         Direction = "Outbound",
 *         Access = "Allow",
 *         Protocol = "*",
 *         SourcePortRange = "*",
 *         DestinationPortRange = "*",
 *         SourceAddressPrefix = "10.0.0.0/24",
 *         DestinationAddressPrefix = "*",
 *         ResourceGroupName = example.Name,
 *         NetworkSecurityGroupName = exampleNetworkSecurityGroup.Name,
 *     });
 *     var denyAllOutbound = new Azure.Network.NetworkSecurityRule("deny_all_outbound", new()
 *     {
 *         Name = "deny_all_outbound",
 *         Priority = 4096,
 *         Direction = "Outbound",
 *         Access = "Deny",
 *         Protocol = "*",
 *         SourcePortRange = "*",
 *         DestinationPortRange = "*",
 *         SourceAddressPrefix = "*",
 *         DestinationAddressPrefix = "*",
 *         ResourceGroupName = example.Name,
 *         NetworkSecurityGroupName = exampleNetworkSecurityGroup.Name,
 *     });
 *     var exampleVirtualNetwork = new Azure.Network.VirtualNetwork("example", new()
 *     {
 *         Name = "vnet-mi",
 *         ResourceGroupName = example.Name,
 *         AddressSpaces = new[]
 *         {
 *             "10.0.0.0/16",
 *         },
 *         Location = example.Location,
 *     });
 *     var exampleSubnet = new Azure.Network.Subnet("example", new()
 *     {
 *         Name = "subnet-mi",
 *         ResourceGroupName = example.Name,
 *         VirtualNetworkName = exampleVirtualNetwork.Name,
 *         AddressPrefixes = new[]
 *         {
 *             "10.0.0.0/24",
 *         },
 *         Delegations = new[]
 *         {
 *             new Azure.Network.Inputs.SubnetDelegationArgs
 *             {
 *                 Name = "managedinstancedelegation",
 *                 ServiceDelegation = new Azure.Network.Inputs.SubnetDelegationServiceDelegationArgs
 *                 {
 *                     Name = "Microsoft.Sql/managedInstances",
 *                     Actions = new[]
 *                     {
 *                         "Microsoft.Network/virtualNetworks/subnets/join/action",
 *                         "Microsoft.Network/virtualNetworks/subnets/prepareNetworkPolicies/action",
 *                         "Microsoft.Network/virtualNetworks/subnets/unprepareNetworkPolicies/action",
 *                     },
 *                 },
 *             },
 *         },
 *     });
 *     var exampleSubnetNetworkSecurityGroupAssociation = new Azure.Network.SubnetNetworkSecurityGroupAssociation("example", new()
 *     {
 *         SubnetId = exampleSubnet.Id,
 *         NetworkSecurityGroupId = exampleNetworkSecurityGroup.Id,
 *     });
 *     var exampleRouteTable = new Azure.Network.RouteTable("example", new()
 *     {
 *         Name = "routetable-mi",
 *         Location = example.Location,
 *         ResourceGroupName = example.Name,
 *         DisableBgpRoutePropagation = false,
 *     }, new CustomResourceOptions
 *     {
 *         DependsOn =
 *         {
 *             exampleSubnet,
 *         },
 *     });
 *     var exampleSubnetRouteTableAssociation = new Azure.Network.SubnetRouteTableAssociation("example", new()
 *     {
 *         SubnetId = exampleSubnet.Id,
 *         RouteTableId = exampleRouteTable.Id,
 *     });
 *     var exampleManagedInstance = new Azure.Sql.ManagedInstance("example", new()
 *     {
 *         Name = "managedsqlinstance",
 *         ResourceGroupName = example.Name,
 *         Location = example.Location,
 *         AdministratorLogin = "mradministrator",
 *         AdministratorLoginPassword = "thisIsDog11",
 *         LicenseType = "BasePrice",
 *         SubnetId = exampleSubnet.Id,
 *         SkuName = "GP_Gen5",
 *         Vcores = 4,
 *         StorageSizeInGb = 32,
 *     }, new CustomResourceOptions
 *     {
 *         DependsOn =
 *         {
 *             exampleSubnetNetworkSecurityGroupAssociation,
 *             exampleSubnetRouteTableAssociation,
 *         },
 *     });
 * });
 * ```
 * ```go
 * package main
 * import (
 * 	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
 * 	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network"
 * 	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/sql"
 * 	"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("database-rg"),
 * 			Location: pulumi.String("West Europe"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleNetworkSecurityGroup, err := network.NewNetworkSecurityGroup(ctx, "example", &network.NetworkSecurityGroupArgs{
 * 			Name:              pulumi.String("mi-security-group"),
 * 			Location:          example.Location,
 * 			ResourceGroupName: example.Name,
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		_, err = network.NewNetworkSecurityRule(ctx, "allow_management_inbound", &network.NetworkSecurityRuleArgs{
 * 			Name:            pulumi.String("allow_management_inbound"),
 * 			Priority:        pulumi.Int(106),
 * 			Direction:       pulumi.String("Inbound"),
 * 			Access:          pulumi.String("Allow"),
 * 			Protocol:        pulumi.String("Tcp"),
 * 			SourcePortRange: pulumi.String("*"),
 * 			DestinationPortRanges: pulumi.StringArray{
 * 				pulumi.String("9000"),
 * 				pulumi.String("9003"),
 * 				pulumi.String("1438"),
 * 				pulumi.String("1440"),
 * 				pulumi.String("1452"),
 * 			},
 * 			SourceAddressPrefix:      pulumi.String("*"),
 * 			DestinationAddressPrefix: pulumi.String("*"),
 * 			ResourceGroupName:        example.Name,
 * 			NetworkSecurityGroupName: exampleNetworkSecurityGroup.Name,
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		_, err = network.NewNetworkSecurityRule(ctx, "allow_misubnet_inbound", &network.NetworkSecurityRuleArgs{
 * 			Name:                     pulumi.String("allow_misubnet_inbound"),
 * 			Priority:                 pulumi.Int(200),
 * 			Direction:                pulumi.String("Inbound"),
 * 			Access:                   pulumi.String("Allow"),
 * 			Protocol:                 pulumi.String("*"),
 * 			SourcePortRange:          pulumi.String("*"),
 * 			DestinationPortRange:     pulumi.String("*"),
 * 			SourceAddressPrefix:      pulumi.String("10.0.0.0/24"),
 * 			DestinationAddressPrefix: pulumi.String("*"),
 * 			ResourceGroupName:        example.Name,
 * 			NetworkSecurityGroupName: exampleNetworkSecurityGroup.Name,
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		_, err = network.NewNetworkSecurityRule(ctx, "allow_health_probe_inbound", &network.NetworkSecurityRuleArgs{
 * 			Name:                     pulumi.String("allow_health_probe_inbound"),
 * 			Priority:                 pulumi.Int(300),
 * 			Direction:                pulumi.String("Inbound"),
 * 			Access:                   pulumi.String("Allow"),
 * 			Protocol:                 pulumi.String("*"),
 * 			SourcePortRange:          pulumi.String("*"),
 * 			DestinationPortRange:     pulumi.String("*"),
 * 			SourceAddressPrefix:      pulumi.String("AzureLoadBalancer"),
 * 			DestinationAddressPrefix: pulumi.String("*"),
 * 			ResourceGroupName:        example.Name,
 * 			NetworkSecurityGroupName: exampleNetworkSecurityGroup.Name,
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		_, err = network.NewNetworkSecurityRule(ctx, "allow_tds_inbound", &network.NetworkSecurityRuleArgs{
 * 			Name:                     pulumi.String("allow_tds_inbound"),
 * 			Priority:                 pulumi.Int(1000),
 * 			Direction:                pulumi.String("Inbound"),
 * 			Access:                   pulumi.String("Allow"),
 * 			Protocol:                 pulumi.String("Tcp"),
 * 			SourcePortRange:          pulumi.String("*"),
 * 			DestinationPortRange:     pulumi.String("1433"),
 * 			SourceAddressPrefix:      pulumi.String("VirtualNetwork"),
 * 			DestinationAddressPrefix: pulumi.String("*"),
 * 			ResourceGroupName:        example.Name,
 * 			NetworkSecurityGroupName: exampleNetworkSecurityGroup.Name,
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		_, err = network.NewNetworkSecurityRule(ctx, "deny_all_inbound", &network.NetworkSecurityRuleArgs{
 * 			Name:                     pulumi.String("deny_all_inbound"),
 * 			Priority:                 pulumi.Int(4096),
 * 			Direction:                pulumi.String("Inbound"),
 * 			Access:                   pulumi.String("Deny"),
 * 			Protocol:                 pulumi.String("*"),
 * 			SourcePortRange:          pulumi.String("*"),
 * 			DestinationPortRange:     pulumi.String("*"),
 * 			SourceAddressPrefix:      pulumi.String("*"),
 * 			DestinationAddressPrefix: pulumi.String("*"),
 * 			ResourceGroupName:        example.Name,
 * 			NetworkSecurityGroupName: exampleNetworkSecurityGroup.Name,
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		_, err = network.NewNetworkSecurityRule(ctx, "allow_management_outbound", &network.NetworkSecurityRuleArgs{
 * 			Name:            pulumi.String("allow_management_outbound"),
 * 			Priority:        pulumi.Int(102),
 * 			Direction:       pulumi.String("Outbound"),
 * 			Access:          pulumi.String("Allow"),
 * 			Protocol:        pulumi.String("Tcp"),
 * 			SourcePortRange: pulumi.String("*"),
 * 			DestinationPortRanges: pulumi.StringArray{
 * 				pulumi.String("80"),
 * 				pulumi.String("443"),
 * 				pulumi.String("12000"),
 * 			},
 * 			SourceAddressPrefix:      pulumi.String("*"),
 * 			DestinationAddressPrefix: pulumi.String("*"),
 * 			ResourceGroupName:        example.Name,
 * 			NetworkSecurityGroupName: exampleNetworkSecurityGroup.Name,
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		_, err = network.NewNetworkSecurityRule(ctx, "allow_misubnet_outbound", &network.NetworkSecurityRuleArgs{
 * 			Name:                     pulumi.String("allow_misubnet_outbound"),
 * 			Priority:                 pulumi.Int(200),
 * 			Direction:                pulumi.String("Outbound"),
 * 			Access:                   pulumi.String("Allow"),
 * 			Protocol:                 pulumi.String("*"),
 * 			SourcePortRange:          pulumi.String("*"),
 * 			DestinationPortRange:     pulumi.String("*"),
 * 			SourceAddressPrefix:      pulumi.String("10.0.0.0/24"),
 * 			DestinationAddressPrefix: pulumi.String("*"),
 * 			ResourceGroupName:        example.Name,
 * 			NetworkSecurityGroupName: exampleNetworkSecurityGroup.Name,
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		_, err = network.NewNetworkSecurityRule(ctx, "deny_all_outbound", &network.NetworkSecurityRuleArgs{
 * 			Name:                     pulumi.String("deny_all_outbound"),
 * 			Priority:                 pulumi.Int(4096),
 * 			Direction:                pulumi.String("Outbound"),
 * 			Access:                   pulumi.String("Deny"),
 * 			Protocol:                 pulumi.String("*"),
 * 			SourcePortRange:          pulumi.String("*"),
 * 			DestinationPortRange:     pulumi.String("*"),
 * 			SourceAddressPrefix:      pulumi.String("*"),
 * 			DestinationAddressPrefix: pulumi.String("*"),
 * 			ResourceGroupName:        example.Name,
 * 			NetworkSecurityGroupName: exampleNetworkSecurityGroup.Name,
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{
 * 			Name:              pulumi.String("vnet-mi"),
 * 			ResourceGroupName: example.Name,
 * 			AddressSpaces: pulumi.StringArray{
 * 				pulumi.String("10.0.0.0/16"),
 * 			},
 * 			Location: example.Location,
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{
 * 			Name:               pulumi.String("subnet-mi"),
 * 			ResourceGroupName:  example.Name,
 * 			VirtualNetworkName: exampleVirtualNetwork.Name,
 * 			AddressPrefixes: pulumi.StringArray{
 * 				pulumi.String("10.0.0.0/24"),
 * 			},
 * 			Delegations: network.SubnetDelegationArray{
 * 				&network.SubnetDelegationArgs{
 * 					Name: pulumi.String("managedinstancedelegation"),
 * 					ServiceDelegation: &network.SubnetDelegationServiceDelegationArgs{
 * 						Name: pulumi.String("Microsoft.Sql/managedInstances"),
 * 						Actions: pulumi.StringArray{
 * 							pulumi.String("Microsoft.Network/virtualNetworks/subnets/join/action"),
 * 							pulumi.String("Microsoft.Network/virtualNetworks/subnets/prepareNetworkPolicies/action"),
 * 							pulumi.String("Microsoft.Network/virtualNetworks/subnets/unprepareNetworkPolicies/action"),
 * 						},
 * 					},
 * 				},
 * 			},
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleSubnetNetworkSecurityGroupAssociation, err := network.NewSubnetNetworkSecurityGroupAssociation(ctx, "example", &network.SubnetNetworkSecurityGroupAssociationArgs{
 * 			SubnetId:               exampleSubnet.ID(),
 * 			NetworkSecurityGroupId: exampleNetworkSecurityGroup.ID(),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleRouteTable, err := network.NewRouteTable(ctx, "example", &network.RouteTableArgs{
 * 			Name:                       pulumi.String("routetable-mi"),
 * 			Location:                   example.Location,
 * 			ResourceGroupName:          example.Name,
 * 			DisableBgpRoutePropagation: pulumi.Bool(false),
 * 		}, pulumi.DependsOn([]pulumi.Resource{
 * 			exampleSubnet,
 * 		}))
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleSubnetRouteTableAssociation, err := network.NewSubnetRouteTableAssociation(ctx, "example", &network.SubnetRouteTableAssociationArgs{
 * 			SubnetId:     exampleSubnet.ID(),
 * 			RouteTableId: exampleRouteTable.ID(),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		_, err = sql.NewManagedInstance(ctx, "example", &sql.ManagedInstanceArgs{
 * 			Name:                       pulumi.String("managedsqlinstance"),
 * 			ResourceGroupName:          example.Name,
 * 			Location:                   example.Location,
 * 			AdministratorLogin:         pulumi.String("mradministrator"),
 * 			AdministratorLoginPassword: pulumi.String("thisIsDog11"),
 * 			LicenseType:                pulumi.String("BasePrice"),
 * 			SubnetId:                   exampleSubnet.ID(),
 * 			SkuName:                    pulumi.String("GP_Gen5"),
 * 			Vcores:                     pulumi.Int(4),
 * 			StorageSizeInGb:            pulumi.Int(32),
 * 		}, pulumi.DependsOn([]pulumi.Resource{
 * 			exampleSubnetNetworkSecurityGroupAssociation,
 * 			exampleSubnetRouteTableAssociation,
 * 		}))
 * 		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.network.NetworkSecurityGroup;
 * import com.pulumi.azure.network.NetworkSecurityGroupArgs;
 * import com.pulumi.azure.network.NetworkSecurityRule;
 * import com.pulumi.azure.network.NetworkSecurityRuleArgs;
 * import com.pulumi.azure.network.VirtualNetwork;
 * import com.pulumi.azure.network.VirtualNetworkArgs;
 * import com.pulumi.azure.network.Subnet;
 * import com.pulumi.azure.network.SubnetArgs;
 * import com.pulumi.azure.network.inputs.SubnetDelegationArgs;
 * import com.pulumi.azure.network.inputs.SubnetDelegationServiceDelegationArgs;
 * import com.pulumi.azure.network.SubnetNetworkSecurityGroupAssociation;
 * import com.pulumi.azure.network.SubnetNetworkSecurityGroupAssociationArgs;
 * import com.pulumi.azure.network.RouteTable;
 * import com.pulumi.azure.network.RouteTableArgs;
 * import com.pulumi.azure.network.SubnetRouteTableAssociation;
 * import com.pulumi.azure.network.SubnetRouteTableAssociationArgs;
 * import com.pulumi.azure.sql.ManagedInstance;
 * import com.pulumi.azure.sql.ManagedInstanceArgs;
 * import com.pulumi.resources.CustomResourceOptions;
 * 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("database-rg")
 *             .location("West Europe")
 *             .build());
 *         var exampleNetworkSecurityGroup = new NetworkSecurityGroup("exampleNetworkSecurityGroup", NetworkSecurityGroupArgs.builder()
 *             .name("mi-security-group")
 *             .location(example.location())
 *             .resourceGroupName(example.name())
 *             .build());
 *         var allowManagementInbound = new NetworkSecurityRule("allowManagementInbound", NetworkSecurityRuleArgs.builder()
 *             .name("allow_management_inbound")
 *             .priority(106)
 *             .direction("Inbound")
 *             .access("Allow")
 *             .protocol("Tcp")
 *             .sourcePortRange("*")
 *             .destinationPortRanges(
 *                 "9000",
 *                 "9003",
 *                 "1438",
 *                 "1440",
 *                 "1452")
 *             .sourceAddressPrefix("*")
 *             .destinationAddressPrefix("*")
 *             .resourceGroupName(example.name())
 *             .networkSecurityGroupName(exampleNetworkSecurityGroup.name())
 *             .build());
 *         var allowMisubnetInbound = new NetworkSecurityRule("allowMisubnetInbound", NetworkSecurityRuleArgs.builder()
 *             .name("allow_misubnet_inbound")
 *             .priority(200)
 *             .direction("Inbound")
 *             .access("Allow")
 *             .protocol("*")
 *             .sourcePortRange("*")
 *             .destinationPortRange("*")
 *             .sourceAddressPrefix("10.0.0.0/24")
 *             .destinationAddressPrefix("*")
 *             .resourceGroupName(example.name())
 *             .networkSecurityGroupName(exampleNetworkSecurityGroup.name())
 *             .build());
 *         var allowHealthProbeInbound = new NetworkSecurityRule("allowHealthProbeInbound", NetworkSecurityRuleArgs.builder()
 *             .name("allow_health_probe_inbound")
 *             .priority(300)
 *             .direction("Inbound")
 *             .access("Allow")
 *             .protocol("*")
 *             .sourcePortRange("*")
 *             .destinationPortRange("*")
 *             .sourceAddressPrefix("AzureLoadBalancer")
 *             .destinationAddressPrefix("*")
 *             .resourceGroupName(example.name())
 *             .networkSecurityGroupName(exampleNetworkSecurityGroup.name())
 *             .build());
 *         var allowTdsInbound = new NetworkSecurityRule("allowTdsInbound", NetworkSecurityRuleArgs.builder()
 *             .name("allow_tds_inbound")
 *             .priority(1000)
 *             .direction("Inbound")
 *             .access("Allow")
 *             .protocol("Tcp")
 *             .sourcePortRange("*")
 *             .destinationPortRange("1433")
 *             .sourceAddressPrefix("VirtualNetwork")
 *             .destinationAddressPrefix("*")
 *             .resourceGroupName(example.name())
 *             .networkSecurityGroupName(exampleNetworkSecurityGroup.name())
 *             .build());
 *         var denyAllInbound = new NetworkSecurityRule("denyAllInbound", NetworkSecurityRuleArgs.builder()
 *             .name("deny_all_inbound")
 *             .priority(4096)
 *             .direction("Inbound")
 *             .access("Deny")
 *             .protocol("*")
 *             .sourcePortRange("*")
 *             .destinationPortRange("*")
 *             .sourceAddressPrefix("*")
 *             .destinationAddressPrefix("*")
 *             .resourceGroupName(example.name())
 *             .networkSecurityGroupName(exampleNetworkSecurityGroup.name())
 *             .build());
 *         var allowManagementOutbound = new NetworkSecurityRule("allowManagementOutbound", NetworkSecurityRuleArgs.builder()
 *             .name("allow_management_outbound")
 *             .priority(102)
 *             .direction("Outbound")
 *             .access("Allow")
 *             .protocol("Tcp")
 *             .sourcePortRange("*")
 *             .destinationPortRanges(
 *                 "80",
 *                 "443",
 *                 "12000")
 *             .sourceAddressPrefix("*")
 *             .destinationAddressPrefix("*")
 *             .resourceGroupName(example.name())
 *             .networkSecurityGroupName(exampleNetworkSecurityGroup.name())
 *             .build());
 *         var allowMisubnetOutbound = new NetworkSecurityRule("allowMisubnetOutbound", NetworkSecurityRuleArgs.builder()
 *             .name("allow_misubnet_outbound")
 *             .priority(200)
 *             .direction("Outbound")
 *             .access("Allow")
 *             .protocol("*")
 *             .sourcePortRange("*")
 *             .destinationPortRange("*")
 *             .sourceAddressPrefix("10.0.0.0/24")
 *             .destinationAddressPrefix("*")
 *             .resourceGroupName(example.name())
 *             .networkSecurityGroupName(exampleNetworkSecurityGroup.name())
 *             .build());
 *         var denyAllOutbound = new NetworkSecurityRule("denyAllOutbound", NetworkSecurityRuleArgs.builder()
 *             .name("deny_all_outbound")
 *             .priority(4096)
 *             .direction("Outbound")
 *             .access("Deny")
 *             .protocol("*")
 *             .sourcePortRange("*")
 *             .destinationPortRange("*")
 *             .sourceAddressPrefix("*")
 *             .destinationAddressPrefix("*")
 *             .resourceGroupName(example.name())
 *             .networkSecurityGroupName(exampleNetworkSecurityGroup.name())
 *             .build());
 *         var exampleVirtualNetwork = new VirtualNetwork("exampleVirtualNetwork", VirtualNetworkArgs.builder()
 *             .name("vnet-mi")
 *             .resourceGroupName(example.name())
 *             .addressSpaces("10.0.0.0/16")
 *             .location(example.location())
 *             .build());
 *         var exampleSubnet = new Subnet("exampleSubnet", SubnetArgs.builder()
 *             .name("subnet-mi")
 *             .resourceGroupName(example.name())
 *             .virtualNetworkName(exampleVirtualNetwork.name())
 *             .addressPrefixes("10.0.0.0/24")
 *             .delegations(SubnetDelegationArgs.builder()
 *                 .name("managedinstancedelegation")
 *                 .serviceDelegation(SubnetDelegationServiceDelegationArgs.builder()
 *                     .name("Microsoft.Sql/managedInstances")
 *                     .actions(
 *                         "Microsoft.Network/virtualNetworks/subnets/join/action",
 *                         "Microsoft.Network/virtualNetworks/subnets/prepareNetworkPolicies/action",
 *                         "Microsoft.Network/virtualNetworks/subnets/unprepareNetworkPolicies/action")
 *                     .build())
 *                 .build())
 *             .build());
 *         var exampleSubnetNetworkSecurityGroupAssociation = new SubnetNetworkSecurityGroupAssociation("exampleSubnetNetworkSecurityGroupAssociation", SubnetNetworkSecurityGroupAssociationArgs.builder()
 *             .subnetId(exampleSubnet.id())
 *             .networkSecurityGroupId(exampleNetworkSecurityGroup.id())
 *             .build());
 *         var exampleRouteTable = new RouteTable("exampleRouteTable", RouteTableArgs.builder()
 *             .name("routetable-mi")
 *             .location(example.location())
 *             .resourceGroupName(example.name())
 *             .disableBgpRoutePropagation(false)
 *             .build(), CustomResourceOptions.builder()
 *                 .dependsOn(exampleSubnet)
 *                 .build());
 *         var exampleSubnetRouteTableAssociation = new SubnetRouteTableAssociation("exampleSubnetRouteTableAssociation", SubnetRouteTableAssociationArgs.builder()
 *             .subnetId(exampleSubnet.id())
 *             .routeTableId(exampleRouteTable.id())
 *             .build());
 *         var exampleManagedInstance = new ManagedInstance("exampleManagedInstance", ManagedInstanceArgs.builder()
 *             .name("managedsqlinstance")
 *             .resourceGroupName(example.name())
 *             .location(example.location())
 *             .administratorLogin("mradministrator")
 *             .administratorLoginPassword("thisIsDog11")
 *             .licenseType("BasePrice")
 *             .subnetId(exampleSubnet.id())
 *             .skuName("GP_Gen5")
 *             .vcores(4)
 *             .storageSizeInGb(32)
 *             .build(), CustomResourceOptions.builder()
 *                 .dependsOn(
 *                     exampleSubnetNetworkSecurityGroupAssociation,
 *                     exampleSubnetRouteTableAssociation)
 *                 .build());
 *     }
 * }
 * ```
 * ```yaml
 * resources:
 *   example:
 *     type: azure:core:ResourceGroup
 *     properties:
 *       name: database-rg
 *       location: West Europe
 *   exampleNetworkSecurityGroup:
 *     type: azure:network:NetworkSecurityGroup
 *     name: example
 *     properties:
 *       name: mi-security-group
 *       location: ${example.location}
 *       resourceGroupName: ${example.name}
 *   allowManagementInbound:
 *     type: azure:network:NetworkSecurityRule
 *     name: allow_management_inbound
 *     properties:
 *       name: allow_management_inbound
 *       priority: 106
 *       direction: Inbound
 *       access: Allow
 *       protocol: Tcp
 *       sourcePortRange: '*'
 *       destinationPortRanges:
 *         - '9000'
 *         - '9003'
 *         - '1438'
 *         - '1440'
 *         - '1452'
 *       sourceAddressPrefix: '*'
 *       destinationAddressPrefix: '*'
 *       resourceGroupName: ${example.name}
 *       networkSecurityGroupName: ${exampleNetworkSecurityGroup.name}
 *   allowMisubnetInbound:
 *     type: azure:network:NetworkSecurityRule
 *     name: allow_misubnet_inbound
 *     properties:
 *       name: allow_misubnet_inbound
 *       priority: 200
 *       direction: Inbound
 *       access: Allow
 *       protocol: '*'
 *       sourcePortRange: '*'
 *       destinationPortRange: '*'
 *       sourceAddressPrefix: 10.0.0.0/24
 *       destinationAddressPrefix: '*'
 *       resourceGroupName: ${example.name}
 *       networkSecurityGroupName: ${exampleNetworkSecurityGroup.name}
 *   allowHealthProbeInbound:
 *     type: azure:network:NetworkSecurityRule
 *     name: allow_health_probe_inbound
 *     properties:
 *       name: allow_health_probe_inbound
 *       priority: 300
 *       direction: Inbound
 *       access: Allow
 *       protocol: '*'
 *       sourcePortRange: '*'
 *       destinationPortRange: '*'
 *       sourceAddressPrefix: AzureLoadBalancer
 *       destinationAddressPrefix: '*'
 *       resourceGroupName: ${example.name}
 *       networkSecurityGroupName: ${exampleNetworkSecurityGroup.name}
 *   allowTdsInbound:
 *     type: azure:network:NetworkSecurityRule
 *     name: allow_tds_inbound
 *     properties:
 *       name: allow_tds_inbound
 *       priority: 1000
 *       direction: Inbound
 *       access: Allow
 *       protocol: Tcp
 *       sourcePortRange: '*'
 *       destinationPortRange: '1433'
 *       sourceAddressPrefix: VirtualNetwork
 *       destinationAddressPrefix: '*'
 *       resourceGroupName: ${example.name}
 *       networkSecurityGroupName: ${exampleNetworkSecurityGroup.name}
 *   denyAllInbound:
 *     type: azure:network:NetworkSecurityRule
 *     name: deny_all_inbound
 *     properties:
 *       name: deny_all_inbound
 *       priority: 4096
 *       direction: Inbound
 *       access: Deny
 *       protocol: '*'
 *       sourcePortRange: '*'
 *       destinationPortRange: '*'
 *       sourceAddressPrefix: '*'
 *       destinationAddressPrefix: '*'
 *       resourceGroupName: ${example.name}
 *       networkSecurityGroupName: ${exampleNetworkSecurityGroup.name}
 *   allowManagementOutbound:
 *     type: azure:network:NetworkSecurityRule
 *     name: allow_management_outbound
 *     properties:
 *       name: allow_management_outbound
 *       priority: 102
 *       direction: Outbound
 *       access: Allow
 *       protocol: Tcp
 *       sourcePortRange: '*'
 *       destinationPortRanges:
 *         - '80'
 *         - '443'
 *         - '12000'
 *       sourceAddressPrefix: '*'
 *       destinationAddressPrefix: '*'
 *       resourceGroupName: ${example.name}
 *       networkSecurityGroupName: ${exampleNetworkSecurityGroup.name}
 *   allowMisubnetOutbound:
 *     type: azure:network:NetworkSecurityRule
 *     name: allow_misubnet_outbound
 *     properties:
 *       name: allow_misubnet_outbound
 *       priority: 200
 *       direction: Outbound
 *       access: Allow
 *       protocol: '*'
 *       sourcePortRange: '*'
 *       destinationPortRange: '*'
 *       sourceAddressPrefix: 10.0.0.0/24
 *       destinationAddressPrefix: '*'
 *       resourceGroupName: ${example.name}
 *       networkSecurityGroupName: ${exampleNetworkSecurityGroup.name}
 *   denyAllOutbound:
 *     type: azure:network:NetworkSecurityRule
 *     name: deny_all_outbound
 *     properties:
 *       name: deny_all_outbound
 *       priority: 4096
 *       direction: Outbound
 *       access: Deny
 *       protocol: '*'
 *       sourcePortRange: '*'
 *       destinationPortRange: '*'
 *       sourceAddressPrefix: '*'
 *       destinationAddressPrefix: '*'
 *       resourceGroupName: ${example.name}
 *       networkSecurityGroupName: ${exampleNetworkSecurityGroup.name}
 *   exampleVirtualNetwork:
 *     type: azure:network:VirtualNetwork
 *     name: example
 *     properties:
 *       name: vnet-mi
 *       resourceGroupName: ${example.name}
 *       addressSpaces:
 *         - 10.0.0.0/16
 *       location: ${example.location}
 *   exampleSubnet:
 *     type: azure:network:Subnet
 *     name: example
 *     properties:
 *       name: subnet-mi
 *       resourceGroupName: ${example.name}
 *       virtualNetworkName: ${exampleVirtualNetwork.name}
 *       addressPrefixes:
 *         - 10.0.0.0/24
 *       delegations:
 *         - name: managedinstancedelegation
 *           serviceDelegation:
 *             name: Microsoft.Sql/managedInstances
 *             actions:
 *               - Microsoft.Network/virtualNetworks/subnets/join/action
 *               - Microsoft.Network/virtualNetworks/subnets/prepareNetworkPolicies/action
 *               - Microsoft.Network/virtualNetworks/subnets/unprepareNetworkPolicies/action
 *   exampleSubnetNetworkSecurityGroupAssociation:
 *     type: azure:network:SubnetNetworkSecurityGroupAssociation
 *     name: example
 *     properties:
 *       subnetId: ${exampleSubnet.id}
 *       networkSecurityGroupId: ${exampleNetworkSecurityGroup.id}
 *   exampleRouteTable:
 *     type: azure:network:RouteTable
 *     name: example
 *     properties:
 *       name: routetable-mi
 *       location: ${example.location}
 *       resourceGroupName: ${example.name}
 *       disableBgpRoutePropagation: false
 *     options:
 *       dependson:
 *         - ${exampleSubnet}
 *   exampleSubnetRouteTableAssociation:
 *     type: azure:network:SubnetRouteTableAssociation
 *     name: example
 *     properties:
 *       subnetId: ${exampleSubnet.id}
 *       routeTableId: ${exampleRouteTable.id}
 *   exampleManagedInstance:
 *     type: azure:sql:ManagedInstance
 *     name: example
 *     properties:
 *       name: managedsqlinstance
 *       resourceGroupName: ${example.name}
 *       location: ${example.location}
 *       administratorLogin: mradministrator
 *       administratorLoginPassword: thisIsDog11
 *       licenseType: BasePrice
 *       subnetId: ${exampleSubnet.id}
 *       skuName: GP_Gen5
 *       vcores: 4
 *       storageSizeInGb: 32
 *     options:
 *       dependson:
 *         - ${exampleSubnetNetworkSecurityGroupAssociation}
 *         - ${exampleSubnetRouteTableAssociation}
 * ```
 * 
 * ## Import
 * SQL Servers can be imported using the `resource id`, e.g.
 * ```sh
 * $ pulumi import azure:sql/managedInstance:ManagedInstance example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.Sql/managedInstances/myserver
 * ```
 * @property administratorLogin The administrator login name for the new server. Changing this forces a new resource to be created.
 * @property administratorLoginPassword The password associated with the `administrator_login` user. Needs to comply with Azure's [Password Policy](https://msdn.microsoft.com/library/ms161959.aspx)
 * @property collation Specifies how the SQL Managed Instance will be collated. Default value is `SQL_Latin1_General_CP1_CI_AS`. Changing this forces a new resource to be created.
 * @property dnsZonePartnerId The ID of the Managed Instance which will share the DNS zone. This is a prerequisite for creating a `azure.sql.ManagedInstanceFailoverGroup`. Setting this after creation forces a new resource to be created.
 * @property identity An `identity` block as defined below.
 * @property licenseType What type of license the Managed Instance will use. Valid values include can be `LicenseIncluded` or `BasePrice`.
 * @property location Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
 * @property minimumTlsVersion The Minimum TLS Version. Default value is `1.2` Valid values include `1.0`, `1.1`, `1.2`.
 * @property name The name of the SQL Managed Instance. This needs to be globally unique within Azure. Changing this forces a new resource to be created.
 * @property proxyOverride Specifies how the SQL Managed Instance will be accessed. Default value is `Default`. Valid values include `Default`, `Proxy`, and `Redirect`.
 * @property publicDataEndpointEnabled Is the public data endpoint enabled? Default value is `false`.
 * @property resourceGroupName The name of the resource group in which to create the SQL Server. Changing this forces a new resource to be created.
 * @property skuName Specifies the SKU Name for the SQL Managed Instance. Valid values include `GP_Gen4`, `GP_Gen5`, `BC_Gen4`, `BC_Gen5`.
 * @property storageAccountType Specifies the storage account type used to store backups for this database. Changing this forces a new resource to be created. Possible values are `GRS`, `LRS` and `ZRS`. Defaults to `GRS`.
 * @property storageSizeInGb Maximum storage space for your instance. It should be a multiple of 32GB.
 * @property subnetId The subnet resource id that the SQL Managed Instance will be associated with. Changing this forces a new resource to be created.
 * @property tags A mapping of tags to assign to the resource.
 * @property timezoneId The TimeZone ID that the SQL Managed Instance will be operating in. Default value is `UTC`. Changing this forces a new resource to be created.
 * @property vcores Number of cores that should be assigned to your instance. Values can be `8`, `16`, or `24` if `sku_name` is `GP_Gen4`, or `8`, `16`, `24`, `32`, or `40` if `sku_name` is `GP_Gen5`.
 */
public data class ManagedInstanceArgs(
    public val administratorLogin: Output? = null,
    public val administratorLoginPassword: Output? = null,
    public val collation: Output? = null,
    public val dnsZonePartnerId: Output? = null,
    public val identity: Output? = null,
    public val licenseType: Output? = null,
    public val location: Output? = null,
    public val minimumTlsVersion: Output? = null,
    public val name: Output? = null,
    public val proxyOverride: Output? = null,
    public val publicDataEndpointEnabled: Output? = null,
    public val resourceGroupName: Output? = null,
    public val skuName: Output? = null,
    public val storageAccountType: Output? = null,
    public val storageSizeInGb: Output? = null,
    public val subnetId: Output? = null,
    public val tags: Output>? = null,
    public val timezoneId: Output? = null,
    public val vcores: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.sql.ManagedInstanceArgs =
        com.pulumi.azure.sql.ManagedInstanceArgs.builder()
            .administratorLogin(administratorLogin?.applyValue({ args0 -> args0 }))
            .administratorLoginPassword(administratorLoginPassword?.applyValue({ args0 -> args0 }))
            .collation(collation?.applyValue({ args0 -> args0 }))
            .dnsZonePartnerId(dnsZonePartnerId?.applyValue({ args0 -> args0 }))
            .identity(identity?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .licenseType(licenseType?.applyValue({ args0 -> args0 }))
            .location(location?.applyValue({ args0 -> args0 }))
            .minimumTlsVersion(minimumTlsVersion?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .proxyOverride(proxyOverride?.applyValue({ args0 -> args0 }))
            .publicDataEndpointEnabled(publicDataEndpointEnabled?.applyValue({ args0 -> args0 }))
            .resourceGroupName(resourceGroupName?.applyValue({ args0 -> args0 }))
            .skuName(skuName?.applyValue({ args0 -> args0 }))
            .storageAccountType(storageAccountType?.applyValue({ args0 -> args0 }))
            .storageSizeInGb(storageSizeInGb?.applyValue({ args0 -> args0 }))
            .subnetId(subnetId?.applyValue({ args0 -> args0 }))
            .tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.key.to(args0.value) }).toMap() }))
            .timezoneId(timezoneId?.applyValue({ args0 -> args0 }))
            .vcores(vcores?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ManagedInstanceArgs].
 */
@PulumiTagMarker
public class ManagedInstanceArgsBuilder internal constructor() {
    private var administratorLogin: Output? = null

    private var administratorLoginPassword: Output? = null

    private var collation: Output? = null

    private var dnsZonePartnerId: Output? = null

    private var identity: Output? = null

    private var licenseType: Output? = null

    private var location: Output? = null

    private var minimumTlsVersion: Output? = null

    private var name: Output? = null

    private var proxyOverride: Output? = null

    private var publicDataEndpointEnabled: Output? = null

    private var resourceGroupName: Output? = null

    private var skuName: Output? = null

    private var storageAccountType: Output? = null

    private var storageSizeInGb: Output? = null

    private var subnetId: Output? = null

    private var tags: Output>? = null

    private var timezoneId: Output? = null

    private var vcores: Output? = null

    /**
     * @param value The administrator login name for the new server. Changing this forces a new resource to be created.
     */
    @JvmName("pwtewndqlempwjls")
    public suspend fun administratorLogin(`value`: Output) {
        this.administratorLogin = value
    }

    /**
     * @param value The password associated with the `administrator_login` user. Needs to comply with Azure's [Password Policy](https://msdn.microsoft.com/library/ms161959.aspx)
     */
    @JvmName("vyyddtbhlxvomfpd")
    public suspend fun administratorLoginPassword(`value`: Output) {
        this.administratorLoginPassword = value
    }

    /**
     * @param value Specifies how the SQL Managed Instance will be collated. Default value is `SQL_Latin1_General_CP1_CI_AS`. Changing this forces a new resource to be created.
     */
    @JvmName("lxydnbejbvjhiuyx")
    public suspend fun collation(`value`: Output) {
        this.collation = value
    }

    /**
     * @param value The ID of the Managed Instance which will share the DNS zone. This is a prerequisite for creating a `azure.sql.ManagedInstanceFailoverGroup`. Setting this after creation forces a new resource to be created.
     */
    @JvmName("dpklnnbyyoqnsyvt")
    public suspend fun dnsZonePartnerId(`value`: Output) {
        this.dnsZonePartnerId = value
    }

    /**
     * @param value An `identity` block as defined below.
     */
    @JvmName("jeyffgicptqbxiex")
    public suspend fun identity(`value`: Output) {
        this.identity = value
    }

    /**
     * @param value What type of license the Managed Instance will use. Valid values include can be `LicenseIncluded` or `BasePrice`.
     */
    @JvmName("fmifcjwyinkpvutd")
    public suspend fun licenseType(`value`: Output) {
        this.licenseType = value
    }

    /**
     * @param value Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
     */
    @JvmName("qxcfddqvnvvtgmmm")
    public suspend fun location(`value`: Output) {
        this.location = value
    }

    /**
     * @param value The Minimum TLS Version. Default value is `1.2` Valid values include `1.0`, `1.1`, `1.2`.
     */
    @JvmName("bgngpycoixnqpxtm")
    public suspend fun minimumTlsVersion(`value`: Output) {
        this.minimumTlsVersion = value
    }

    /**
     * @param value The name of the SQL Managed Instance. This needs to be globally unique within Azure. Changing this forces a new resource to be created.
     */
    @JvmName("gqwtgmtyanbosbdn")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Specifies how the SQL Managed Instance will be accessed. Default value is `Default`. Valid values include `Default`, `Proxy`, and `Redirect`.
     */
    @JvmName("uerjwtsmrgbndttt")
    public suspend fun proxyOverride(`value`: Output) {
        this.proxyOverride = value
    }

    /**
     * @param value Is the public data endpoint enabled? Default value is `false`.
     */
    @JvmName("uyfoqtccefiverql")
    public suspend fun publicDataEndpointEnabled(`value`: Output) {
        this.publicDataEndpointEnabled = value
    }

    /**
     * @param value The name of the resource group in which to create the SQL Server. Changing this forces a new resource to be created.
     */
    @JvmName("xnaxfyugffngskdi")
    public suspend fun resourceGroupName(`value`: Output) {
        this.resourceGroupName = value
    }

    /**
     * @param value Specifies the SKU Name for the SQL Managed Instance. Valid values include `GP_Gen4`, `GP_Gen5`, `BC_Gen4`, `BC_Gen5`.
     */
    @JvmName("nwptiyjdmiffgcyv")
    public suspend fun skuName(`value`: Output) {
        this.skuName = value
    }

    /**
     * @param value Specifies the storage account type used to store backups for this database. Changing this forces a new resource to be created. Possible values are `GRS`, `LRS` and `ZRS`. Defaults to `GRS`.
     */
    @JvmName("lxclbhucpcqlpkpx")
    public suspend fun storageAccountType(`value`: Output) {
        this.storageAccountType = value
    }

    /**
     * @param value Maximum storage space for your instance. It should be a multiple of 32GB.
     */
    @JvmName("swlgviobfnuivsjb")
    public suspend fun storageSizeInGb(`value`: Output) {
        this.storageSizeInGb = value
    }

    /**
     * @param value The subnet resource id that the SQL Managed Instance will be associated with. Changing this forces a new resource to be created.
     */
    @JvmName("hbfeevrmavgukalj")
    public suspend fun subnetId(`value`: Output) {
        this.subnetId = value
    }

    /**
     * @param value A mapping of tags to assign to the resource.
     */
    @JvmName("nfbtjgpdqamoseow")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

    /**
     * @param value The TimeZone ID that the SQL Managed Instance will be operating in. Default value is `UTC`. Changing this forces a new resource to be created.
     */
    @JvmName("lljbcsuujipihddu")
    public suspend fun timezoneId(`value`: Output) {
        this.timezoneId = value
    }

    /**
     * @param value Number of cores that should be assigned to your instance. Values can be `8`, `16`, or `24` if `sku_name` is `GP_Gen4`, or `8`, `16`, `24`, `32`, or `40` if `sku_name` is `GP_Gen5`.
     */
    @JvmName("nbstiydbjkrahaqr")
    public suspend fun vcores(`value`: Output) {
        this.vcores = value
    }

    /**
     * @param value The administrator login name for the new server. Changing this forces a new resource to be created.
     */
    @JvmName("tgkixlghorynxqci")
    public suspend fun administratorLogin(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.administratorLogin = mapped
    }

    /**
     * @param value The password associated with the `administrator_login` user. Needs to comply with Azure's [Password Policy](https://msdn.microsoft.com/library/ms161959.aspx)
     */
    @JvmName("qjqddrtqccandndu")
    public suspend fun administratorLoginPassword(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.administratorLoginPassword = mapped
    }

    /**
     * @param value Specifies how the SQL Managed Instance will be collated. Default value is `SQL_Latin1_General_CP1_CI_AS`. Changing this forces a new resource to be created.
     */
    @JvmName("lhrojyylejssuhth")
    public suspend fun collation(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.collation = mapped
    }

    /**
     * @param value The ID of the Managed Instance which will share the DNS zone. This is a prerequisite for creating a `azure.sql.ManagedInstanceFailoverGroup`. Setting this after creation forces a new resource to be created.
     */
    @JvmName("kccqtapaopoxdahk")
    public suspend fun dnsZonePartnerId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dnsZonePartnerId = mapped
    }

    /**
     * @param value An `identity` block as defined below.
     */
    @JvmName("ydyylpjembwipefj")
    public suspend fun identity(`value`: ManagedInstanceIdentityArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.identity = mapped
    }

    /**
     * @param argument An `identity` block as defined below.
     */
    @JvmName("xxbddxawylcfgpyk")
    public suspend fun identity(argument: suspend ManagedInstanceIdentityArgsBuilder.() -> Unit) {
        val toBeMapped = ManagedInstanceIdentityArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.identity = mapped
    }

    /**
     * @param value What type of license the Managed Instance will use. Valid values include can be `LicenseIncluded` or `BasePrice`.
     */
    @JvmName("swyqkkhcbkkqjmvh")
    public suspend fun licenseType(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.licenseType = mapped
    }

    /**
     * @param value Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
     */
    @JvmName("rbqdtajtqromuydi")
    public suspend fun location(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.location = mapped
    }

    /**
     * @param value The Minimum TLS Version. Default value is `1.2` Valid values include `1.0`, `1.1`, `1.2`.
     */
    @JvmName("xumtsuowbimbqlcv")
    public suspend fun minimumTlsVersion(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.minimumTlsVersion = mapped
    }

    /**
     * @param value The name of the SQL Managed Instance. This needs to be globally unique within Azure. Changing this forces a new resource to be created.
     */
    @JvmName("sspytcunffjxsjiq")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value Specifies how the SQL Managed Instance will be accessed. Default value is `Default`. Valid values include `Default`, `Proxy`, and `Redirect`.
     */
    @JvmName("pbxggxwehxritgho")
    public suspend fun proxyOverride(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.proxyOverride = mapped
    }

    /**
     * @param value Is the public data endpoint enabled? Default value is `false`.
     */
    @JvmName("hegfbrayinlxjukj")
    public suspend fun publicDataEndpointEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.publicDataEndpointEnabled = mapped
    }

    /**
     * @param value The name of the resource group in which to create the SQL Server. Changing this forces a new resource to be created.
     */
    @JvmName("unyuloxxbluwksmq")
    public suspend fun resourceGroupName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.resourceGroupName = mapped
    }

    /**
     * @param value Specifies the SKU Name for the SQL Managed Instance. Valid values include `GP_Gen4`, `GP_Gen5`, `BC_Gen4`, `BC_Gen5`.
     */
    @JvmName("qwgftmsgoyimvkgn")
    public suspend fun skuName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.skuName = mapped
    }

    /**
     * @param value Specifies the storage account type used to store backups for this database. Changing this forces a new resource to be created. Possible values are `GRS`, `LRS` and `ZRS`. Defaults to `GRS`.
     */
    @JvmName("lxljxupddvkvlvjb")
    public suspend fun storageAccountType(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.storageAccountType = mapped
    }

    /**
     * @param value Maximum storage space for your instance. It should be a multiple of 32GB.
     */
    @JvmName("pvkybrdtpuxwimiy")
    public suspend fun storageSizeInGb(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.storageSizeInGb = mapped
    }

    /**
     * @param value The subnet resource id that the SQL Managed Instance will be associated with. Changing this forces a new resource to be created.
     */
    @JvmName("humpvrbjykqasgss")
    public suspend fun subnetId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.subnetId = mapped
    }

    /**
     * @param value A mapping of tags to assign to the resource.
     */
    @JvmName("yhmimmdmeaunphea")
    public suspend fun tags(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param values A mapping of tags to assign to the resource.
     */
    @JvmName("uskxilxrmfloimep")
    public fun tags(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param value The TimeZone ID that the SQL Managed Instance will be operating in. Default value is `UTC`. Changing this forces a new resource to be created.
     */
    @JvmName("cssjeoyudutsjeit")
    public suspend fun timezoneId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.timezoneId = mapped
    }

    /**
     * @param value Number of cores that should be assigned to your instance. Values can be `8`, `16`, or `24` if `sku_name` is `GP_Gen4`, or `8`, `16`, `24`, `32`, or `40` if `sku_name` is `GP_Gen5`.
     */
    @JvmName("wdnnbtabmtoyfkei")
    public suspend fun vcores(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.vcores = mapped
    }

    internal fun build(): ManagedInstanceArgs = ManagedInstanceArgs(
        administratorLogin = administratorLogin,
        administratorLoginPassword = administratorLoginPassword,
        collation = collation,
        dnsZonePartnerId = dnsZonePartnerId,
        identity = identity,
        licenseType = licenseType,
        location = location,
        minimumTlsVersion = minimumTlsVersion,
        name = name,
        proxyOverride = proxyOverride,
        publicDataEndpointEnabled = publicDataEndpointEnabled,
        resourceGroupName = resourceGroupName,
        skuName = skuName,
        storageAccountType = storageAccountType,
        storageSizeInGb = storageSizeInGb,
        subnetId = subnetId,
        tags = tags,
        timezoneId = timezoneId,
        vcores = vcores,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy