File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
src/Azs.Backup.Admin/custom Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 29
29
[Parameter (ParameterSetName = ' Get' )]
30
30
[Parameter (ParameterSetName = ' List' )]
31
31
[Microsoft.Azure.PowerShell.Cmdlets.BackupAdmin.Category (' Path' )]
32
- [Microsoft.Azure.PowerShell.Cmdlets.BackupAdmin.Runtime.DefaultInfo (Script= ' (Get-AzLocation)[0].Name ' )]
32
+ [Microsoft.Azure.PowerShell.Cmdlets.BackupAdmin.Runtime.DefaultInfo (Script= ' (Get-AzLocation)[0].Location ' )]
33
33
[System.String ]
34
34
# Name of the backup location.
35
35
${Location} ,
43
43
[Parameter (ParameterSetName = ' Get' )]
44
44
[Parameter (ParameterSetName = ' List' )]
45
45
[Microsoft.Azure.PowerShell.Cmdlets.BackupAdmin.Category (' Path' )]
46
- [Microsoft.Azure.PowerShell.Cmdlets.BackupAdmin.Runtime.DefaultInfo (Script= ' "system.$((Get-AzLocation)[0].Name )"' )]
46
+ [Microsoft.Azure.PowerShell.Cmdlets.BackupAdmin.Runtime.DefaultInfo (Script= ' "system.$((Get-AzLocation)[0].Location )"' )]
47
47
[System.String ]
48
48
# Name of the resource group.
49
49
${ResourceGroupName} ,
Original file line number Diff line number Diff line change @@ -43,15 +43,15 @@ param(
43
43
[Parameter (ParameterSetName = ' Restore' )]
44
44
[Parameter (ParameterSetName = ' RestoreExpanded' )]
45
45
[Microsoft.Azure.PowerShell.Cmdlets.BackupAdmin.Category (' Path' )]
46
- [Microsoft.Azure.PowerShell.Cmdlets.BackupAdmin.Runtime.DefaultInfo (Script= ' (Get-AzLocation)[0].Name ' )]
46
+ [Microsoft.Azure.PowerShell.Cmdlets.BackupAdmin.Runtime.DefaultInfo (Script= ' (Get-AzLocation)[0].Location ' )]
47
47
[System.String ]
48
48
# Name of the backup location.
49
49
${Location} ,
50
50
51
51
[Parameter (ParameterSetName = ' Restore' )]
52
52
[Parameter (ParameterSetName = ' RestoreExpanded' )]
53
53
[Microsoft.Azure.PowerShell.Cmdlets.BackupAdmin.Category (' Path' )]
54
- [Microsoft.Azure.PowerShell.Cmdlets.BackupAdmin.Runtime.DefaultInfo (Script= ' "system.$((Get-AzLocation)[0].Name )"' )]
54
+ [Microsoft.Azure.PowerShell.Cmdlets.BackupAdmin.Runtime.DefaultInfo (Script= ' "system.$((Get-AzLocation)[0].Location )"' )]
55
55
[System.String ]
56
56
# Name of the resource group.
57
57
${ResourceGroupName} ,
Original file line number Diff line number Diff line change @@ -33,14 +33,14 @@ function Set-AzsBackupConfiguration {
33
33
param (
34
34
[Parameter ()]
35
35
[Microsoft.Azure.PowerShell.Cmdlets.BackupAdmin.Category (' Path' )]
36
- [Microsoft.Azure.PowerShell.Cmdlets.BackupAdmin.Runtime.DefaultInfo (Script= ' (Get-AzLocation)[0].Name ' )]
36
+ [Microsoft.Azure.PowerShell.Cmdlets.BackupAdmin.Runtime.DefaultInfo (Script= ' (Get-AzLocation)[0].Location ' )]
37
37
[System.String ]
38
38
# Name of the backup location.
39
39
${Location} ,
40
40
41
41
[Parameter ()]
42
42
[Microsoft.Azure.PowerShell.Cmdlets.BackupAdmin.Category (' Path' )]
43
- [Microsoft.Azure.PowerShell.Cmdlets.BackupAdmin.Runtime.DefaultInfo (Script= ' "system.$((Get-AzLocation)[0].Name )"' )]
43
+ [Microsoft.Azure.PowerShell.Cmdlets.BackupAdmin.Runtime.DefaultInfo (Script= ' "system.$((Get-AzLocation)[0].Location )"' )]
44
44
[System.String ]
45
45
# Name of the resource group.
46
46
${ResourceGroupName} ,
Original file line number Diff line number Diff line change @@ -28,14 +28,14 @@ function Start-AzsBackup {
28
28
param (
29
29
[Parameter (ParameterSetName = ' Create' )]
30
30
[Microsoft.Azure.PowerShell.Cmdlets.BackupAdmin.Category (' Path' )]
31
- [Microsoft.Azure.PowerShell.Cmdlets.BackupAdmin.Runtime.DefaultInfo (Script= ' (Get-AzLocation)[0].Name ' )]
31
+ [Microsoft.Azure.PowerShell.Cmdlets.BackupAdmin.Runtime.DefaultInfo (Script= ' (Get-AzLocation)[0].Location ' )]
32
32
[System.String ]
33
33
# Name of the backup location.
34
34
${Location} ,
35
35
36
36
[Parameter (ParameterSetName = ' Create' )]
37
37
[Microsoft.Azure.PowerShell.Cmdlets.BackupAdmin.Category (' Path' )]
38
- [Microsoft.Azure.PowerShell.Cmdlets.BackupAdmin.Runtime.DefaultInfo (Script= ' "system.$((Get-AzLocation)[0].Name )"' )]
38
+ [Microsoft.Azure.PowerShell.Cmdlets.BackupAdmin.Runtime.DefaultInfo (Script= ' "system.$((Get-AzLocation)[0].Location )"' )]
39
39
[System.String ]
40
40
# Name of the resource group.
41
41
${ResourceGroupName} ,
You can’t perform that action at this time.
0 commit comments