This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.sqlvirtualmachine.getAvailabilityGroupListener
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Gets an availability group listener. Azure REST API version: 2022-02-01.
Other available API versions: 2023-01-01-preview, 2023-10-01.
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,
                                    expand: 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,
                                    expand: 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)
public static Output<GetAvailabilityGroupListenerResult> getAvailabilityGroupListener(GetAvailabilityGroupListenerArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:sqlvirtualmachine:getAvailabilityGroupListener
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AvailabilityGroup stringListener Name 
- Name of the availability group listener.
- ResourceGroup stringName 
- Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- SqlVirtual stringMachine Group Name 
- Name of the SQL virtual machine group.
- Expand string
- The child resources to include in the response.
- AvailabilityGroup stringListener Name 
- Name of the availability group listener.
- ResourceGroup stringName 
- Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- SqlVirtual stringMachine Group Name 
- Name of the SQL virtual machine group.
- Expand string
- The child resources to include in the response.
- availabilityGroup StringListener Name 
- Name of the availability group listener.
- resourceGroup StringName 
- Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- sqlVirtual StringMachine Group Name 
- Name of the SQL virtual machine group.
- expand String
- The child resources to include in the response.
- availabilityGroup stringListener Name 
- Name of the availability group listener.
- resourceGroup stringName 
- Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- sqlVirtual stringMachine Group Name 
- Name of the SQL virtual machine group.
- expand string
- The child resources to include in the response.
- availability_group_ strlistener_ name 
- Name of the availability group listener.
- 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.
- expand str
- The child resources to include in the response.
- availabilityGroup StringListener Name 
- Name of the availability group listener.
- resourceGroup StringName 
- Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- sqlVirtual StringMachine Group Name 
- Name of the SQL virtual machine group.
- expand String
- The child resources to include in the response.
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.
- SystemData Pulumi.Azure Native. Sql Virtual Machine. Outputs. System Data Response 
- Metadata pertaining to creation and last modification of the resource.
- Type string
- Resource type.
- AvailabilityGroup Pulumi.Configuration Azure Native. Sql Virtual Machine. Outputs. Ag Configuration Response 
- Availability Group configuration.
- AvailabilityGroup stringName 
- Name of the availability group.
- CreateDefault boolAvailability Group If Not Exist 
- Create a default availability group if it does not exist.
- LoadBalancer List<Pulumi.Configurations Azure Native. Sql Virtual Machine. Outputs. Load Balancer Configuration Response> 
- List of load balancer configurations for an availability group listener.
- MultiSubnet List<Pulumi.Ip Configurations Azure Native. Sql Virtual Machine. Outputs. Multi Subnet Ip Configuration Response> 
- List of multi subnet IP configurations for an AG listener.
- Port int
- Listener port.
- Id string
- Resource ID.
- Name string
- Resource name.
- ProvisioningState string
- Provisioning state to track the async operation status.
- SystemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- Type string
- Resource type.
- AvailabilityGroup AgConfiguration Configuration Response 
- Availability Group configuration.
- AvailabilityGroup stringName 
- Name of the availability group.
- CreateDefault boolAvailability Group If Not Exist 
- Create a default availability group if it does not exist.
- LoadBalancer []LoadConfigurations Balancer Configuration Response 
- List of load balancer configurations for an availability group listener.
- MultiSubnet []MultiIp Configurations Subnet Ip Configuration Response 
- List of multi subnet IP configurations for an AG listener.
- Port int
- Listener port.
- id String
- Resource ID.
- name String
- Resource name.
- provisioningState String
- Provisioning state to track the async operation status.
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- type String
- Resource type.
- availabilityGroup AgConfiguration Configuration Response 
- Availability Group configuration.
- availabilityGroup StringName 
- Name of the availability group.
- createDefault BooleanAvailability Group If Not Exist 
- Create a default availability group if it does not exist.
- loadBalancer List<LoadConfigurations Balancer Configuration Response> 
- List of load balancer configurations for an availability group listener.
- multiSubnet List<MultiIp Configurations Subnet Ip Configuration Response> 
- List of multi subnet IP configurations for an AG listener.
- port Integer
- Listener port.
- id string
- Resource ID.
- name string
- Resource name.
- provisioningState string
- Provisioning state to track the async operation status.
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- type string
- Resource type.
- availabilityGroup AgConfiguration Configuration Response 
- Availability Group configuration.
- availabilityGroup stringName 
- Name of the availability group.
- createDefault booleanAvailability Group If Not Exist 
- Create a default availability group if it does not exist.
- loadBalancer LoadConfigurations Balancer Configuration Response[] 
- List of load balancer configurations for an availability group listener.
- multiSubnet MultiIp Configurations Subnet Ip Configuration Response[] 
- List of multi subnet IP configurations for an AG listener.
- port number
- Listener port.
- id str
- Resource ID.
- 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.
- availability_group_ Agconfiguration Configuration Response 
- Availability Group configuration.
- 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 Response] 
- List of load balancer configurations for an availability group listener.
- multi_subnet_ Sequence[Multiip_ configurations Subnet Ip Configuration Response] 
- List of multi subnet IP configurations for an AG listener.
- port int
- Listener port.
- id String
- Resource ID.
- name String
- Resource name.
- provisioningState String
- Provisioning state to track the async operation status.
- systemData Property Map
- Metadata pertaining to creation and last modification of the resource.
- type String
- Resource type.
- availabilityGroup Property MapConfiguration 
- Availability Group configuration.
- availabilityGroup StringName 
- Name of the availability group.
- createDefault BooleanAvailability Group If Not Exist 
- Create a default availability group if it does not exist.
- loadBalancer List<Property Map>Configurations 
- List of load balancer configurations for an availability group listener.
- multiSubnet List<Property Map>Ip Configurations 
- List of multi subnet IP configurations for an AG listener.
- port Number
- Listener port.
Supporting Types
AgConfigurationResponse  
- Replicas
List<Pulumi.Azure Native. Sql Virtual Machine. Inputs. Ag Replica Response> 
- Replica configurations.
- Replicas
[]AgReplica Response 
- Replica configurations.
- replicas
List<AgReplica Response> 
- Replica configurations.
- replicas
AgReplica Response[] 
- Replica configurations.
- replicas
Sequence[AgReplica Response] 
- Replica configurations.
- replicas List<Property Map>
- Replica configurations.
AgReplicaResponse  
- Commit string
- Replica commit mode in availability group.
- Failover string
- Replica failover mode in availability group.
- ReadableSecondary string
- Replica readable secondary mode in availability group.
- Role string
- Replica Role in availability group.
- SqlVirtual stringMachine Instance Id 
- Sql VirtualMachine Instance Id.
- Commit string
- Replica commit mode in availability group.
- Failover string
- Replica failover mode in availability group.
- ReadableSecondary string
- Replica readable secondary mode in availability group.
- Role string
- Replica Role in availability group.
- SqlVirtual stringMachine Instance Id 
- Sql VirtualMachine Instance Id.
- commit String
- Replica commit mode in availability group.
- failover String
- Replica failover mode in availability group.
- readableSecondary String
- Replica readable secondary mode in availability group.
- role String
- Replica Role in availability group.
- sqlVirtual StringMachine Instance Id 
- Sql VirtualMachine Instance Id.
- commit string
- Replica commit mode in availability group.
- failover string
- Replica failover mode in availability group.
- readableSecondary string
- Replica readable secondary mode in availability group.
- role string
- Replica Role in availability group.
- sqlVirtual 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.
- readableSecondary String
- Replica readable secondary mode in availability group.
- role String
- Replica Role in availability group.
- sqlVirtual StringMachine Instance Id 
- Sql VirtualMachine Instance Id.
LoadBalancerConfigurationResponse   
- LoadBalancer stringResource Id 
- Resource id of the load balancer.
- PrivateIp Pulumi.Address Azure Native. Sql Virtual Machine. Inputs. Private IPAddress Response 
- Private IP address.
- ProbePort int
- Probe port.
- PublicIp stringAddress Resource Id 
- Resource id of the public IP.
- SqlVirtual List<string>Machine Instances 
- List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.
- LoadBalancer stringResource Id 
- Resource id of the load balancer.
- PrivateIp PrivateAddress IPAddress Response 
- Private IP address.
- ProbePort int
- Probe port.
- PublicIp stringAddress Resource Id 
- Resource id of the public IP.
- SqlVirtual []stringMachine Instances 
- List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.
- loadBalancer StringResource Id 
- Resource id of the load balancer.
- privateIp PrivateAddress IPAddress Response 
- Private IP address.
- probePort Integer
- Probe port.
- publicIp StringAddress Resource Id 
- Resource id of the public IP.
- sqlVirtual List<String>Machine Instances 
- List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.
- loadBalancer stringResource Id 
- Resource id of the load balancer.
- privateIp PrivateAddress IPAddress Response 
- Private IP address.
- probePort number
- Probe port.
- publicIp stringAddress Resource Id 
- Resource id of the public IP.
- sqlVirtual 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.
- loadBalancer StringResource Id 
- Resource id of the load balancer.
- privateIp Property MapAddress 
- Private IP address.
- probePort Number
- Probe port.
- publicIp StringAddress Resource Id 
- Resource id of the public IP.
- sqlVirtual List<String>Machine Instances 
- List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener.
MultiSubnetIpConfigurationResponse    
- PrivateIp Pulumi.Address Azure Native. Sql Virtual Machine. Inputs. Private IPAddress Response 
- Private IP address.
- SqlVirtual stringMachine Instance 
- SQL virtual machine instance resource id that are enrolled into the availability group listener.
- PrivateIp PrivateAddress IPAddress Response 
- Private IP address.
- SqlVirtual stringMachine Instance 
- SQL virtual machine instance resource id that are enrolled into the availability group listener.
- privateIp PrivateAddress IPAddress Response 
- Private IP address.
- sqlVirtual StringMachine Instance 
- SQL virtual machine instance resource id that are enrolled into the availability group listener.
- privateIp PrivateAddress IPAddress Response 
- Private IP address.
- sqlVirtual 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.
- privateIp Property MapAddress 
- Private IP address.
- sqlVirtual StringMachine Instance 
- SQL virtual machine instance resource id that are enrolled into the availability group listener.
PrivateIPAddressResponse  
- IpAddress string
- Private IP address bound to the availability group listener.
- SubnetResource stringId 
- Subnet used to include private IP.
- IpAddress string
- Private IP address bound to the availability group listener.
- SubnetResource stringId 
- Subnet used to include private IP.
- ipAddress String
- Private IP address bound to the availability group listener.
- subnetResource StringId 
- Subnet used to include private IP.
- ipAddress string
- Private IP address bound to the availability group listener.
- subnetResource 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.
- ipAddress String
- Private IP address bound to the availability group listener.
- subnetResource StringId 
- Subnet used to include private IP.
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified 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.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi