Skip to content
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

Added Configure protection commands #24791

Draft
wants to merge 2 commits into
base: generation-RecoveryServices-preview
Choose a base branch
from

Conversation

hiaga
Copy link
Member

@hiaga hiaga commented May 5, 2024

Description

Added Enable protection command

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • For SDK-based development mode, update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • For autorest-based development mode, include the changelog in the PR description.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

Added Unregister container command
Enable protection SQL wip
Copy link

azure-client-tools-bot-prd bot commented May 5, 2024

🔄Az.RecoveryServices
🔄Breaking Change Check
🔄PowerShell Core - Windows
🔄Windows PowerShell - Windows
🔄Signature Check
🔄PowerShell Core - Windows
🔄Windows PowerShell - Windows
🔄Help Example Check
🔄PowerShell Core - Windows
🔄Windows PowerShell - Windows
🔄Help File Existence Check
🔄PowerShell Core - Windows
🔄Windows PowerShell - Windows
🔄File Change Check
🔄PowerShell Core - Windows
🔄Windows PowerShell - Windows
🔄UX Metadata Check
🔄PowerShell Core - Windows
🔄Windows PowerShell - Windows

$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())"
Copy link
Member Author

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",
Copy link
Member Author

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",
Copy link
Member Author

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",
Copy link
Member Author

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 }}
Copy link
Member Author

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
Copy link
Member Author

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 }}
Copy link
Member Author

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 }}
```
Copy link
Member Author

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 }}
```

Copy link
Member Author

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 }}
Copy link
Member Author

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 }}
Copy link
Member Author

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 }}
Copy link
Member Author

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
Copy link
Member Author

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 }}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add examples

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant