-
Notifications
You must be signed in to change notification settings - Fork 4k
Added Configure protection commands #24791
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: generation-RecoveryServices-preview
Are you sure you want to change the base?
Added Configure protection commands #24791
Conversation
Added Unregister container command Enable protection SQL wip
🔄Az.RecoveryServices
|
$PSBoundParameters.Add('ContainerName', $containerFullName) | ||
$PSBoundParameters.Add('Parameter', $protectionContainerResource) | ||
$PSBoundParameters.Add('NoWait', $true) | ||
|
||
# TODO: remove | ||
Write-Debug "ContainerType: $($protectionContainerResource.ContainerType)" | ||
Write-Debug "Type: $($protectionContainerResource.Property.GetType())" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
@@ -12,6 +12,12 @@ | |||
"IsSmartTieringSupported": false, | |||
"containerInquiryType": null, | |||
"protectedItemType": "AzureFileShareProtectedItem", | |||
"protectedItemResourceType": "Microsoft.Compute/virtualMachines", | |||
"classicComputeProtectedItemResourceType": "Microsoft.ClassicCompute/virtualMachines", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check this
@@ -12,6 +12,12 @@ | |||
"IsSmartTieringSupported": true, | |||
"containerInquiryType": "SQL", | |||
"protectedItemType": "AzureVMWorkloadSqlDatabaseProtectedItem", | |||
"protectedItemResourceType": "Microsoft.Compute/virtualMachines", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check this
@@ -12,6 +12,12 @@ | |||
"IsSmartTieringSupported": true, | |||
"containerInquiryType": "SAPHana", | |||
"protectedItemType": "AzureVMWorkloadSapHanaDatabaseProtectedItem", | |||
"protectedItemResourceType": "Microsoft.Compute/virtualMachines", | |||
"classicComputeProtectedItemResourceType": "Microsoft.ClassicCompute/virtualMachines", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check this
|
||
### Example 2: {{ Add title here }} | ||
```powershell | ||
{{ Add code here }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add examples
{{ Add description here }} | ||
|
||
### Example 2: {{ Add title here }} | ||
```powershell |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check if we need this command. If yes, add examples
|
||
### Example 1: {{ Add title here }} | ||
```powershell | ||
{{ Add code here }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check if we need this command. If yes, add examples
### Example 2: {{ Add title here }} | ||
```powershell | ||
{{ Add code here }} | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check if we need this command. If yes, add examples
```powershell | ||
{{ Add code here }} | ||
``` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check if we need this command. If yes, add examples
|
||
### Example 2: {{ Add title here }} | ||
```powershell | ||
{{ Add code here }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check if we need this command. If yes, add examples
|
||
### Example 1: {{ Add title here }} | ||
```powershell | ||
{{ Add code here }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check if we need this command. If yes, add examples
|
||
### Example 1: {{ Add title here }} | ||
```powershell | ||
{{ Add code here }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check if we need this command. If yes, add examples
{{ Add description here }} | ||
|
||
### Example 2: {{ Add title here }} | ||
```powershell |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check if we need this command. If yes, add examples
|
||
### Example 1: {{ Add title here }} | ||
```powershell | ||
{{ Add code here }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add examples
Description
Added Enable protection command
Mandatory Checklist
Please choose the target release of Azure PowerShell. (⚠️ Target release is a different concept from API readiness. Please click below links for details.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.md
and reviewed the following information:ChangeLog.md
file(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
.## Upcoming Release
header in the past tense.ChangeLog.md
if no new release is required, such as fixing test case only.