azure-native.sqlvirtualmachine.AvailabilityGroupListener
Explore with Pulumi AI
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:
- Resource
Group stringName - 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 stringMachine Group Name - Name of the SQL virtual machine group.
- Availability
Group Pulumi.Configuration Azure Native. Sql Virtual Machine. Inputs. Ag Configuration - Availability Group configuration.
- Availability
Group stringListener Name - Name of the availability group listener.
- Availability
Group stringName - Name of the availability group.
- Create
Default boolAvailability Group If Not Exist - Create a default availability group if it does not exist.
- Load
Balancer List<Pulumi.Configurations Azure Native. Sql Virtual Machine. Inputs. Load Balancer Configuration> - List of load balancer configurations for an availability group listener.
- Multi
Subnet List<Pulumi.Ip Configurations Azure Native. Sql Virtual Machine. Inputs. Multi Subnet Ip Configuration> - List of multi subnet IP configurations for an AG listener.
- Port int
- Listener port.
- Resource
Group stringName - 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 stringMachine Group Name - Name of the SQL virtual machine group.
- Availability
Group AgConfiguration Configuration Args - Availability Group configuration.
- Availability
Group stringListener Name - Name of the availability group listener.
- Availability
Group stringName - Name of the availability group.
- Create
Default boolAvailability Group If Not Exist - Create a default availability group if it does not exist.
- Load
Balancer []LoadConfigurations Balancer Configuration Args - List of load balancer configurations for an availability group listener.
- Multi
Subnet []MultiIp Configurations Subnet Ip Configuration Args - List of multi subnet IP configurations for an AG listener.
- Port int
- Listener port.
- resource
Group StringName - 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 StringMachine Group Name - Name of the SQL virtual machine group.
- availability
Group AgConfiguration Configuration - Availability Group configuration.
- availability
Group StringListener Name - Name of the availability group listener.
- availability
Group StringName - Name of the availability group.
- create
Default BooleanAvailability Group If Not Exist - Create a default availability group if it does not exist.
- load
Balancer List<LoadConfigurations Balancer Configuration> - List of load balancer configurations for an availability group listener.
- multi
Subnet List<MultiIp Configurations Subnet Ip Configuration> - List of multi subnet IP configurations for an AG listener.
- port Integer
- Listener port.
- resource
Group stringName - 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 stringMachine Group Name - Name of the SQL virtual machine group.
- availability
Group AgConfiguration Configuration - Availability Group configuration.
- availability
Group stringListener Name - Name of the availability group listener.
- availability
Group stringName - Name of the availability group.
- create
Default booleanAvailability Group If Not Exist - Create a default availability group if it does not exist.
- load
Balancer LoadConfigurations Balancer Configuration[] - List of load balancer configurations for an availability group listener.
- multi
Subnet MultiIp Configurations Subnet Ip Configuration[] - List of multi subnet IP configurations for an AG listener.
- port number
- Listener port.
- resource_
group_ strname - 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_ strmachine_ group_ name - Name of the SQL virtual machine group.
- availability_
group_ Agconfiguration Configuration Args - Availability Group configuration.
- availability_
group_ strlistener_ name - Name of the availability group listener.
- availability_
group_ strname - Name of the availability group.
- create_
default_ boolavailability_ group_ if_ not_ exist - Create a default availability group if it does not exist.
- load_
balancer_ Sequence[Loadconfigurations Balancer Configuration Args] - List of load balancer configurations for an availability group listener.
- multi_
subnet_ Sequence[Multiip_ configurations Subnet Ip Configuration Args] - List of multi subnet IP configurations for an AG listener.
- port int
- Listener port.
- resource
Group StringName - 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 StringMachine Group Name - Name of the SQL virtual machine group.
- availability
Group Property MapConfiguration - Availability Group configuration.
- availability
Group StringListener Name - Name of the availability group listener.
- availability
Group StringName - Name of the availability group.
- create
Default BooleanAvailability Group If Not Exist - Create a default availability group if it does not exist.
- load
Balancer List<Property Map>Configurations - List of load balancer configurations for an availability group listener.
- multi
Subnet List<Property Map>Ip Configurations - 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.
- Provisioning
State string - Provisioning state to track the async operation status.
- System
Data Pulumi.Azure Native. Sql Virtual Machine. Outputs. System Data Response - 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.
- Provisioning
State string - Provisioning state to track the async operation status.
- System
Data SystemData Response - 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.
- provisioning
State String - Provisioning state to track the async operation status.
- system
Data SystemData Response - 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.
- provisioning
State string - Provisioning state to track the async operation status.
- system
Data SystemData Response - 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 SystemData Response - 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.
- provisioning
State String - Provisioning state to track the async operation status.
- system
Data Property Map - Metadata pertaining to creation and last modification of the resource.
- type String
- Resource type.
Supporting Types
AgConfiguration, AgConfigurationArgs
- Replicas
List<Pulumi.
Azure Native. Sql Virtual Machine. Inputs. Ag Replica> - Replica configurations.
- Replicas
[]Ag
Replica - Replica configurations.
- replicas
List<Ag
Replica> - Replica configurations.
- replicas
Ag
Replica[] - Replica configurations.
- replicas
Sequence[Ag
Replica] - Replica configurations.
- replicas List<Property Map>
- Replica configurations.
AgConfigurationResponse, AgConfigurationResponseArgs
- Replicas
List<Pulumi.
Azure Native. Sql Virtual Machine. Inputs. Ag Replica Response> - Replica configurations.
- Replicas
[]Ag
Replica Response - Replica configurations.
- replicas
List<Ag
Replica Response> - Replica configurations.
- replicas
Ag
Replica Response[] - Replica configurations.
- replicas
Sequence[Ag
Replica Response] - Replica configurations.
- replicas List<Property Map>
- Replica configurations.
AgReplica, AgReplicaArgs
- Commit
string | Pulumi.
Azure Native. Sql Virtual Machine. Commit - Replica commit mode in availability group.
- Failover
string | Pulumi.
Azure Native. Sql Virtual Machine. Failover - Replica failover mode in availability group.
- Readable
Secondary string | Pulumi.Azure Native. Sql Virtual Machine. Readable Secondary - Replica readable secondary mode in availability group.
- Role
string | Pulumi.
Azure Native. Sql Virtual Machine. Role - Replica Role in availability group.
- Sql
Virtual stringMachine Instance Id - Sql VirtualMachine Instance Id.
- Commit string | Commit
- Replica commit mode in availability group.
- Failover string | Failover
- Replica failover mode in availability group.
- Readable
Secondary string | ReadableSecondary - Replica readable secondary mode in availability group.
- Role string | Role
- Replica Role in availability group.
- Sql
Virtual stringMachine Instance Id - Sql VirtualMachine Instance Id.
- commit String | Commit
- Replica commit mode in availability group.
- failover String | Failover
- Replica failover mode in availability group.
- readable
Secondary String | ReadableSecondary - Replica readable secondary mode in availability group.
- role String | Role
- Replica Role in availability group.
- sql
Virtual StringMachine Instance Id - Sql VirtualMachine Instance Id.
- commit string | Commit
- Replica commit mode in availability group.
- failover string | Failover
- Replica failover mode in availability group.
- readable
Secondary string | ReadableSecondary - Replica readable secondary mode in availability group.
- role string | Role
- Replica Role in availability group.
- sql
Virtual stringMachine Instance Id - 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_ strmachine_ instance_ id - 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.
- readable
Secondary String | "No" | "All" | "Read_Only" - Replica readable secondary mode in availability group.
- role String | "Primary" | "Secondary"
- Replica Role in availability group.
- sql
Virtual StringMachine Instance Id - Sql VirtualMachine Instance Id.
AgReplicaResponse, AgReplicaResponseArgs
- Commit string
- Replica commit mode in availability group.
- Failover string
- Replica failover mode in availability group.
- Readable
Secondary string - Replica readable secondary mode in availability group.
- Role string
- Replica Role in availability group.
- Sql
Virtual stringMachine Instance Id - Sql VirtualMachine Instance Id.
- Commit string
- Replica commit mode in availability group.
- Failover string
- Replica failover mode in availability group.
- Readable
Secondary string - Replica readable secondary mode in availability group.
- Role string
- Replica Role in availability group.
- Sql
Virtual stringMachine Instance Id - Sql VirtualMachine Instance Id.
- commit String
- Replica commit mode in availability group.
- failover String
- Replica failover mode in availability group.
- readable
Secondary String - Replica readable secondary mode in availability group.
- role String
- Replica Role in availability group.
- sql
Virtual StringMachine Instance Id - Sql VirtualMachine Instance Id.
- commit string
- Replica commit mode in availability group.
- failover string
- Replica failover mode in availability group.
- readable
Secondary string - Replica readable secondary mode in availability group.
- role string
- Replica Role in availability group.
- sql
Virtual stringMachine Instance Id - 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_ strmachine_ instance_ id - Sql VirtualMachine Instance Id.
- commit String
- Replica commit mode in availability group.
- failover String
- Replica failover mode in availability group.
- readable
Secondary String - Replica readable secondary mode in availability group.
- role String
- Replica Role in availability group.
- sql
Virtual StringMachine Instance Id - 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
- Failover
Automatic - Automatic
- Failover
Manual - Manual
- Automatic
- Automatic
- Manual
- Manual
- Automatic
- Automatic
- Manual
- Manual
- AUTOMATIC
- Automatic
- MANUAL
- Manual
- "Automatic"
- Automatic
- "Manual"
- Manual
LoadBalancerConfiguration, LoadBalancerConfigurationArgs
- Load
Balancer stringResource Id - Resource id of the load balancer.
- Private
Ip Pulumi.Address Azure Native. Sql Virtual Machine. Inputs. Private IPAddress - Private IP address.
- Probe
Port int - Probe port.
- Public
Ip stringAddress Resource Id - Resource id of the public IP.
- Sql
Virtual List<string>Machine Instances - List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.
- Load
Balancer stringResource Id - Resource id of the load balancer.
- Private
Ip PrivateAddress IPAddress - Private IP address.
- Probe
Port int - Probe port.
- Public
Ip stringAddress Resource Id - Resource id of the public IP.
- Sql
Virtual []stringMachine Instances - List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.
- load
Balancer StringResource Id - Resource id of the load balancer.
- private
Ip PrivateAddress IPAddress - Private IP address.
- probe
Port Integer - Probe port.
- public
Ip StringAddress Resource Id - Resource id of the public IP.
- sql
Virtual List<String>Machine Instances - List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.
- load
Balancer stringResource Id - Resource id of the load balancer.
- private
Ip PrivateAddress IPAddress - Private IP address.
- probe
Port number - Probe port.
- public
Ip stringAddress Resource Id - Resource id of the public IP.
- sql
Virtual string[]Machine Instances - List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.
- load_
balancer_ strresource_ id - Resource id of the load balancer.
- private_
ip_ Privateaddress IPAddress - Private IP address.
- probe_
port int - Probe port.
- public_
ip_ straddress_ resource_ id - Resource id of the public IP.
- sql_
virtual_ Sequence[str]machine_ instances - List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.
- load
Balancer StringResource Id - Resource id of the load balancer.
- private
Ip Property MapAddress - Private IP address.
- probe
Port Number - Probe port.
- public
Ip StringAddress Resource Id - Resource id of the public IP.
- sql
Virtual List<String>Machine Instances - List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.
LoadBalancerConfigurationResponse, LoadBalancerConfigurationResponseArgs
- Load
Balancer stringResource Id - Resource id of the load balancer.
- Private
Ip Pulumi.Address Azure Native. Sql Virtual Machine. Inputs. Private IPAddress Response - Private IP address.
- Probe
Port int - Probe port.
- Public
Ip stringAddress Resource Id - Resource id of the public IP.
- Sql
Virtual List<string>Machine Instances - List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.
- Load
Balancer stringResource Id - Resource id of the load balancer.
- Private
Ip PrivateAddress IPAddress Response - Private IP address.
- Probe
Port int - Probe port.
- Public
Ip stringAddress Resource Id - Resource id of the public IP.
- Sql
Virtual []stringMachine Instances - List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.
- load
Balancer StringResource Id - Resource id of the load balancer.
- private
Ip PrivateAddress IPAddress Response - Private IP address.
- probe
Port Integer - Probe port.
- public
Ip StringAddress Resource Id - Resource id of the public IP.
- sql
Virtual List<String>Machine Instances - List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.
- load
Balancer stringResource Id - Resource id of the load balancer.
- private
Ip PrivateAddress IPAddress Response - Private IP address.
- probe
Port number - Probe port.
- public
Ip stringAddress Resource Id - Resource id of the public IP.
- sql
Virtual string[]Machine Instances - List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.
- load_
balancer_ strresource_ id - Resource id of the load balancer.
- private_
ip_ Privateaddress IPAddress Response - Private IP address.
- probe_
port int - Probe port.
- public_
ip_ straddress_ resource_ id - Resource id of the public IP.
- sql_
virtual_ Sequence[str]machine_ instances - List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.
- load
Balancer StringResource Id - Resource id of the load balancer.
- private
Ip Property MapAddress - Private IP address.
- probe
Port Number - Probe port.
- public
Ip StringAddress Resource Id - Resource id of the public IP.
- sql
Virtual List<String>Machine Instances - List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.
MultiSubnetIpConfiguration, MultiSubnetIpConfigurationArgs
- Private
Ip Pulumi.Address Azure Native. Sql Virtual Machine. Inputs. Private IPAddress - Private IP address.
- Sql
Virtual stringMachine Instance - SQL virtual machine instance resource id that are enrolled into the availability group listener.
- Private
Ip PrivateAddress IPAddress - Private IP address.
- Sql
Virtual stringMachine Instance - SQL virtual machine instance resource id that are enrolled into the availability group listener.
- private
Ip PrivateAddress IPAddress - Private IP address.
- sql
Virtual StringMachine Instance - SQL virtual machine instance resource id that are enrolled into the availability group listener.
- private
Ip PrivateAddress IPAddress - Private IP address.
- sql
Virtual stringMachine Instance - SQL virtual machine instance resource id that are enrolled into the availability group listener.
- private_
ip_ Privateaddress IPAddress - Private IP address.
- sql_
virtual_ strmachine_ instance - SQL virtual machine instance resource id that are enrolled into the availability group listener.
- private
Ip Property MapAddress - Private IP address.
- sql
Virtual StringMachine Instance - SQL virtual machine instance resource id that are enrolled into the availability group listener.
MultiSubnetIpConfigurationResponse, MultiSubnetIpConfigurationResponseArgs
- Private
Ip Pulumi.Address Azure Native. Sql Virtual Machine. Inputs. Private IPAddress Response - Private IP address.
- Sql
Virtual stringMachine Instance - SQL virtual machine instance resource id that are enrolled into the availability group listener.
- Private
Ip PrivateAddress IPAddress Response - Private IP address.
- Sql
Virtual stringMachine Instance - SQL virtual machine instance resource id that are enrolled into the availability group listener.
- private
Ip PrivateAddress IPAddress Response - Private IP address.
- sql
Virtual StringMachine Instance - SQL virtual machine instance resource id that are enrolled into the availability group listener.
- private
Ip PrivateAddress IPAddress Response - Private IP address.
- sql
Virtual stringMachine Instance - SQL virtual machine instance resource id that are enrolled into the availability group listener.
- private_
ip_ Privateaddress IPAddress Response - Private IP address.
- sql_
virtual_ strmachine_ instance - SQL virtual machine instance resource id that are enrolled into the availability group listener.
- private
Ip Property MapAddress - Private IP address.
- sql
Virtual StringMachine Instance - SQL virtual machine instance resource id that are enrolled into the availability group listener.
PrivateIPAddress, PrivateIPAddressArgs
- Ip
Address string - Private IP address bound to the availability group listener.
- Subnet
Resource stringId - Subnet used to include private IP.
- Ip
Address string - Private IP address bound to the availability group listener.
- Subnet
Resource stringId - Subnet used to include private IP.
- ip
Address String - Private IP address bound to the availability group listener.
- subnet
Resource StringId - Subnet used to include private IP.
- ip
Address string - Private IP address bound to the availability group listener.
- subnet
Resource stringId - Subnet used to include private IP.
- ip_
address str - Private IP address bound to the availability group listener.
- subnet_
resource_ strid - Subnet used to include private IP.
- ip
Address String - Private IP address bound to the availability group listener.
- subnet
Resource StringId - Subnet used to include private IP.
PrivateIPAddressResponse, PrivateIPAddressResponseArgs
- Ip
Address string - Private IP address bound to the availability group listener.
- Subnet
Resource stringId - Subnet used to include private IP.
- Ip
Address string - Private IP address bound to the availability group listener.
- Subnet
Resource stringId - Subnet used to include private IP.
- ip
Address String - Private IP address bound to the availability group listener.
- subnet
Resource StringId - Subnet used to include private IP.
- ip
Address string - Private IP address bound to the availability group listener.
- subnet
Resource stringId - Subnet used to include private IP.
- ip_
address str - Private IP address bound to the availability group listener.
- subnet_
resource_ strid - Subnet used to include private IP.
- ip
Address String - Private IP address bound to the availability group listener.
- subnet
Resource StringId - Subnet used to include private IP.
ReadableSecondary, ReadableSecondaryArgs
- No
- No
- All
- All
- Read_Only
- Read_Only
- Readable
Secondary No - No
- Readable
Secondary All - All
- Readable
Secondary_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
- Role
Primary - Primary
- Role
Secondary - Secondary
- Primary
- Primary
- Secondary
- Secondary
- Primary
- Primary
- Secondary
- Secondary
- PRIMARY
- Primary
- SECONDARY
- Secondary
- "Primary"
- Primary
- "Secondary"
- Secondary
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - 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