Skip to content

Commit 2c87d78

Browse files
fanglfangl
authored andcommitted
Resolve comments --- except remove cmdlets
1 parent d582370 commit 2c87d78

33 files changed

+756
-1144
lines changed

src/ResourceManager/Sql/AzureRM.Sql.psd1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,16 +168,16 @@ CmdletsToExport = 'Get-AzureRmSqlDatabaseTransparentDataEncryption',
168168
'Set-AzureRmSqlDatabaseFailoverGroup',
169169
'Switch-AzureRmSqlDatabaseFailoverGroup',
170170
'New-AzureRmSqlSyncGroup',
171-
'Set-AzureRmSqlSyncGroup',
171+
'Update-AzureRmSqlSyncGroup',
172172
'Get-AzureRmSqlSyncGroup',
173173
'Get-AzureRmSqlSyncGroupLog',
174174
'Remove-AzureRmSqlSyncGroup',
175-
'Invoke-AzureRmSqlSyncSchemaRefresh',
175+
'Update-AzureRmSqlSyncSchema',
176176
'Get-AzureRmSqlSyncSchema',
177177
'Start-AzureRmSqlSyncGroupSync',
178178
'Stop-AzureRmSqlSyncGroupSync',
179179
'New-AzureRmSqlSyncMember',
180-
'Set-AzureRmSqlSyncMember',
180+
'Update-AzureRmSqlSyncMember',
181181
'Get-AzureRmSqlSyncMember',
182182
'Remove-AzureRmSqlSyncMember',
183183
'New-AzureRmSqlSyncAgent',

