1. Packages
  2. Azure Native
  3. API Docs
  4. sqlvirtualmachine
  5. AvailabilityGroupListener
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.sqlvirtualmachine.AvailabilityGroupListener

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

    A SQL Server availability group listener. Azure REST API version: 2022-02-01. Prior API version in Azure Native 1.x: 2017-03-01-preview.

    Other available API versions: 2023-01-01-preview, 2023-10-01.

    Example Usage

    Creates or updates an availability group listener using load balancer. This is used for VMs present in single subnet.

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var availabilityGroupListener = new AzureNative.SqlVirtualMachine.AvailabilityGroupListener("availabilityGroupListener", new()
        {
            AvailabilityGroupListenerName = "agl-test",
            AvailabilityGroupName = "ag-test",
            LoadBalancerConfigurations = new[]
            {
                new AzureNative.SqlVirtualMachine.Inputs.LoadBalancerConfigurationArgs
                {
                    LoadBalancerResourceId = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb-test",
                    PrivateIpAddress = new AzureNative.SqlVirtualMachine.Inputs.PrivateIPAddressArgs
                    {
                        IpAddress = "10.1.0.112",
                        SubnetResourceId = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/default",
                    },
                    ProbePort = 59983,
                    SqlVirtualMachineInstances = new[]
                    {
                        "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/testvm2",
                        "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/testvm3",
                    },
                },
            },
            Port = 1433,
            ResourceGroupName = "testrg",
            SqlVirtualMachineGroupName = "testvmgroup",
        });
    
    });
    
    package main
    
    import (
    	sqlvirtualmachine "github.com/pulumi/pulumi-azure-native-sdk/sqlvirtualmachine/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sqlvirtualmachine.NewAvailabilityGroupListener(ctx, "availabilityGroupListener", &sqlvirtualmachine.AvailabilityGroupListenerArgs{
    			AvailabilityGroupListenerName: pulumi.String("agl-test"),
    			AvailabilityGroupName:         pulumi.String("ag-test"),
    			LoadBalancerConfigurations: sqlvirtualmachine.LoadBalancerConfigurationArray{
    				&sqlvirtualmachine.LoadBalancerConfigurationArgs{
    					LoadBalancerResourceId: pulumi.String("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb-test"),
    					PrivateIpAddress: &sqlvirtualmachine.PrivateIPAddressArgs{
    						IpAddress:        pulumi.String("10.1.0.112"),
    						SubnetResourceId: pulumi.String("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/default"),
    					},
    					ProbePort: pulumi.Int(59983),
    					SqlVirtualMachineInstances: pulumi.StringArray{
    						pulumi.String("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/testvm2"),
    						pulumi.String("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/testvm3"),
    					},
    				},
    			},
    			Port:                       pulumi.Int(1433),
    			ResourceGroupName:          pulumi.String("testrg"),
    			SqlVirtualMachineGroupName: pulumi.String("testvmgroup"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.sqlvirtualmachine.AvailabilityGroupListener;
    import com.pulumi.azurenative.sqlvirtualmachine.AvailabilityGroupListenerArgs;
    import com.pulumi.azurenative.sqlvirtualmachine.inputs.LoadBalancerConfigurationArgs;
    import com.pulumi.azurenative.sqlvirtualmachine.inputs.PrivateIPAddressArgs;
    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 availabilityGroupListener = new AvailabilityGroupListener("availabilityGroupListener", AvailabilityGroupListenerArgs.builder()
                .availabilityGroupListenerName("agl-test")
                .availabilityGroupName("ag-test")
                .loadBalancerConfigurations(LoadBalancerConfigurationArgs.builder()
                    .loadBalancerResourceId("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb-test")
                    .privateIpAddress(PrivateIPAddressArgs.builder()
                        .ipAddress("10.1.0.112")
                        .subnetResourceId("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/default")
                        .build())
                    .probePort(59983)
                    .sqlVirtualMachineInstances(                
                        "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/testvm2",
                        "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/testvm3")
                    .build())
                .port(1433)
                .resourceGroupName("testrg")
                .sqlVirtualMachineGroupName("testvmgroup")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    availability_group_listener = azure_native.sqlvirtualmachine.AvailabilityGroupListener("availabilityGroupListener",
        availability_group_listener_name="agl-test",
        availability_group_name="ag-test",
        load_balancer_configurations=[{
            "load_balancer_resource_id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb-test",
            "private_ip_address": {
                "ip_address": "10.1.0.112",
                "subnet_resource_id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/default",
            },
            "probe_port": 59983,
            "sql_virtual_machine_instances": [
                "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/testvm2",
                "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/testvm3",
            ],
        }],
        port=1433,
        resource_group_name="testrg",
        sql_virtual_machine_group_name="testvmgroup")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const availabilityGroupListener = new azure_native.sqlvirtualmachine.AvailabilityGroupListener("availabilityGroupListener", {
        availabilityGroupListenerName: "agl-test",
        availabilityGroupName: "ag-test",
        loadBalancerConfigurations: [{
            loadBalancerResourceId: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb-test",
            privateIpAddress: {
                ipAddress: "10.1.0.112",
                subnetResourceId: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/default",
            },
            probePort: 59983,
            sqlVirtualMachineInstances: [
                "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/testvm2",
                "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/testvm3",
            ],
        }],
        port: 1433,
        resourceGroupName: "testrg",
        sqlVirtualMachineGroupName: "testvmgroup",
    });
    
    resources:
      availabilityGroupListener:
        type: azure-native:sqlvirtualmachine:AvailabilityGroupListener
        properties:
          availabilityGroupListenerName: agl-test
          availabilityGroupName: ag-test
          loadBalancerConfigurations:
            - loadBalancerResourceId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb-test
              privateIpAddress:
                ipAddress: 10.1.0.112
                subnetResourceId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/default
              probePort: 59983
              sqlVirtualMachineInstances:
                - /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/testvm2
                - /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/testvm3
          port: 1433
          resourceGroupName: testrg
          sqlVirtualMachineGroupName: testvmgroup
    

    Creates or updates an availability group listener. This is used for VMs present in multi subnet

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var availabilityGroupListener = new AzureNative.SqlVirtualMachine.AvailabilityGroupListener("availabilityGroupListener", new()
        {
            AvailabilityGroupListenerName = "agl-test",
            AvailabilityGroupName = "ag-test",
            MultiSubnetIpConfigurations = new[]
            {
                new AzureNative.SqlVirtualMachine.Inputs.MultiSubnetIpConfigurationArgs
                {
                    PrivateIpAddress = new AzureNative.SqlVirtualMachine.Inputs.PrivateIPAddressArgs
                    {
                        IpAddress = "10.0.0.112",
                        SubnetResourceId = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/default",
                    },
                    SqlVirtualMachineInstance = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/testvm2",
                },
                new AzureNative.SqlVirtualMachine.Inputs.MultiSubnetIpConfigurationArgs
                {
                    PrivateIpAddress = new AzureNative.SqlVirtualMachine.Inputs.PrivateIPAddressArgs
                    {
                        IpAddress = "10.0.1.112",
                        SubnetResourceId = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/alternate",
                    },
                    SqlVirtualMachineInstance = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/testvm1",
                },
            },
            Port = 1433,
            ResourceGroupName = "testrg",
            SqlVirtualMachineGroupName = "testvmgroup",
        });
    
    });
    
    package main
    
    import (
    	sqlvirtualmachine "github.com/pulumi/pulumi-azure-native-sdk/sqlvirtualmachine/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sqlvirtualmachine.NewAvailabilityGroupListener(ctx, "availabilityGroupListener", &sqlvirtualmachine.AvailabilityGroupListenerArgs{
    			AvailabilityGroupListenerName: pulumi.String("agl-test"),
    			AvailabilityGroupName:         pulumi.String("ag-test"),
    			MultiSubnetIpConfigurations: sqlvirtualmachine.MultiSubnetIpConfigurationArray{
    				&sqlvirtualmachine.MultiSubnetIpConfigurationArgs{
    					PrivateIpAddress: &sqlvirtualmachine.PrivateIPAddressArgs{
    						IpAddress:        pulumi.String("10.0.0.112"),
    						SubnetResourceId: pulumi.String("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/default"),
    					},
    					SqlVirtualMachineInstance: pulumi.String("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/testvm2"),
    				},
    				&sqlvirtualmachine.MultiSubnetIpConfigurationArgs{
    					PrivateIpAddress: &sqlvirtualmachine.PrivateIPAddressArgs{
    						IpAddress:        pulumi.String("10.0.1.112"),
    						SubnetResourceId: pulumi.String("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/alternate"),
    					},
    					SqlVirtualMachineInstance: pulumi.String("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/testvm1"),
    				},
    			},
    			Port:                       pulumi.Int(1433),
    			ResourceGroupName:          pulumi.String("testrg"),
    			SqlVirtualMachineGroupName: pulumi.String("testvmgroup"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.sqlvirtualmachine.AvailabilityGroupListener;
    import com.pulumi.azurenative.sqlvirtualmachine.AvailabilityGroupListenerArgs;
    import com.pulumi.azurenative.sqlvirtualmachine.inputs.MultiSubnetIpConfigurationArgs;
    import com.pulumi.azurenative.sqlvirtualmachine.inputs.PrivateIPAddressArgs;
    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 availabilityGroupListener = new AvailabilityGroupListener("availabilityGroupListener", AvailabilityGroupListenerArgs.builder()
                .availabilityGroupListenerName("agl-test")
                .availabilityGroupName("ag-test")
                .multiSubnetIpConfigurations(            
                    MultiSubnetIpConfigurationArgs.builder()
                        .privateIpAddress(PrivateIPAddressArgs.builder()
                            .ipAddress("10.0.0.112")
                            .subnetResourceId("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/default")
                            .build())
                        .sqlVirtualMachineInstance("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/testvm2")
                        .build(),
                    MultiSubnetIpConfigurationArgs.builder()
                        .privateIpAddress(PrivateIPAddressArgs.builder()
                            .ipAddress("10.0.1.112")
                            .subnetResourceId("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/alternate")
                            .build())
                        .sqlVirtualMachineInstance("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/testvm1")
                        .build())
                .port(1433)
                .resourceGroupName("testrg")
                .sqlVirtualMachineGroupName("testvmgroup")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    availability_group_listener = azure_native.sqlvirtualmachine.AvailabilityGroupListener("availabilityGroupListener",
        availability_group_listener_name="agl-test",
        availability_group_name="ag-test",
        multi_subnet_ip_configurations=[
            {
                "private_ip_address": {
                    "ip_address": "10.0.0.112",
                    "subnet_resource_id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/default",
                },
                "sql_virtual_machine_instance": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/testvm2",
            },
            {
                "private_ip_address": {
                    "ip_address": "10.0.1.112",
                    "subnet_resource_id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/alternate",
                },
                "sql_virtual_machine_instance": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/testvm1",
            },
        ],
        port=1433,
        resource_group_name="testrg",
        sql_virtual_machine_group_name="testvmgroup")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const availabilityGroupListener = new azure_native.sqlvirtualmachine.AvailabilityGroupListener("availabilityGroupListener", {
        availabilityGroupListenerName: "agl-test",
        availabilityGroupName: "ag-test",
        multiSubnetIpConfigurations: [
            {
                privateIpAddress: {
                    ipAddress: "10.0.0.112",
                    subnetResourceId: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/default",
                },
                sqlVirtualMachineInstance: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/testvm2",
            },
            {
                privateIpAddress: {
                    ipAddress: "10.0.1.112",
                    subnetResourceId: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/alternate",
                },
                sqlVirtualMachineInstance: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/testvm1",
            },
        ],
        port: 1433,
        resourceGroupName: "testrg",
        sqlVirtualMachineGroupName: "testvmgroup",
    });
    
    resources:
      availabilityGroupListener:
        type: azure-native:sqlvirtualmachine:AvailabilityGroupListener
        properties:
          availabilityGroupListenerName: agl-test
          availabilityGroupName: ag-test
          multiSubnetIpConfigurations:
            - privateIpAddress:
                ipAddress: 10.0.0.112
                subnetResourceId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/default
              sqlVirtualMachineInstance: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/testvm2
            - privateIpAddress:
                ipAddress: 10.0.1.112
                subnetResourceId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/alternate
              sqlVirtualMachineInstance: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/testvm1
          port: 1433
          resourceGroupName: testrg
          sqlVirtualMachineGroupName: testvmgroup
    

    Create AvailabilityGroupListener Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AvailabilityGroupListener(name: string, args: AvailabilityGroupListenerArgs, opts?: CustomResourceOptions);
    @overload
    def AvailabilityGroupListener(resource_name: str,
                                  args: AvailabilityGroupListenerArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def AvailabilityGroupListener(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  resource_group_name: Optional[str] = None,
                                  sql_virtual_machine_group_name: Optional[str] = None,
                                  availability_group_configuration: Optional[AgConfigurationArgs] = None,
                                  availability_group_listener_name: Optional[str] = None,
                                  availability_group_name: Optional[str] = None,
                                  create_default_availability_group_if_not_exist: Optional[bool] = None,
                                  load_balancer_configurations: Optional[Sequence[LoadBalancerConfigurationArgs]] = None,
                                  multi_subnet_ip_configurations: Optional[Sequence[MultiSubnetIpConfigurationArgs]] = None,
                                  port: Optional[int] = None)
    func NewAvailabilityGroupListener(ctx *Context, name string, args AvailabilityGroupListenerArgs, opts ...ResourceOption) (*AvailabilityGroupListener, error)
    public AvailabilityGroupListener(string name, AvailabilityGroupListenerArgs args, CustomResourceOptions? opts = null)
    public AvailabilityGroupListener(String name, AvailabilityGroupListenerArgs args)
    public AvailabilityGroupListener(String name, AvailabilityGroupListenerArgs args, CustomResourceOptions options)
    
    type: azure-native:sqlvirtualmachine:AvailabilityGroupListener
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AvailabilityGroupListenerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AvailabilityGroupListenerArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AvailabilityGroupListenerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AvailabilityGroupListenerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AvailabilityGroupListenerArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var availabilityGroupListenerResource = new AzureNative.SqlVirtualMachine.AvailabilityGroupListener("availabilityGroupListenerResource", new()
    {
        ResourceGroupName = "string",
        SqlVirtualMachineGroupName = "string",
        AvailabilityGroupConfiguration = new AzureNative.SqlVirtualMachine.Inputs.AgConfigurationArgs
        {
            Replicas = new[]
            {
                new AzureNative.SqlVirtualMachine.Inputs.AgReplicaArgs
                {
                    Commit = "string",
                    Failover = "string",
                    ReadableSecondary = "string",
                    Role = "string",
                    SqlVirtualMachineInstanceId = "string",
                },
            },
        },
        AvailabilityGroupListenerName = "string",
        AvailabilityGroupName = "string",
        CreateDefaultAvailabilityGroupIfNotExist = false,
        LoadBalancerConfigurations = new[]
        {
            new AzureNative.SqlVirtualMachine.Inputs.LoadBalancerConfigurationArgs
            {
                LoadBalancerResourceId = "string",
                PrivateIpAddress = new AzureNative.SqlVirtualMachine.Inputs.PrivateIPAddressArgs
                {
                    IpAddress = "string",
                    SubnetResourceId = "string",
                },
                ProbePort = 0,
                PublicIpAddressResourceId = "string",
                SqlVirtualMachineInstances = new[]
                {
                    "string",
                },
            },
        },
        MultiSubnetIpConfigurations = new[]
        {
            new AzureNative.SqlVirtualMachine.Inputs.MultiSubnetIpConfigurationArgs
            {
                PrivateIpAddress = new AzureNative.SqlVirtualMachine.Inputs.PrivateIPAddressArgs
                {
                    IpAddress = "string",
                    SubnetResourceId = "string",
                },
                SqlVirtualMachineInstance = "string",
            },
        },
        Port = 0,
    });
    
    example, err := sqlvirtualmachine.NewAvailabilityGroupListener(ctx, "availabilityGroupListenerResource", &sqlvirtualmachine.AvailabilityGroupListenerArgs{
    	ResourceGroupName:          pulumi.String("string"),
    	SqlVirtualMachineGroupName: pulumi.String("string"),
    	AvailabilityGroupConfiguration: &sqlvirtualmachine.AgConfigurationArgs{
    		Replicas: sqlvirtualmachine.AgReplicaArray{
    			&sqlvirtualmachine.AgReplicaArgs{
    				Commit:                      pulumi.String("string"),
    				Failover:                    pulumi.String("string"),
    				ReadableSecondary:           pulumi.String("string"),
    				Role:                        pulumi.String("string"),
    				SqlVirtualMachineInstanceId: pulumi.String("string"),
    			},
    		},
    	},
    	AvailabilityGroupListenerName:            pulumi.String("string"),
    	AvailabilityGroupName:                    pulumi.String("string"),
    	CreateDefaultAvailabilityGroupIfNotExist: pulumi.Bool(false),
    	LoadBalancerConfigurations: sqlvirtualmachine.LoadBalancerConfigurationArray{
    		&sqlvirtualmachine.LoadBalancerConfigurationArgs{
    			LoadBalancerResourceId: pulumi.String("string"),
    			PrivateIpAddress: &sqlvirtualmachine.PrivateIPAddressArgs{
    				IpAddress:        pulumi.String("string"),
    				SubnetResourceId: pulumi.String("string"),
    			},
    			ProbePort:                 pulumi.Int(0),
    			PublicIpAddressResourceId: pulumi.String("string"),
    			SqlVirtualMachineInstances: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	MultiSubnetIpConfigurations: sqlvirtualmachine.MultiSubnetIpConfigurationArray{
    		&sqlvirtualmachine.MultiSubnetIpConfigurationArgs{
    			PrivateIpAddress: &sqlvirtualmachine.PrivateIPAddressArgs{
    				IpAddress:        pulumi.String("string"),
    				SubnetResourceId: pulumi.String("string"),
    			},
    			SqlVirtualMachineInstance: pulumi.String("string"),
    		},
    	},
    	Port: pulumi.Int(0),
    })
    
    var availabilityGroupListenerResource = new AvailabilityGroupListener("availabilityGroupListenerResource", AvailabilityGroupListenerArgs.builder()
        .resourceGroupName("string")
        .sqlVirtualMachineGroupName("string")
        .availabilityGroupConfiguration(AgConfigurationArgs.builder()
            .replicas(AgReplicaArgs.builder()
                .commit("string")
                .failover("string")
                .readableSecondary("string")
                .role("string")
                .sqlVirtualMachineInstanceId("string")
                .build())
            .build())
        .availabilityGroupListenerName("string")
        .availabilityGroupName("string")
        .createDefaultAvailabilityGroupIfNotExist(false)
        .loadBalancerConfigurations(LoadBalancerConfigurationArgs.builder()
            .loadBalancerResourceId("string")
            .privateIpAddress(PrivateIPAddressArgs.builder()
                .ipAddress("string")
                .subnetResourceId("string")
                .build())
            .probePort(0)
            .publicIpAddressResourceId("string")
            .sqlVirtualMachineInstances("string")
            .build())
        .multiSubnetIpConfigurations(MultiSubnetIpConfigurationArgs.builder()
            .privateIpAddress(PrivateIPAddressArgs.builder()
                .ipAddress("string")
                .subnetResourceId("string")
                .build())
            .sqlVirtualMachineInstance("string")
            .build())
        .port(0)
        .build());
    
    availability_group_listener_resource = azure_native.sqlvirtualmachine.AvailabilityGroupListener("availabilityGroupListenerResource",
        resource_group_name="string",
        sql_virtual_machine_group_name="string",
        availability_group_configuration={
            "replicas": [{
                "commit": "string",
                "failover": "string",
                "readable_secondary": "string",
                "role": "string",
                "sql_virtual_machine_instance_id": "string",
            }],
        },
        availability_group_listener_name="string",
        availability_group_name="string",
        create_default_availability_group_if_not_exist=False,
        load_balancer_configurations=[{
            "load_balancer_resource_id": "string",
            "private_ip_address": {
                "ip_address": "string",
                "subnet_resource_id": "string",
            },
            "probe_port": 0,
            "public_ip_address_resource_id": "string",
            "sql_virtual_machine_instances": ["string"],
        }],
        multi_subnet_ip_configurations=[{
            "private_ip_address": {
                "ip_address": "string",
                "subnet_resource_id": "string",
            },
            "sql_virtual_machine_instance": "string",
        }],
        port=0)
    
    const availabilityGroupListenerResource = new azure_native.sqlvirtualmachine.AvailabilityGroupListener("availabilityGroupListenerResource", {
        resourceGroupName: "string",
        sqlVirtualMachineGroupName: "string",
        availabilityGroupConfiguration: {
            replicas: [{
                commit: "string",
                failover: "string",
                readableSecondary: "string",
                role: "string",
                sqlVirtualMachineInstanceId: "string",
            }],
        },
        availabilityGroupListenerName: "string",
        availabilityGroupName: "string",
        createDefaultAvailabilityGroupIfNotExist: false,
        loadBalancerConfigurations: [{
            loadBalancerResourceId: "string",
            privateIpAddress: {
                ipAddress: "string",
                subnetResourceId: "string",
            },
            probePort: 0,
            publicIpAddressResourceId: "string",
            sqlVirtualMachineInstances: ["string"],
        }],
        multiSubnetIpConfigurations: [{
            privateIpAddress: {
                ipAddress: "string",
                subnetResourceId: "string",
            },
            sqlVirtualMachineInstance: "string",
        }],
        port: 0,
    });
    
    type: azure-native:sqlvirtualmachine:AvailabilityGroupListener
    properties:
        availabilityGroupConfiguration:
            replicas:
                - commit: string
                  failover: string
                  readableSecondary: string
                  role: string
                  sqlVirtualMachineInstanceId: string
        availabilityGroupListenerName: string
        availabilityGroupName: string
        createDefaultAvailabilityGroupIfNotExist: false
        loadBalancerConfigurations:
            - loadBalancerResourceId: string
              privateIpAddress:
                ipAddress: string
                subnetResourceId: string
              probePort: 0
              publicIpAddressResourceId: string
              sqlVirtualMachineInstances:
                - string
        multiSubnetIpConfigurations:
            - privateIpAddress:
                ipAddress: string
                subnetResourceId: string
              sqlVirtualMachineInstance: string
        port: 0
        resourceGroupName: string
        sqlVirtualMachineGroupName: string
    

    AvailabilityGroupListener Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AvailabilityGroupListener resource accepts the following input properties:

    ResourceGroupName string
    Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    SqlVirtualMachineGroupName string
    Name of the SQL virtual machine group.
    AvailabilityGroupConfiguration Pulumi.AzureNative.SqlVirtualMachine.Inputs.AgConfiguration
    Availability Group configuration.
    AvailabilityGroupListenerName string
    Name of the availability group listener.
    AvailabilityGroupName string
    Name of the availability group.
    CreateDefaultAvailabilityGroupIfNotExist bool
    Create a default availability group if it does not exist.
    LoadBalancerConfigurations List<Pulumi.AzureNative.SqlVirtualMachine.Inputs.LoadBalancerConfiguration>
    List of load balancer configurations for an availability group listener.
    MultiSubnetIpConfigurations List<Pulumi.AzureNative.SqlVirtualMachine.Inputs.MultiSubnetIpConfiguration>
    List of multi subnet IP configurations for an AG listener.
    Port int
    Listener port.
    ResourceGroupName string
    Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    SqlVirtualMachineGroupName string
    Name of the SQL virtual machine group.
    AvailabilityGroupConfiguration AgConfigurationArgs
    Availability Group configuration.
    AvailabilityGroupListenerName string
    Name of the availability group listener.
    AvailabilityGroupName string
    Name of the availability group.
    CreateDefaultAvailabilityGroupIfNotExist bool
    Create a default availability group if it does not exist.
    LoadBalancerConfigurations []LoadBalancerConfigurationArgs
    List of load balancer configurations for an availability group listener.
    MultiSubnetIpConfigurations []MultiSubnetIpConfigurationArgs
    List of multi subnet IP configurations for an AG listener.
    Port int
    Listener port.
    resourceGroupName String
    Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    sqlVirtualMachineGroupName String
    Name of the SQL virtual machine group.
    availabilityGroupConfiguration AgConfiguration
    Availability Group configuration.
    availabilityGroupListenerName String
    Name of the availability group listener.
    availabilityGroupName String
    Name of the availability group.
    createDefaultAvailabilityGroupIfNotExist Boolean
    Create a default availability group if it does not exist.
    loadBalancerConfigurations List<LoadBalancerConfiguration>
    List of load balancer configurations for an availability group listener.
    multiSubnetIpConfigurations List<MultiSubnetIpConfiguration>
    List of multi subnet IP configurations for an AG listener.
    port Integer
    Listener port.
    resourceGroupName string
    Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    sqlVirtualMachineGroupName string
    Name of the SQL virtual machine group.
    availabilityGroupConfiguration AgConfiguration
    Availability Group configuration.
    availabilityGroupListenerName string
    Name of the availability group listener.
    availabilityGroupName string
    Name of the availability group.
    createDefaultAvailabilityGroupIfNotExist boolean
    Create a default availability group if it does not exist.
    loadBalancerConfigurations LoadBalancerConfiguration[]
    List of load balancer configurations for an availability group listener.
    multiSubnetIpConfigurations MultiSubnetIpConfiguration[]
    List of multi subnet IP configurations for an AG listener.
    port number
    Listener port.
    resource_group_name str
    Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    sql_virtual_machine_group_name str
    Name of the SQL virtual machine group.
    availability_group_configuration AgConfigurationArgs
    Availability Group configuration.
    availability_group_listener_name str
    Name of the availability group listener.
    availability_group_name str
    Name of the availability group.
    create_default_availability_group_if_not_exist bool
    Create a default availability group if it does not exist.
    load_balancer_configurations Sequence[LoadBalancerConfigurationArgs]
    List of load balancer configurations for an availability group listener.
    multi_subnet_ip_configurations Sequence[MultiSubnetIpConfigurationArgs]
    List of multi subnet IP configurations for an AG listener.
    port int
    Listener port.
    resourceGroupName String
    Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    sqlVirtualMachineGroupName String
    Name of the SQL virtual machine group.
    availabilityGroupConfiguration Property Map
    Availability Group configuration.
    availabilityGroupListenerName String
    Name of the availability group listener.
    availabilityGroupName String
    Name of the availability group.
    createDefaultAvailabilityGroupIfNotExist Boolean
    Create a default availability group if it does not exist.
    loadBalancerConfigurations List<Property Map>
    List of load balancer configurations for an availability group listener.
    multiSubnetIpConfigurations List<Property Map>
    List of multi subnet IP configurations for an AG listener.
    port Number
    Listener port.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AvailabilityGroupListener resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Resource name.
    ProvisioningState string
    Provisioning state to track the async operation status.
    SystemData Pulumi.AzureNative.SqlVirtualMachine.Outputs.SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    Type string
    Resource type.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Resource name.
    ProvisioningState string
    Provisioning state to track the async operation status.
    SystemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    Type string
    Resource type.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Resource name.
    provisioningState String
    Provisioning state to track the async operation status.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type String
    Resource type.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Resource name.
    provisioningState string
    Provisioning state to track the async operation status.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type string
    Resource type.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Resource name.
    provisioning_state str
    Provisioning state to track the async operation status.
    system_data SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type str
    Resource type.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Resource name.
    provisioningState String
    Provisioning state to track the async operation status.
    systemData Property Map
    Metadata pertaining to creation and last modification of the resource.
    type String
    Resource type.

    Supporting Types

    AgConfiguration, AgConfigurationArgs

    Replicas []AgReplica
    Replica configurations.
    replicas List<AgReplica>
    Replica configurations.
    replicas AgReplica[]
    Replica configurations.
    replicas Sequence[AgReplica]
    Replica configurations.
    replicas List<Property Map>
    Replica configurations.

    AgConfigurationResponse, AgConfigurationResponseArgs

    Replicas []AgReplicaResponse
    Replica configurations.
    replicas List<AgReplicaResponse>
    Replica configurations.
    replicas AgReplicaResponse[]
    Replica configurations.
    replicas Sequence[AgReplicaResponse]
    Replica configurations.
    replicas List<Property Map>
    Replica configurations.

    AgReplica, AgReplicaArgs

    Commit string | Pulumi.AzureNative.SqlVirtualMachine.Commit
    Replica commit mode in availability group.
    Failover string | Pulumi.AzureNative.SqlVirtualMachine.Failover
    Replica failover mode in availability group.
    ReadableSecondary string | Pulumi.AzureNative.SqlVirtualMachine.ReadableSecondary
    Replica readable secondary mode in availability group.
    Role string | Pulumi.AzureNative.SqlVirtualMachine.Role
    Replica Role in availability group.
    SqlVirtualMachineInstanceId string
    Sql VirtualMachine Instance Id.
    Commit string | Commit
    Replica commit mode in availability group.
    Failover string | Failover
    Replica failover mode in availability group.
    ReadableSecondary string | ReadableSecondary
    Replica readable secondary mode in availability group.
    Role string | Role
    Replica Role in availability group.
    SqlVirtualMachineInstanceId string
    Sql VirtualMachine Instance Id.
    commit String | Commit
    Replica commit mode in availability group.
    failover String | Failover
    Replica failover mode in availability group.
    readableSecondary String | ReadableSecondary
    Replica readable secondary mode in availability group.
    role String | Role
    Replica Role in availability group.
    sqlVirtualMachineInstanceId String
    Sql VirtualMachine Instance Id.
    commit string | Commit
    Replica commit mode in availability group.
    failover string | Failover
    Replica failover mode in availability group.
    readableSecondary string | ReadableSecondary
    Replica readable secondary mode in availability group.
    role string | Role
    Replica Role in availability group.
    sqlVirtualMachineInstanceId string
    Sql VirtualMachine Instance Id.
    commit str | Commit
    Replica commit mode in availability group.
    failover str | Failover
    Replica failover mode in availability group.
    readable_secondary str | ReadableSecondary
    Replica readable secondary mode in availability group.
    role str | Role
    Replica Role in availability group.
    sql_virtual_machine_instance_id str
    Sql VirtualMachine Instance Id.
    commit String | "Synchronous_Commit" | "Asynchronous_Commit"
    Replica commit mode in availability group.
    failover String | "Automatic" | "Manual"
    Replica failover mode in availability group.
    readableSecondary String | "No" | "All" | "Read_Only"
    Replica readable secondary mode in availability group.
    role String | "Primary" | "Secondary"
    Replica Role in availability group.
    sqlVirtualMachineInstanceId String
    Sql VirtualMachine Instance Id.

    AgReplicaResponse, AgReplicaResponseArgs

    Commit string
    Replica commit mode in availability group.
    Failover string
    Replica failover mode in availability group.
    ReadableSecondary string
    Replica readable secondary mode in availability group.
    Role string
    Replica Role in availability group.
    SqlVirtualMachineInstanceId string
    Sql VirtualMachine Instance Id.
    Commit string
    Replica commit mode in availability group.
    Failover string
    Replica failover mode in availability group.
    ReadableSecondary string
    Replica readable secondary mode in availability group.
    Role string
    Replica Role in availability group.
    SqlVirtualMachineInstanceId string
    Sql VirtualMachine Instance Id.
    commit String
    Replica commit mode in availability group.
    failover String
    Replica failover mode in availability group.
    readableSecondary String
    Replica readable secondary mode in availability group.
    role String
    Replica Role in availability group.
    sqlVirtualMachineInstanceId String
    Sql VirtualMachine Instance Id.
    commit string
    Replica commit mode in availability group.
    failover string
    Replica failover mode in availability group.
    readableSecondary string
    Replica readable secondary mode in availability group.
    role string
    Replica Role in availability group.
    sqlVirtualMachineInstanceId string
    Sql VirtualMachine Instance Id.
    commit str
    Replica commit mode in availability group.
    failover str
    Replica failover mode in availability group.
    readable_secondary str
    Replica readable secondary mode in availability group.
    role str
    Replica Role in availability group.
    sql_virtual_machine_instance_id str
    Sql VirtualMachine Instance Id.
    commit String
    Replica commit mode in availability group.
    failover String
    Replica failover mode in availability group.
    readableSecondary String
    Replica readable secondary mode in availability group.
    role String
    Replica Role in availability group.
    sqlVirtualMachineInstanceId String
    Sql VirtualMachine Instance Id.

    Commit, CommitArgs

    Synchronous_Commit
    Synchronous_Commit
    Asynchronous_Commit
    Asynchronous_Commit
    Commit_Synchronous_Commit
    Synchronous_Commit
    Commit_Asynchronous_Commit
    Asynchronous_Commit
    Synchronous_Commit
    Synchronous_Commit
    Asynchronous_Commit
    Asynchronous_Commit
    Synchronous_Commit
    Synchronous_Commit
    Asynchronous_Commit
    Asynchronous_Commit
    SYNCHRONOUS_COMMIT
    Synchronous_Commit
    ASYNCHRONOUS_COMMIT
    Asynchronous_Commit
    "Synchronous_Commit"
    Synchronous_Commit
    "Asynchronous_Commit"
    Asynchronous_Commit

    Failover, FailoverArgs

    Automatic
    Automatic
    Manual
    Manual
    FailoverAutomatic
    Automatic
    FailoverManual
    Manual
    Automatic
    Automatic
    Manual
    Manual
    Automatic
    Automatic
    Manual
    Manual
    AUTOMATIC
    Automatic
    MANUAL
    Manual
    "Automatic"
    Automatic
    "Manual"
    Manual

    LoadBalancerConfiguration, LoadBalancerConfigurationArgs

    LoadBalancerResourceId string
    Resource id of the load balancer.
    PrivateIpAddress Pulumi.AzureNative.SqlVirtualMachine.Inputs.PrivateIPAddress
    Private IP address.
    ProbePort int
    Probe port.
    PublicIpAddressResourceId string
    Resource id of the public IP.
    SqlVirtualMachineInstances List<string>
    List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.
    LoadBalancerResourceId string
    Resource id of the load balancer.
    PrivateIpAddress PrivateIPAddress
    Private IP address.
    ProbePort int
    Probe port.
    PublicIpAddressResourceId string
    Resource id of the public IP.
    SqlVirtualMachineInstances []string
    List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.
    loadBalancerResourceId String
    Resource id of the load balancer.
    privateIpAddress PrivateIPAddress
    Private IP address.
    probePort Integer
    Probe port.
    publicIpAddressResourceId String
    Resource id of the public IP.
    sqlVirtualMachineInstances List<String>
    List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.
    loadBalancerResourceId string
    Resource id of the load balancer.
    privateIpAddress PrivateIPAddress
    Private IP address.
    probePort number
    Probe port.
    publicIpAddressResourceId string
    Resource id of the public IP.
    sqlVirtualMachineInstances string[]
    List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.
    load_balancer_resource_id str
    Resource id of the load balancer.
    private_ip_address PrivateIPAddress
    Private IP address.
    probe_port int
    Probe port.
    public_ip_address_resource_id str
    Resource id of the public IP.
    sql_virtual_machine_instances Sequence[str]
    List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.
    loadBalancerResourceId String
    Resource id of the load balancer.
    privateIpAddress Property Map
    Private IP address.
    probePort Number
    Probe port.
    publicIpAddressResourceId String
    Resource id of the public IP.
    sqlVirtualMachineInstances List<String>
    List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.

    LoadBalancerConfigurationResponse, LoadBalancerConfigurationResponseArgs

    LoadBalancerResourceId string
    Resource id of the load balancer.
    PrivateIpAddress Pulumi.AzureNative.SqlVirtualMachine.Inputs.PrivateIPAddressResponse
    Private IP address.
    ProbePort int
    Probe port.
    PublicIpAddressResourceId string
    Resource id of the public IP.
    SqlVirtualMachineInstances List<string>
    List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.
    LoadBalancerResourceId string
    Resource id of the load balancer.
    PrivateIpAddress PrivateIPAddressResponse
    Private IP address.
    ProbePort int
    Probe port.
    PublicIpAddressResourceId string
    Resource id of the public IP.
    SqlVirtualMachineInstances []string
    List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.
    loadBalancerResourceId String
    Resource id of the load balancer.
    privateIpAddress PrivateIPAddressResponse
    Private IP address.
    probePort Integer
    Probe port.
    publicIpAddressResourceId String
    Resource id of the public IP.
    sqlVirtualMachineInstances List<String>
    List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.
    loadBalancerResourceId string
    Resource id of the load balancer.
    privateIpAddress PrivateIPAddressResponse
    Private IP address.
    probePort number
    Probe port.
    publicIpAddressResourceId string
    Resource id of the public IP.
    sqlVirtualMachineInstances string[]
    List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.
    load_balancer_resource_id str
    Resource id of the load balancer.
    private_ip_address PrivateIPAddressResponse
    Private IP address.
    probe_port int
    Probe port.
    public_ip_address_resource_id str
    Resource id of the public IP.
    sql_virtual_machine_instances Sequence[str]
    List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.
    loadBalancerResourceId String
    Resource id of the load balancer.
    privateIpAddress Property Map
    Private IP address.
    probePort Number
    Probe port.
    publicIpAddressResourceId String
    Resource id of the public IP.
    sqlVirtualMachineInstances List<String>
    List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.

    MultiSubnetIpConfiguration, MultiSubnetIpConfigurationArgs

    PrivateIpAddress Pulumi.AzureNative.SqlVirtualMachine.Inputs.PrivateIPAddress
    Private IP address.
    SqlVirtualMachineInstance string
    SQL virtual machine instance resource id that are enrolled into the availability group listener.
    PrivateIpAddress PrivateIPAddress
    Private IP address.
    SqlVirtualMachineInstance string
    SQL virtual machine instance resource id that are enrolled into the availability group listener.
    privateIpAddress PrivateIPAddress
    Private IP address.
    sqlVirtualMachineInstance String
    SQL virtual machine instance resource id that are enrolled into the availability group listener.
    privateIpAddress PrivateIPAddress
    Private IP address.
    sqlVirtualMachineInstance string
    SQL virtual machine instance resource id that are enrolled into the availability group listener.
    private_ip_address PrivateIPAddress
    Private IP address.
    sql_virtual_machine_instance str
    SQL virtual machine instance resource id that are enrolled into the availability group listener.
    privateIpAddress Property Map
    Private IP address.
    sqlVirtualMachineInstance String
    SQL virtual machine instance resource id that are enrolled into the availability group listener.

    MultiSubnetIpConfigurationResponse, MultiSubnetIpConfigurationResponseArgs

    PrivateIpAddress Pulumi.AzureNative.SqlVirtualMachine.Inputs.PrivateIPAddressResponse
    Private IP address.
    SqlVirtualMachineInstance string
    SQL virtual machine instance resource id that are enrolled into the availability group listener.
    PrivateIpAddress PrivateIPAddressResponse
    Private IP address.
    SqlVirtualMachineInstance string
    SQL virtual machine instance resource id that are enrolled into the availability group listener.
    privateIpAddress PrivateIPAddressResponse
    Private IP address.
    sqlVirtualMachineInstance String
    SQL virtual machine instance resource id that are enrolled into the availability group listener.
    privateIpAddress PrivateIPAddressResponse
    Private IP address.
    sqlVirtualMachineInstance string
    SQL virtual machine instance resource id that are enrolled into the availability group listener.
    private_ip_address PrivateIPAddressResponse
    Private IP address.
    sql_virtual_machine_instance str
    SQL virtual machine instance resource id that are enrolled into the availability group listener.
    privateIpAddress Property Map
    Private IP address.
    sqlVirtualMachineInstance String
    SQL virtual machine instance resource id that are enrolled into the availability group listener.

    PrivateIPAddress, PrivateIPAddressArgs

    IpAddress string
    Private IP address bound to the availability group listener.
    SubnetResourceId string
    Subnet used to include private IP.
    IpAddress string
    Private IP address bound to the availability group listener.
    SubnetResourceId string
    Subnet used to include private IP.
    ipAddress String
    Private IP address bound to the availability group listener.
    subnetResourceId String
    Subnet used to include private IP.
    ipAddress string
    Private IP address bound to the availability group listener.
    subnetResourceId string
    Subnet used to include private IP.
    ip_address str
    Private IP address bound to the availability group listener.
    subnet_resource_id str
    Subnet used to include private IP.
    ipAddress String
    Private IP address bound to the availability group listener.
    subnetResourceId String
    Subnet used to include private IP.

    PrivateIPAddressResponse, PrivateIPAddressResponseArgs

    IpAddress string
    Private IP address bound to the availability group listener.
    SubnetResourceId string
    Subnet used to include private IP.
    IpAddress string
    Private IP address bound to the availability group listener.
    SubnetResourceId string
    Subnet used to include private IP.
    ipAddress String
    Private IP address bound to the availability group listener.
    subnetResourceId String
    Subnet used to include private IP.
    ipAddress string
    Private IP address bound to the availability group listener.
    subnetResourceId string
    Subnet used to include private IP.
    ip_address str
    Private IP address bound to the availability group listener.
    subnet_resource_id str
    Subnet used to include private IP.
    ipAddress String
    Private IP address bound to the availability group listener.
    subnetResourceId String
    Subnet used to include private IP.

    ReadableSecondary, ReadableSecondaryArgs

    No
    No
    All
    All
    Read_Only
    Read_Only
    ReadableSecondaryNo
    No
    ReadableSecondaryAll
    All
    ReadableSecondary_Read_Only
    Read_Only
    No
    No
    All
    All
    Read_Only
    Read_Only
    No
    No
    All
    All
    Read_Only
    Read_Only
    NO
    No
    ALL
    All
    READ_ONLY
    Read_Only
    "No"
    No
    "All"
    All
    "Read_Only"
    Read_Only

    Role, RoleArgs

    Primary
    Primary
    Secondary
    Secondary
    RolePrimary
    Primary
    RoleSecondary
    Secondary
    Primary
    Primary
    Secondary
    Secondary
    Primary
    Primary
    Secondary
    Secondary
    PRIMARY
    Primary
    SECONDARY
    Secondary
    "Primary"
    Primary
    "Secondary"
    Secondary

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:sqlvirtualmachine:AvailabilityGroupListener agl-test /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/availabilityGroupListeners/{availabilityGroupListenerName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi