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.
public static Azure.ResourceManager.Sql.FailoverGroupData FailoverGroupData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, Azure.ResourceManager.Sql.Models.FailoverGroupReadWriteEndpoint readWriteEndpoint, Azure.ResourceManager.Sql.Models.FailoverGroupReadOnlyEndpoint readOnlyEndpoint, Azure.ResourceManager.Sql.Models.FailoverGroupReplicationRole? replicationRole, string replicationState, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.PartnerServerInfo> partnerServers, System.Collections.Generic.IEnumerable<Azure.Core.ResourceIdentifier> failoverDatabases, Azure.ResourceManager.Sql.Models.FailoverGroupDatabasesSecondaryType? secondaryType, System.Collections.Generic.IDictionary<string,string> tags, Azure.Core.AzureLocation? location);
static member FailoverGroupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * 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> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.Core.AzureLocation> -> Azure.ResourceManager.Sql.FailoverGroupData
Public Shared Function FailoverGroupData (id As ResourceIdentifier, name As String, resourceType As ResourceType, systemData As SystemData, readWriteEndpoint As FailoverGroupReadWriteEndpoint, readOnlyEndpoint As FailoverGroupReadOnlyEndpoint, replicationRole As Nullable(Of FailoverGroupReplicationRole), replicationState As String, partnerServers As IEnumerable(Of PartnerServerInfo), failoverDatabases As IEnumerable(Of ResourceIdentifier), secondaryType As Nullable(Of FailoverGroupDatabasesSecondaryType), tags As IDictionary(Of String, String), location As Nullable(Of AzureLocation)) As FailoverGroupData
Parameters
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- 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.
- tags
- IDictionary<String,String>
Resource tags.
- location
- Nullable<AzureLocation>
Resource location.
Returns
A new FailoverGroupData instance for mocking.