ArmSqlModelFactory.InstanceFailoverGroupData 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.
Overloads
InstanceFailoverGroupData(ResourceIdentifier, String, ResourceType, SystemData, InstanceFailoverGroupReadWriteEndpoint, Nullable<ReadOnlyEndpointFailoverPolicy>, Nullable<InstanceFailoverGroupReplicationRole>, String, IEnumerable<PartnerRegionInfo>, IEnumerable<ManagedInstancePairInfo>)
- Source:
- ArmSqlModelFactory.cs
public static Azure.ResourceManager.Sql.InstanceFailoverGroupData InstanceFailoverGroupData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Sql.Models.InstanceFailoverGroupReadWriteEndpoint readWriteEndpoint = default, Azure.ResourceManager.Sql.Models.ReadOnlyEndpointFailoverPolicy? readOnlyEndpointFailoverPolicy = default, Azure.ResourceManager.Sql.Models.InstanceFailoverGroupReplicationRole? replicationRole = default, string replicationState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.PartnerRegionInfo> partnerRegions = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.ManagedInstancePairInfo> managedInstancePairs = default);
static member InstanceFailoverGroupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.Sql.Models.InstanceFailoverGroupReadWriteEndpoint * Nullable<Azure.ResourceManager.Sql.Models.ReadOnlyEndpointFailoverPolicy> * Nullable<Azure.ResourceManager.Sql.Models.InstanceFailoverGroupReplicationRole> * string * seq<Azure.ResourceManager.Sql.Models.PartnerRegionInfo> * seq<Azure.ResourceManager.Sql.Models.ManagedInstancePairInfo> -> Azure.ResourceManager.Sql.InstanceFailoverGroupData
Public Shared Function InstanceFailoverGroupData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional readWriteEndpoint As InstanceFailoverGroupReadWriteEndpoint = Nothing, Optional readOnlyEndpointFailoverPolicy As Nullable(Of ReadOnlyEndpointFailoverPolicy) = Nothing, Optional replicationRole As Nullable(Of InstanceFailoverGroupReplicationRole) = Nothing, Optional replicationState As String = Nothing, Optional partnerRegions As IEnumerable(Of PartnerRegionInfo) = Nothing, Optional managedInstancePairs As IEnumerable(Of ManagedInstancePairInfo) = Nothing) As InstanceFailoverGroupData
Parameters
- name
- String
- resourceType
- ResourceType
- systemData
- SystemData
- readWriteEndpoint
- InstanceFailoverGroupReadWriteEndpoint
- readOnlyEndpointFailoverPolicy
- Nullable<ReadOnlyEndpointFailoverPolicy>
- replicationRole
- Nullable<InstanceFailoverGroupReplicationRole>
- replicationState
- String
- partnerRegions
- IEnumerable<PartnerRegionInfo>
- managedInstancePairs
- IEnumerable<ManagedInstancePairInfo>
Returns
Applies to
InstanceFailoverGroupData(ResourceIdentifier, String, ResourceType, SystemData, Nullable<GeoSecondaryInstanceType>, InstanceFailoverGroupReadWriteEndpoint, Nullable<ReadOnlyEndpointFailoverPolicy>, Nullable<InstanceFailoverGroupReplicationRole>, String, IEnumerable<PartnerRegionInfo>, IEnumerable<ManagedInstancePairInfo>)
- Source:
- ArmSqlModelFactory.cs
Initializes a new instance of InstanceFailoverGroupData.
public static Azure.ResourceManager.Sql.InstanceFailoverGroupData InstanceFailoverGroupData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Sql.Models.GeoSecondaryInstanceType? secondaryType = default, Azure.ResourceManager.Sql.Models.InstanceFailoverGroupReadWriteEndpoint readWriteEndpoint = default, Azure.ResourceManager.Sql.Models.ReadOnlyEndpointFailoverPolicy? readOnlyEndpointFailoverPolicy = default, Azure.ResourceManager.Sql.Models.InstanceFailoverGroupReplicationRole? replicationRole = default, string replicationState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.PartnerRegionInfo> partnerRegions = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.ManagedInstancePairInfo> managedInstancePairs = default);
static member InstanceFailoverGroupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Sql.Models.GeoSecondaryInstanceType> * Azure.ResourceManager.Sql.Models.InstanceFailoverGroupReadWriteEndpoint * Nullable<Azure.ResourceManager.Sql.Models.ReadOnlyEndpointFailoverPolicy> * Nullable<Azure.ResourceManager.Sql.Models.InstanceFailoverGroupReplicationRole> * string * seq<Azure.ResourceManager.Sql.Models.PartnerRegionInfo> * seq<Azure.ResourceManager.Sql.Models.ManagedInstancePairInfo> -> Azure.ResourceManager.Sql.InstanceFailoverGroupData
Public Shared Function InstanceFailoverGroupData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional secondaryType As Nullable(Of GeoSecondaryInstanceType) = Nothing, Optional readWriteEndpoint As InstanceFailoverGroupReadWriteEndpoint = Nothing, Optional readOnlyEndpointFailoverPolicy As Nullable(Of ReadOnlyEndpointFailoverPolicy) = Nothing, Optional replicationRole As Nullable(Of InstanceFailoverGroupReplicationRole) = Nothing, Optional replicationState As String = Nothing, Optional partnerRegions As IEnumerable(Of PartnerRegionInfo) = Nothing, Optional managedInstancePairs As IEnumerable(Of ManagedInstancePairInfo) = Nothing) As InstanceFailoverGroupData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- secondaryType
- Nullable<GeoSecondaryInstanceType>
Type of the geo-secondary instance. Set 'Standby' if the instance is used as a DR option only.
- readWriteEndpoint
- InstanceFailoverGroupReadWriteEndpoint
Read-write endpoint of the failover group instance.
- readOnlyEndpointFailoverPolicy
- Nullable<ReadOnlyEndpointFailoverPolicy>
Read-only endpoint of the failover group instance.
- replicationRole
- Nullable<InstanceFailoverGroupReplicationRole>
Local replication role of the failover group instance.
- replicationState
- String
Replication state of the failover group instance.
- partnerRegions
- IEnumerable<PartnerRegionInfo>
Partner region information for the failover group.
- managedInstancePairs
- IEnumerable<ManagedInstancePairInfo>
List of managed instance pairs in the failover group.
Returns
A new InstanceFailoverGroupData instance for mocking.
Applies to
Azure SDK for .NET