Get-AzSqlInstanceDatabaseLogReplay

Gets the Log Replay service status.

Syntax

Get-AzSqlInstanceDatabaseLogReplay
   [[-Name] <String>]
   [-InstanceName] <String>
   [-ResourceGroupName] <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Get-AzSqlInstanceDatabaseLogReplay cmdlet gets the Log Replay service status on the given database.

Examples

Example 1

PS C:\> Get-AzSqlInstanceDatabaseLogReplay -ResourceGroupName "ResourceGroup01" -InstanceName "ManagedInstance01" -Name "ManagedDatabaseName"

This command will get log replay service status on the given database.

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InstanceName

The name of the instance.

Type:String
Aliases:ManagedInstanceName
Position:1
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
-Name

The name of the instance database to retrieve.

Type:String
Aliases:InstanceDatabaseName
Position:0
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
-ResourceGroupName

The name of the resource group.

Type:String
Position:2
Default value:None
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

Outputs

Microsoft.Azure.Commands.Sql.ManagedDatabase.Model.AzureSqlManagedDatabaseRestoreDetailsResultModel