1. Packages
  2. Azure Native v1
  3. API Docs
  4. sqlvirtualmachine
  5. getAvailabilityGroupListener
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.sqlvirtualmachine.getAvailabilityGroupListener

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Gets an availability group listener. API Version: 2017-03-01-preview.

    Using getAvailabilityGroupListener

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAvailabilityGroupListener(args: GetAvailabilityGroupListenerArgs, opts?: InvokeOptions): Promise<GetAvailabilityGroupListenerResult>
    function getAvailabilityGroupListenerOutput(args: GetAvailabilityGroupListenerOutputArgs, opts?: InvokeOptions): Output<GetAvailabilityGroupListenerResult>
    def get_availability_group_listener(availability_group_listener_name: Optional[str] = None,
                                        resource_group_name: Optional[str] = None,
                                        sql_virtual_machine_group_name: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetAvailabilityGroupListenerResult
    def get_availability_group_listener_output(availability_group_listener_name: Optional[pulumi.Input[str]] = None,
                                        resource_group_name: Optional[pulumi.Input[str]] = None,
                                        sql_virtual_machine_group_name: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetAvailabilityGroupListenerResult]
    func LookupAvailabilityGroupListener(ctx *Context, args *LookupAvailabilityGroupListenerArgs, opts ...InvokeOption) (*LookupAvailabilityGroupListenerResult, error)
    func LookupAvailabilityGroupListenerOutput(ctx *Context, args *LookupAvailabilityGroupListenerOutputArgs, opts ...InvokeOption) LookupAvailabilityGroupListenerResultOutput

    > Note: This function is named LookupAvailabilityGroupListener in the Go SDK.

    public static class GetAvailabilityGroupListener 
    {
        public static Task<GetAvailabilityGroupListenerResult> InvokeAsync(GetAvailabilityGroupListenerArgs args, InvokeOptions? opts = null)
        public static Output<GetAvailabilityGroupListenerResult> Invoke(GetAvailabilityGroupListenerInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAvailabilityGroupListenerResult> getAvailabilityGroupListener(GetAvailabilityGroupListenerArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:sqlvirtualmachine:getAvailabilityGroupListener
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AvailabilityGroupListenerName string
    Name of the availability group listener.
    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.
    AvailabilityGroupListenerName string
    Name of the availability group listener.
    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.
    availabilityGroupListenerName String
    Name of the availability group listener.
    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.
    availabilityGroupListenerName string
    Name of the availability group listener.
    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.
    availability_group_listener_name str
    Name of the availability group listener.
    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.
    availabilityGroupListenerName String
    Name of the availability group listener.
    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.

    getAvailabilityGroupListener Result

    The following output properties are available:

    Id string
    Resource ID.
    Name string
    Resource name.
    ProvisioningState string
    Provisioning state to track the async operation status.
    Type string
    Resource type.
    AvailabilityGroupName string
    Name of the availability group.
    CreateDefaultAvailabilityGroupIfNotExist bool
    Create a default availability group if it does not exist.
    LoadBalancerConfigurations List<Pulumi.AzureNative.SqlVirtualMachine.Outputs.LoadBalancerConfigurationResponse>
    List of load balancer configurations for an availability group listener.
    Port int
    Listener port.
    Id string
    Resource ID.
    Name string
    Resource name.
    ProvisioningState string
    Provisioning state to track the async operation status.
    Type string
    Resource type.
    AvailabilityGroupName string
    Name of the availability group.
    CreateDefaultAvailabilityGroupIfNotExist bool
    Create a default availability group if it does not exist.
    LoadBalancerConfigurations []LoadBalancerConfigurationResponse
    List of load balancer configurations for an availability group listener.
    Port int
    Listener port.
    id String
    Resource ID.
    name String
    Resource name.
    provisioningState String
    Provisioning state to track the async operation status.
    type String
    Resource type.
    availabilityGroupName String
    Name of the availability group.
    createDefaultAvailabilityGroupIfNotExist Boolean
    Create a default availability group if it does not exist.
    loadBalancerConfigurations List<LoadBalancerConfigurationResponse>
    List of load balancer configurations for an availability group listener.
    port Integer
    Listener port.
    id string
    Resource ID.
    name string
    Resource name.
    provisioningState string
    Provisioning state to track the async operation status.
    type string
    Resource type.
    availabilityGroupName string
    Name of the availability group.
    createDefaultAvailabilityGroupIfNotExist boolean
    Create a default availability group if it does not exist.
    loadBalancerConfigurations LoadBalancerConfigurationResponse[]
    List of load balancer configurations for an availability group listener.
    port number
    Listener port.
    id str
    Resource ID.
    name str
    Resource name.
    provisioning_state str
    Provisioning state to track the async operation status.
    type str
    Resource type.
    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[LoadBalancerConfigurationResponse]
    List of load balancer configurations for an availability group listener.
    port int
    Listener port.
    id String
    Resource ID.
    name String
    Resource name.
    provisioningState String
    Provisioning state to track the async operation status.
    type String
    Resource type.
    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.
    port Number
    Listener port.

    Supporting Types

    LoadBalancerConfigurationResponse

    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.

    PrivateIPAddressResponse

    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.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi