ArmSqlModelFactory.FailoverGroupPatch 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.
public static Azure.ResourceManager.Sql.Models.FailoverGroupPatch FailoverGroupPatch(Azure.ResourceManager.Sql.Models.FailoverGroupReadWriteEndpoint readWriteEndpoint = default, Azure.ResourceManager.Sql.Models.FailoverGroupReadOnlyEndpoint readOnlyEndpoint = default, System.Collections.Generic.IEnumerable<Azure.Core.ResourceIdentifier> failoverDatabases = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.PartnerServerInfo> partnerServers = default, Azure.ResourceManager.Sql.Models.FailoverGroupDatabasesSecondaryType? secondaryType = default, System.Collections.Generic.IDictionary<string,string> tags = default);
static member FailoverGroupPatch : Azure.ResourceManager.Sql.Models.FailoverGroupReadWriteEndpoint * Azure.ResourceManager.Sql.Models.FailoverGroupReadOnlyEndpoint * seq<Azure.Core.ResourceIdentifier> * seq<Azure.ResourceManager.Sql.Models.PartnerServerInfo> * Nullable<Azure.ResourceManager.Sql.Models.FailoverGroupDatabasesSecondaryType> * System.Collections.Generic.IDictionary<string, string> -> Azure.ResourceManager.Sql.Models.FailoverGroupPatch
Public Shared Function FailoverGroupPatch (Optional readWriteEndpoint As FailoverGroupReadWriteEndpoint = Nothing, Optional readOnlyEndpoint As FailoverGroupReadOnlyEndpoint = Nothing, Optional failoverDatabases As IEnumerable(Of ResourceIdentifier) = Nothing, Optional partnerServers As IEnumerable(Of PartnerServerInfo) = Nothing, Optional secondaryType As Nullable(Of FailoverGroupDatabasesSecondaryType) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing) As FailoverGroupPatch
Parameters
- readWriteEndpoint
- FailoverGroupReadWriteEndpoint
Read-write endpoint of the failover group instance.
- readOnlyEndpoint
- FailoverGroupReadOnlyEndpoint
Read-only endpoint of the failover group instance.
- failoverDatabases
- IEnumerable<ResourceIdentifier>
List of databases in the failover group.
- partnerServers
- IEnumerable<PartnerServerInfo>
List of partner server information for the failover group.
- secondaryType
- Nullable<FailoverGroupDatabasesSecondaryType>
Databases secondary type on partner server.
- tags
- IDictionary<String,String>
Resource tags.
Returns
A new FailoverGroupPatch instance for mocking.