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
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:
- Availability
Group stringListener Name - Name of the availability group listener.
- 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.
- 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.
- 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.
- 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_ 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.
- availability
Group StringListener Name - Name of the availability group listener.
- 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.
getAvailabilityGroupListener Result
The following output properties are available:
- Id string
- Resource ID.
- Name string
- Resource name.
- Provisioning
State string - Provisioning state to track the async operation status.
- Type string
- Resource type.
- 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. Outputs. Load Balancer Configuration Response> - List of load balancer configurations for an availability group listener.
- Port int
- Listener port.
- Id string
- Resource ID.
- Name string
- Resource name.
- Provisioning
State string - Provisioning state to track the async operation status.
- Type string
- Resource type.
- 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 Response - List of load balancer configurations for an availability group listener.
- Port int
- Listener port.
- id String
- Resource ID.
- name String
- Resource name.
- provisioning
State String - Provisioning state to track the async operation status.
- type String
- Resource type.
- 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 Response> - List of load balancer configurations for an availability group listener.
- port Integer
- Listener port.
- id string
- Resource ID.
- name string
- Resource name.
- provisioning
State string - Provisioning state to track the async operation status.
- type string
- Resource type.
- 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 Response[] - 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_ 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.
- port int
- Listener port.
- id String
- Resource ID.
- name String
- Resource name.
- provisioning
State String - Provisioning state to track the async operation status.
- type String
- Resource type.
- 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.
Supporting Types
LoadBalancerConfigurationResponse
- 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.
PrivateIPAddressResponse
- 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.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
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