ArmSqlVirtualMachineModelFactory.AvailabilityGroupListenerData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of AvailabilityGroupListenerData.
public static Azure.ResourceManager.SqlVirtualMachine.AvailabilityGroupListenerData AvailabilityGroupListenerData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string provisioningState = default, string availabilityGroupName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SqlVirtualMachine.Models.AvailabilityGroupListenerLoadBalancerConfiguration> loadBalancerConfigurations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SqlVirtualMachine.Models.MultiSubnetIPConfiguration> multiSubnetIPConfigurations = default, bool? createDefaultAvailabilityGroupIfNotExist = default, int? port = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SqlVirtualMachine.Models.AvailabilityGroupReplica> availabilityGroupReplicas = default);
static member AvailabilityGroupListenerData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * seq<Azure.ResourceManager.SqlVirtualMachine.Models.AvailabilityGroupListenerLoadBalancerConfiguration> * seq<Azure.ResourceManager.SqlVirtualMachine.Models.MultiSubnetIPConfiguration> * Nullable<bool> * Nullable<int> * seq<Azure.ResourceManager.SqlVirtualMachine.Models.AvailabilityGroupReplica> -> Azure.ResourceManager.SqlVirtualMachine.AvailabilityGroupListenerData
Public Shared Function AvailabilityGroupListenerData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional provisioningState As String = Nothing, Optional availabilityGroupName As String = Nothing, Optional loadBalancerConfigurations As IEnumerable(Of AvailabilityGroupListenerLoadBalancerConfiguration) = Nothing, Optional multiSubnetIPConfigurations As IEnumerable(Of MultiSubnetIPConfiguration) = Nothing, Optional createDefaultAvailabilityGroupIfNotExist As Nullable(Of Boolean) = Nothing, Optional port As Nullable(Of Integer) = Nothing, Optional availabilityGroupReplicas As IEnumerable(Of AvailabilityGroupReplica) = Nothing) As AvailabilityGroupListenerData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- provisioningState
- String
Provisioning state to track the async operation status.
- availabilityGroupName
- String
Name of the availability group.
- loadBalancerConfigurations
- IEnumerable<AvailabilityGroupListenerLoadBalancerConfiguration>
List of load balancer configurations for an availability group listener.
- multiSubnetIPConfigurations
- IEnumerable<MultiSubnetIPConfiguration>
List of multi subnet IP configurations for an AG listener.
Create a default availability group if it does not exist.
- availabilityGroupReplicas
- IEnumerable<AvailabilityGroupReplica>
Availability Group configuration.
Returns
A new AvailabilityGroupListenerData instance for mocking.