azure-native.sqlvirtualmachine.AvailabilityGroupListener
Explore with Pulumi AI
A SQL Server availability group listener. API Version: 2017-03-01-preview.
Example Usage
Creates or updates an availability group listener.
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"
"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.LoadBalancerConfigurationArgs{
{
LoadBalancerResourceId: pulumi.String("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb-test"),
PrivateIpAddress: {
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 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(Map.ofEntries(
Map.entry("loadBalancerResourceId", "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb-test"),
Map.entry("privateIpAddress", Map.ofEntries(
Map.entry("ipAddress", "10.1.0.112"),
Map.entry("subnetResourceId", "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/default")
)),
Map.entry("probePort", 59983),
Map.entry("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")
.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=[{
"loadBalancerResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb-test",
"privateIpAddress": azure_native.sqlvirtualmachine.PrivateIPAddressArgs(
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",
),
"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,
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
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_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,
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",
AvailabilityGroupListenerName = "string",
AvailabilityGroupName = "string",
CreateDefaultAvailabilityGroupIfNotExist = false,
LoadBalancerConfigurations = new[]
{
{
{ "loadBalancerResourceId", "string" },
{ "privateIpAddress",
{
{ "ipAddress", "string" },
{ "subnetResourceId", "string" },
} },
{ "probePort", 0 },
{ "publicIpAddressResourceId", "string" },
{ "sqlVirtualMachineInstances", new[]
{
"string",
} },
},
},
Port = 0,
});
example, err := sqlvirtualmachine.NewAvailabilityGroupListener(ctx, "availabilityGroupListenerResource", &sqlvirtualmachine.AvailabilityGroupListenerArgs{
ResourceGroupName: "string",
SqlVirtualMachineGroupName: "string",
AvailabilityGroupListenerName: "string",
AvailabilityGroupName: "string",
CreateDefaultAvailabilityGroupIfNotExist: false,
LoadBalancerConfigurations: []map[string]interface{}{
map[string]interface{}{
"loadBalancerResourceId": "string",
"privateIpAddress": map[string]interface{}{
"ipAddress": "string",
"subnetResourceId": "string",
},
"probePort": 0,
"publicIpAddressResourceId": "string",
"sqlVirtualMachineInstances": []string{
"string",
},
},
},
Port: 0,
})
var availabilityGroupListenerResource = new AvailabilityGroupListener("availabilityGroupListenerResource", AvailabilityGroupListenerArgs.builder()
.resourceGroupName("string")
.sqlVirtualMachineGroupName("string")
.availabilityGroupListenerName("string")
.availabilityGroupName("string")
.createDefaultAvailabilityGroupIfNotExist(false)
.loadBalancerConfigurations(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.port(0)
.build());
availability_group_listener_resource = azure_native.sqlvirtualmachine.AvailabilityGroupListener("availabilityGroupListenerResource",
resource_group_name=string,
sql_virtual_machine_group_name=string,
availability_group_listener_name=string,
availability_group_name=string,
create_default_availability_group_if_not_exist=False,
load_balancer_configurations=[{
loadBalancerResourceId: string,
privateIpAddress: {
ipAddress: string,
subnetResourceId: string,
},
probePort: 0,
publicIpAddressResourceId: string,
sqlVirtualMachineInstances: [string],
}],
port=0)
const availabilityGroupListenerResource = new azure_native.sqlvirtualmachine.AvailabilityGroupListener("availabilityGroupListenerResource", {
resourceGroupName: "string",
sqlVirtualMachineGroupName: "string",
availabilityGroupListenerName: "string",
availabilityGroupName: "string",
createDefaultAvailabilityGroupIfNotExist: false,
loadBalancerConfigurations: [{
loadBalancerResourceId: "string",
privateIpAddress: {
ipAddress: "string",
subnetResourceId: "string",
},
probePort: 0,
publicIpAddressResourceId: "string",
sqlVirtualMachineInstances: ["string"],
}],
port: 0,
});
type: azure-native:sqlvirtualmachine:AvailabilityGroupListener
properties:
availabilityGroupListenerName: string
availabilityGroupName: string
createDefaultAvailabilityGroupIfNotExist: false
loadBalancerConfigurations:
- loadBalancerResourceId: string
privateIpAddress:
ipAddress: string
subnetResourceId: string
probePort: 0
publicIpAddressResourceId: string
sqlVirtualMachineInstances:
- 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
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 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.
- 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 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.
- 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 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.
- 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 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.
- 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_ 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.
- 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 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- type String
- Resource type.
Supporting Types
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.
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.
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/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/testvmgroup/availabilityGroupListeners/agl-test
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0