ArmSqlModelFactory.FailoverGroupData 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
FailoverGroupData(ResourceIdentifier, String, ResourceType, SystemData, Nullable<AzureLocation>, IDictionary<String,String>, FailoverGroupReadWriteEndpoint, Nullable<ReadOnlyEndpointFailoverPolicy>, Nullable<FailoverGroupReplicationRole>, String, IEnumerable<PartnerServerInfo>, IEnumerable<String>)
- Source:
- ArmSqlModelFactory.cs
public static Azure.ResourceManager.Sql.FailoverGroupData FailoverGroupData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.Sql.Models.FailoverGroupReadWriteEndpoint readWriteEndpoint = default, Azure.ResourceManager.Sql.Models.ReadOnlyEndpointFailoverPolicy? readOnlyEndpointFailoverPolicy = default, Azure.ResourceManager.Sql.Models.FailoverGroupReplicationRole? replicationRole = default, string replicationState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.PartnerServerInfo> partnerServers = default, System.Collections.Generic.IEnumerable<string> databases = default);
static member FailoverGroupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.Sql.Models.FailoverGroupReadWriteEndpoint * Nullable<Azure.ResourceManager.Sql.Models.ReadOnlyEndpointFailoverPolicy> * Nullable<Azure.ResourceManager.Sql.Models.FailoverGroupReplicationRole> * string * seq<Azure.ResourceManager.Sql.Models.PartnerServerInfo> * seq<string> -> Azure.ResourceManager.Sql.FailoverGroupData
Public Shared Function FailoverGroupData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional readWriteEndpoint As FailoverGroupReadWriteEndpoint = Nothing, Optional readOnlyEndpointFailoverPolicy As Nullable(Of ReadOnlyEndpointFailoverPolicy) = Nothing, Optional replicationRole As Nullable(Of FailoverGroupReplicationRole) = Nothing, Optional replicationState As String = Nothing, Optional partnerServers As IEnumerable(Of PartnerServerInfo) = Nothing, Optional databases As IEnumerable(Of String) = Nothing) As FailoverGroupData
Parameters
- name
- String
- resourceType
- ResourceType
- systemData
- SystemData
- location
- Nullable<AzureLocation>
- tags
- IDictionary<String,String>
- readWriteEndpoint
- FailoverGroupReadWriteEndpoint
- readOnlyEndpointFailoverPolicy
- Nullable<ReadOnlyEndpointFailoverPolicy>
- replicationRole
- Nullable<FailoverGroupReplicationRole>
- replicationState
- String
- partnerServers
- IEnumerable<PartnerServerInfo>
- databases
- IEnumerable<String>
Returns
Applies to
FailoverGroupData(ResourceIdentifier, String, ResourceType, SystemData, Nullable<AzureLocation>, IDictionary<String,String>, FailoverGroupReadWriteEndpoint, FailoverGroupReadOnlyEndpoint, Nullable<FailoverGroupReplicationRole>, String, IEnumerable<PartnerServerInfo>, IEnumerable<ResourceIdentifier>, Nullable<FailoverGroupDatabasesSecondaryType>)
- Source:
- ArmSqlModelFactory.cs
Initializes a new instance of FailoverGroupData.
public static Azure.ResourceManager.Sql.FailoverGroupData FailoverGroupData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.Sql.Models.FailoverGroupReadWriteEndpoint readWriteEndpoint = default, Azure.ResourceManager.Sql.Models.FailoverGroupReadOnlyEndpoint readOnlyEndpoint = default, Azure.ResourceManager.Sql.Models.FailoverGroupReplicationRole? replicationRole = default, string replicationState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.PartnerServerInfo> partnerServers = default, System.Collections.Generic.IEnumerable<Azure.Core.ResourceIdentifier> failoverDatabases = default, Azure.ResourceManager.Sql.Models.FailoverGroupDatabasesSecondaryType? secondaryType = default);
static member FailoverGroupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.Sql.Models.FailoverGroupReadWriteEndpoint * Azure.ResourceManager.Sql.Models.FailoverGroupReadOnlyEndpoint * Nullable<Azure.ResourceManager.Sql.Models.FailoverGroupReplicationRole> * string * seq<Azure.ResourceManager.Sql.Models.PartnerServerInfo> * seq<Azure.Core.ResourceIdentifier> * Nullable<Azure.ResourceManager.Sql.Models.FailoverGroupDatabasesSecondaryType> -> Azure.ResourceManager.Sql.FailoverGroupData
Public Shared Function FailoverGroupData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional readWriteEndpoint As FailoverGroupReadWriteEndpoint = Nothing, Optional readOnlyEndpoint As FailoverGroupReadOnlyEndpoint = Nothing, Optional replicationRole As Nullable(Of FailoverGroupReplicationRole) = Nothing, Optional replicationState As String = Nothing, Optional partnerServers As IEnumerable(Of PartnerServerInfo) = Nothing, Optional failoverDatabases As IEnumerable(Of ResourceIdentifier) = Nothing, Optional secondaryType As Nullable(Of FailoverGroupDatabasesSecondaryType) = Nothing) As FailoverGroupData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- location
- Nullable<AzureLocation>
Resource location.
- tags
- IDictionary<String,String>
Resource tags.
- readWriteEndpoint
- FailoverGroupReadWriteEndpoint
Read-write endpoint of the failover group instance.
- readOnlyEndpoint
- FailoverGroupReadOnlyEndpoint
Read-only endpoint of the failover group instance.
- replicationRole
- Nullable<FailoverGroupReplicationRole>
Local replication role of the failover group instance.
- replicationState
- String
Replication state of the failover group instance.
- partnerServers
- IEnumerable<PartnerServerInfo>
List of partner server information for the failover group.
- failoverDatabases
- IEnumerable<ResourceIdentifier>
List of databases in the failover group.
- secondaryType
- Nullable<FailoverGroupDatabasesSecondaryType>
Databases secondary type on partner server.
Returns
A new FailoverGroupData instance for mocking.
Applies to
Azure SDK for .NET