src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DataSyncTests.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ function Test-UpdateSyncGroup
221221
{
222222
# Update a sync group
223223
$newIntervalInSeconds = 200
224-
$sg2 = Set-AzureRmSqlSyncGroup -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName `
224+
$sg2 = Update-AzureRmSqlSyncGroup -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName `
225225
-DatabaseName $databaseName -SyncGroupName $sgName -IntervalInSeconds $newIntervalInSeconds
226226
Assert-AreEqual $newIntervalInSeconds $sg2.IntervalInSeconds
227227
}
@@ -297,7 +297,7 @@ function Test-RefreshAndGetSyncGroupHubSchema
297297
try
298298
{
299299
# Refresh hub schema
300-
Invoke-AzureRmSqlSyncSchemaRefresh -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName `
300+
Update-AzureRmSqlSyncSchema -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName `
301301
-DatabaseName $databaseName -SyncGroupName $sgName
302302

303303
# Get hub schema
@@ -490,7 +490,7 @@ function Test-UpdateSyncMember
490490
try
491491
{
492492
# Update a sync member
493-
$sm2 = Set-AzureRmSqlSyncMember -ServerName $server.ServerName -ResourceGroupName $rg.ResourceGroupName `
493+
$sm2 = Update-AzureRmSqlSyncMember -ServerName $server.ServerName -ResourceGroupName $rg.ResourceGroupName `
494494
-DatabaseName $databaseName1 -SyncGroupName $sgName -SyncMemberName $smName `
495495
-MemberDatabaseCredential $credential
496496
Assert-AreEqual $smParams.databaseType $sm2.MemberDatabaseType
@@ -541,7 +541,7 @@ function Test-RefreshAndGetSyncMemberSchema
541541
try
542542
{
543543
# Refresh member schema
544-
Invoke-AzureRmSqlSyncSchemaRefresh -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName `
544+
Update-AzureRmSqlSyncSchema -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName `
545545
-DatabaseName $databaseName1 -SyncGroupName $sgName -SyncMemberName $smName
546546

547547
# Get member schema

src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,10 @@
133133
<Compile Include="Data Sync\Cmdlet\RemoveAzureSqlSyncAgent.cs" />
134134
<Compile Include="Data Sync\Cmdlet\RemoveAzureSqlSyncGroup.cs" />
135135
<Compile Include="Data Sync\Cmdlet\RemoveAzureSqlSyncMember.cs" />
136-
<Compile Include="Data Sync\Cmdlet\SetAzureSqlSyncGroup.cs" />
137-
<Compile Include="Data Sync\Cmdlet\SetAzureSqlSyncMember.cs" />
136+
<Compile Include="Data Sync\Cmdlet\UpdateAzureSqlSyncGroup.cs" />
137+
<Compile Include="Data Sync\Cmdlet\UpdateAzureSqlSyncMember.cs" />
138138
<Compile Include="Data Sync\Cmdlet\StartAzureSqlSyncGroupSync.cs" />
139-
<Compile Include="Data Sync\Cmdlet\InvokeAzureSqlSyncSchemaRefresh.cs" />
139+
<Compile Include="Data Sync\Cmdlet\UpdateAzureSqlSyncSchema.cs" />
140140
<Compile Include="Data Sync\Cmdlet\StopAzureSqlSyncGroupSync.cs" />
141141
<Compile Include="Data Sync\Model\AzureSqlSyncAgentKeyModel.cs" />
142142
<Compile Include="Data Sync\Model\AzureSqlSyncAgentLinkedDatabaseModel.cs" />

src/ResourceManager/Sql/Commands.Sql/Data Sync/Cmdlet/GetAzureSqlSyncAgent.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ namespace Microsoft.Azure.Commands.Sql.DataSync.Cmdlet
2121
/// <summary>
2222
/// Cmdlet to get information of specified sync agent or list all the sync agents under a specified resource group
2323
/// </summary>
24-
[Cmdlet(VerbsCommon.Get, "AzureRmSqlSyncAgent", SupportsShouldProcess = true,
25-
ConfirmImpact = ConfirmImpact.None)]
24+
[Cmdlet(VerbsCommon.Get, "AzureRmSqlSyncAgent",
25+
ConfirmImpact = ConfirmImpact.None), OutputType(typeof(AzureSqlSyncAgentModel))]
2626
public class GetAzureSqlSyncAgent : AzureSqlSyncAgentCmdletBase
2727
{
2828
/// <summary>

src/ResourceManager/Sql/Commands.Sql/Data Sync/Cmdlet/GetAzureSqlSyncAgentLinkedDatabase.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ namespace Microsoft.Azure.Commands.Sql.DataSync.Cmdlet
2525
/// <summary>
2626
/// Cmdlet to list all the databases connected by a specified sync agent.
2727
/// </summary>
28-
[Cmdlet(VerbsCommon.Get, "AzureRmSqlSyncAgentLinkedDatabase", SupportsShouldProcess = true,
29-
ConfirmImpact = ConfirmImpact.None)]
28+
[Cmdlet(VerbsCommon.Get, "AzureRmSqlSyncAgentLinkedDatabase",
29+
ConfirmImpact = ConfirmImpact.None), OutputType(typeof(AzureSqlSyncAgentLinkedDatabaseModel))]
3030
public class GetAzureSqlSyncAgentSqlServerDatabase : AzureSqlCmdletBase<IEnumerable<AzureSqlSyncAgentLinkedDatabaseModel>, AzureSqlDataSyncAdapter>
3131
{
3232
/// <summary>
@@ -46,6 +46,7 @@ public class GetAzureSqlSyncAgentSqlServerDatabase : AzureSqlCmdletBase<IEnumera
4646
Position = 2,
4747
HelpMessage = "The sync agent name.")]
4848
[ValidateNotNullOrEmpty]
49+
[Alias("Name")]
4950
public string SyncAgentName { get; set; }
5051

5152
/// <summary>

src/ResourceManager/Sql/Commands.Sql/Data Sync/Cmdlet/GetAzureSqlSyncGroup.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ namespace Microsoft.Azure.Commands.Sql.DataSync.Cmdlet
2323
/// server and database or list all the sync groups which is doing synchronization for this database
2424
/// which is either as primary or member
2525
/// </summary>
26-
[Cmdlet(VerbsCommon.Get, "AzureRmSqlSyncGroup", SupportsShouldProcess = true,
27-
ConfirmImpact = ConfirmImpact.None)]
26+
[Cmdlet(VerbsCommon.Get, "AzureRmSqlSyncGroup",
27+
ConfirmImpact = ConfirmImpact.None), OutputType(typeof(AzureSqlSyncGroupModel))]
2828
public class GetAzureSqlSyncGroup : AzureSqlSyncGroupCmdletBase
2929
{
3030
/// <summary>

src/ResourceManager/Sql/Commands.Sql/Data Sync/Cmdlet/GetAzureSqlSyncGroupLog.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ namespace Microsoft.Azure.Commands.Sql.DataSync.Cmdlet
2626
/// <summary>
2727
/// Cmdlet to get synchronization log of a specified sync group
2828
/// </summary>
29-
[Cmdlet(VerbsCommon.Get, "AzureRmSqlSyncGroupLog", SupportsShouldProcess = true,
30-
ConfirmImpact = ConfirmImpact.None)]
29+
[Cmdlet(VerbsCommon.Get, "AzureRmSqlSyncGroupLog",
30+
ConfirmImpact = ConfirmImpact.None), OutputType(typeof(AzureSqlSyncGroupLogModel))]
3131
public class GetAzureSqlSyncGroupLog : AzureSqlDatabaseCmdletBase<IEnumerable<AzureSqlSyncGroupLogModel>, AzureSqlDataSyncAdapter>
3232
{
3333
/// <summary>
@@ -36,6 +36,7 @@ public class GetAzureSqlSyncGroupLog : AzureSqlDatabaseCmdletBase<IEnumerable<Az
3636
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true,
3737
Position = 3,
3838
HelpMessage = "The sync group name.")]
39+
[Alias("Name")]
3940
[ValidateNotNullOrEmpty]
4041
public string SyncGroupName { get; set; }
4142

src/ResourceManager/Sql/Commands.Sql/Data Sync/Cmdlet/GetAzureSqlSyncMember.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ namespace Microsoft.Azure.Commands.Sql.DataSync.Cmdlet
2121
/// <summary>
2222
/// Cmdlet to get a specified sync member or list all the sync members under a specified sync group
2323
/// </summary>
24-
[Cmdlet(VerbsCommon.Get, "AzureRmSqlSyncMember", SupportsShouldProcess = true,
25-
ConfirmImpact = ConfirmImpact.None)]
24+
[Cmdlet(VerbsCommon.Get, "AzureRmSqlSyncMember",
25+
ConfirmImpact = ConfirmImpact.None), OutputType(typeof(AzureSqlSyncMemberModel))]
2626
public class GetAzureSqlSyncMember : AzureSqlSyncMemberCmdletBase
2727
{
2828
/// <summary>

src/ResourceManager/Sql/Commands.Sql/Data Sync/Cmdlet/GetAzureSqlSyncSchema.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919
namespace Microsoft.Azure.Commands.Sql.DataSync.Cmdlet
2020
{
21-
[Cmdlet(VerbsCommon.Get, "AzureRmSqlSyncSchema", SupportsShouldProcess = true,
22-
ConfirmImpact = ConfirmImpact.None)]
21+
[Cmdlet(VerbsCommon.Get, "AzureRmSqlSyncSchema",
22+
ConfirmImpact = ConfirmImpact.None), OutputType(typeof(AzureSqlSyncFullSchemaModel))]
2323
public class GetAzureSqlSyncSchema : AzureSqlSyncSchemaCmdletBase
2424
{
2525
/// <summary>

src/ResourceManager/Sql/Commands.Sql/Data Sync/Cmdlet/NewAzureSqlSyncAgent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Sql.DataSync.Cmdlet
2525
/// </summary>
2626
[Cmdlet(VerbsCommon.New, "AzureRmSqlSyncAgent", SupportsShouldProcess = true,
2727
DefaultParameterSetName = SyncDatabaseComponentSet,
28-
ConfirmImpact = ConfirmImpact.Low)]
28+
ConfirmImpact = ConfirmImpact.Medium), OutputType(typeof(AzureSqlSyncAgentModel))]
2929
public class NewAzureSqlSyncAgent : AzureSqlSyncAgentCmdletBase
3030
{
3131
/// <summary>

src/ResourceManager/Sql/Commands.Sql/Data Sync/Cmdlet/NewAzureSqlSyncAgentKey.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.Sql.DataSync.Cmdlet
2828
/// Cmdlet to generate a sync agent registration key for a specific sync agent
2929
/// </summary>
3030
[Cmdlet(VerbsCommon.New, "AzureRmSqlSyncAgentKey", SupportsShouldProcess = true,
31-
ConfirmImpact = ConfirmImpact.Low)]
31+
ConfirmImpact = ConfirmImpact.Medium), OutputType(typeof(AzureSqlSyncAgentKeyModel))]
3232
public class NewAzureSqlSyncAgentKey : AzureSqlCmdletBase<IEnumerable<AzureSqlSyncAgentKeyModel>, AzureSqlDataSyncAdapter>
3333
{
3434
/// <summary>

src/ResourceManager/Sql/Commands.Sql/Data Sync/Cmdlet/NewAzureSqlSyncGroup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.Sql.DataSync.Cmdlet
2727
/// Cmdlet to create a new sync group
2828
/// </summary>
2929
[Cmdlet(VerbsCommon.New, "AzureRmSqlSyncGroup", SupportsShouldProcess = true,
30-
ConfirmImpact = ConfirmImpact.Low)]
30+
ConfirmImpact = ConfirmImpact.Medium), OutputType(typeof(AzureSqlSyncGroupModel))]
3131
public class NewAzureSqlSyncGroup : AzureSqlSyncGroupCmdletBase
3232
{
3333
/// <summary>

src/ResourceManager/Sql/Commands.Sql/Data Sync/Cmdlet/NewAzureSqlSyncMember.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace Microsoft.Azure.Commands.Sql.DataSync.Cmdlet
2929
/// </summary>
3030
[Cmdlet(VerbsCommon.New, "AzureRmSqlSyncMember", SupportsShouldProcess = true,
3131
DefaultParameterSetName = AzureSqlSet,
32-
ConfirmImpact = ConfirmImpact.Low)]
32+
ConfirmImpact = ConfirmImpact.Medium), OutputType(typeof(AzureSqlSyncMemberModel))]
3333
public class NewAzureSqlSyncMember : AzureSqlSyncMemberCmdletBase
3434
{
3535
/// <summary>

src/ResourceManager/Sql/Commands.Sql/Data Sync/Cmdlet/RemoveAzureSqlSyncAgent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Sql.DataSync.Cmdlet
2323
/// Cmdlet to delete a sync agent
2424
/// </summary>
2525
[Cmdlet(VerbsCommon.Remove, "AzureRmSqlSyncAgent", SupportsShouldProcess = true,
26-
ConfirmImpact = ConfirmImpact.High)]
26+
ConfirmImpact = ConfirmImpact.Medium), OutputType(typeof(AzureSqlSyncAgentModel))]
2727
public class RemoveAzureSqlSyncAgent : AzureSqlSyncAgentCmdletBase
2828
{
2929
/// <summary>

src/ResourceManager/Sql/Commands.Sql/Data Sync/Cmdlet/RemoveAzureSqlSyncGroup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Sql.DataSync.Cmdlet
2323
/// Cmdlet to delete a sync group
2424
/// </summary>
2525
[Cmdlet(VerbsCommon.Remove, "AzureRmSqlSyncGroup", SupportsShouldProcess = true,
26-
ConfirmImpact = ConfirmImpact.High)]
26+
ConfirmImpact = ConfirmImpact.Medium), OutputType(typeof(AzureSqlSyncGroupModel))]
2727
public class RemoveAzureSqlSyncGroup : AzureSqlSyncGroupCmdletBase
2828
{
2929
/// <summary>

src/ResourceManager/Sql/Commands.Sql/Data Sync/Cmdlet/RemoveAzureSqlSyncMember.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Sql.DataSync.Cmdlet
2323
/// Cmdlet to delete a sync member
2424
/// </summary>
2525
[Cmdlet(VerbsCommon.Remove, "AzureRmSqlSyncMember", SupportsShouldProcess = true,
26-
ConfirmImpact = ConfirmImpact.High)]
26+
ConfirmImpact = ConfirmImpact.Medium), OutputType(typeof(AzureSqlSyncMemberModel))]
2727
public class RemoveAzureSqlSyncMember : AzureSqlSyncMemberCmdletBase
2828
{
2929
/// <summary>

src/ResourceManager/Sql/Commands.Sql/Data Sync/Cmdlet/StartAzureSqlSyncGroupSync.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.Sql.DataSync.Cmdlet
2222
/// Cmdlet to trigger data synchronization of a sync group
2323
/// </summary>
2424
[Cmdlet(VerbsLifecycle.Start, "AzureRmSqlSyncGroupSync", SupportsShouldProcess = true,
25-
ConfirmImpact = ConfirmImpact.None)]
25+
ConfirmImpact = ConfirmImpact.Medium), OutputType(typeof(AzureSqlSyncGroupModel))]
2626
public class StartAzureRmSqlSyncGroupSync : AzureSqlSyncGroupCmdletBase
2727
{
2828
/// <summary>
@@ -31,6 +31,7 @@ public class StartAzureRmSqlSyncGroupSync : AzureSqlSyncGroupCmdletBase
3131
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true,
3232
Position = 3,
3333
HelpMessage = "The sync group name.")]
34+
[Alias("Name")]
3435
[ValidateNotNullOrEmpty]
3536
public string SyncGroupName { get; set; }
3637

src/ResourceManager/Sql/Commands.Sql/Data Sync/Cmdlet/StopAzureSqlSyncGroupSync.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.Sql.DataSync.Cmdlet
2222
/// Cmdlet to cancel the synchronization of sync group
2323
/// </summary>
2424
[Cmdlet(VerbsLifecycle.Stop, "AzureRmSqlSyncGroupSync", SupportsShouldProcess = true,
25-
ConfirmImpact = ConfirmImpact.None)]
25+
ConfirmImpact = ConfirmImpact.Medium), OutputType(typeof(AzureSqlSyncGroupModel))]
2626
public class StopAzureRmSqlSyncGroupSync : AzureSqlSyncGroupCmdletBase
2727
{
2828
/// <summary>
@@ -31,6 +31,7 @@ public class StopAzureRmSqlSyncGroupSync : AzureSqlSyncGroupCmdletBase
3131
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true,
3232
Position = 3,
3333
HelpMessage = "The sync group name.")]
34+
[Alias("Name")]
3435
[ValidateNotNullOrEmpty]
3536
public string SyncGroupName { get; set; }
3637

src/ResourceManager/Sql/Commands.Sql/Data Sync/Cmdlet/SetAzureSqlSyncGroup.cs renamed to src/ResourceManager/Sql/Commands.Sql/Data Sync/Cmdlet/UpdateAzureSqlSyncGroup.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ namespace Microsoft.Azure.Commands.Sql.DataSync.Cmdlet
2424
/// <summary>
2525
/// Cmdlet to update a existing sync group
2626
/// </summary>
27-
[Cmdlet(VerbsCommon.Set, "AzureRmSqlSyncGroup", SupportsShouldProcess = true,
28-
ConfirmImpact = ConfirmImpact.Medium)]
29-
public class SetAzureSqlSyncGroup : AzureSqlSyncGroupCmdletBase
27+
[Cmdlet(VerbsData.Update, "AzureRmSqlSyncGroup", SupportsShouldProcess = true,
28+
ConfirmImpact = ConfirmImpact.Medium), OutputType(typeof(AzureSqlSyncGroupModel))]
29+
public class UpdateAzureSqlSyncGroup : AzureSqlSyncGroupCmdletBase
3030
{
3131
/// <summary>
3232
/// Gets or sets the sync group name

src/ResourceManager/Sql/Commands.Sql/Data Sync/Cmdlet/SetAzureSqlSyncMember.cs renamed to src/ResourceManager/Sql/Commands.Sql/Data Sync/Cmdlet/UpdateAzureSqlSyncMember.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,9 @@ namespace Microsoft.Azure.Commands.Sql.DataSync.Cmdlet
2525
/// <summary>
2626
/// Cmdlet to update an existing sync member
2727
/// </summary>
28-
[Cmdlet(VerbsCommon.Set, "AzureRmSqlSyncMember", SupportsShouldProcess = true,
29-
ConfirmImpact = ConfirmImpact.Medium)]
30-
[CmdletBinding(DefaultParameterSetName = "All")]
31-
public class SetAzureSqlSyncMember : AzureSqlSyncMemberCmdletBase
28+
[Cmdlet(VerbsData.Update, "AzureRmSqlSyncMember", SupportsShouldProcess = true,
29+
ConfirmImpact = ConfirmImpact.Medium), OutputType(typeof(AzureSqlSyncMemberModel))]
30+
public class UpdateAzureSqlSyncMember : AzureSqlSyncMemberCmdletBase
3231
{
3332
/// <summary>
3433
/// Gets or sets the sync member name

src/ResourceManager/Sql/Commands.Sql/Data Sync/Cmdlet/InvokeAzureSqlSyncSchemaRefresh.cs renamed to src/ResourceManager/Sql/Commands.Sql/Data Sync/Cmdlet/UpdateAzureSqlSyncSchema.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ namespace Microsoft.Azure.Commands.Sql.DataSync.Cmdlet
2121
/// <summary>
2222
/// Cmdlet to refresh the schema of member database
2323
/// </summary>
24-
[Cmdlet(VerbsLifecycle.Invoke, "AzureRmSqlSyncSchemaRefresh", SupportsShouldProcess = true,
25-
ConfirmImpact = ConfirmImpact.None)]
26-
public class InvokeAzureSqlSyncSchemaRefresh : AzureSqlSyncGroupCmdletBase
24+
[Cmdlet(VerbsData.Update, "AzureRmSqlSyncSchema", SupportsShouldProcess = true,
25+
ConfirmImpact = ConfirmImpact.Medium), OutputType(typeof(AzureSqlSyncGroupModel))]
26+
public class UpdateAzureSqlSyncSchema : AzureSqlSyncGroupCmdletBase
2727
{
2828
/// <summary>
2929
/// Gets or sets the sync group name

0 commit comments

Comments
 (0)