From dfbb7e6eb85a6013109dbca188c5e8a8a6af89c8 Mon Sep 17 00:00:00 2001 From: krtcodee Date: Mon, 7 Sep 2026 02:22:01 +0530 Subject: [PATCH] Bootstrap Az.ResilienceManagement module for AzureResilienceManagement RP Generated with AutoRest v3.10.9 + @autorest/powershell@4.0.674 following the same Az.Modern layout as the recently-added Mission module. Layout (matches src/Mission/): src/ResilienceManagement/ ResilienceManagement.sln ResilienceManagement/ - handcrafted wrapper module Az.ResilienceManagement.psd1 ChangeLog.md ResilienceManagement.csproj Properties/AssemblyInfo.cs ResilienceManagement.Autorest/ - autorest-generated + committed docs README.md - autorest config docs/*.md - per-cmdlet reference (72 cmdlets) examples/*.md - per-cmdlet example stubs test/*.Tests.ps1 - per-cmdlet Pester stubs UX/ - portal metadata custom/, resources/, utils/ - customization hooks Swagger source: krtcodee/azure-rest-api-specs branch krt/pwsh-cmd (preview/2026-08-31-preview/openapi.json). Will switch to a "commit:" + repo-var reference once the swagger merges upstream. Directives handle three sets of AutoRest naming collisions: - DrillProperties.errorDetails dropped (breaks discriminated subtypes) - UsagePlan._List1 renamed to ListByResourceGroup - RecoveryPlanActions_* and DrillRuns_FailOver/Reprotect renamed per operation to avoid Body-parameter type collisions in Export-ProxyCmdlet No compiled binaries, generated C#, or exports/ scaffolding committed - all regenerable via 'autorest' + 'build-module.ps1'. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: e767a9cf-1c92-4d5d-827b-a71750e397e3 --- .../.gitattributes | 1 + .../ResilienceManagement.Autorest/.gitignore | 16 + .../ResilienceManagement.Autorest/README.md | 130 ++++ .../locations-operationStatuses.json | 42 ++ .../usagePlans-enrollments.json | 95 +++ .../usagePlans.json | 85 +++ .../serviceGroups-drills-drillResources.json | 47 ++ ...ps-drills-drillRuns-drillRunResources.json | 52 ++ .../serviceGroups-drills-drillRuns.json | 85 +++ .../serviceGroups-drills.json | 141 +++++ ...eGroups-goalAssignments-goalResources.json | 47 ++ .../serviceGroups-goalAssignments.json | 75 +++ .../serviceGroups-goalTemplates.json | 75 +++ ...ans-recoveryJobs-recoveryJobResources.json | 52 ++ ...viceGroups-recoveryPlans-recoveryJobs.json | 85 +++ ...roups-recoveryPlans-recoveryResources.json | 47 ++ .../serviceGroups-recoveryPlans.json | 240 ++++++++ .../serviceGroups-unifiedResilienceItems.json | 42 ++ .../Az.ResilienceManagement.custom.psm1 | 17 + .../custom/README.md | 41 ++ .../docs/README.md | 11 + ...Add-AzResilienceManagementDrillResource.md | 408 +++++++++++++ .../Add-AzResilienceManagementDrillRunNote.md | 368 +++++++++++ .../docs/exports/Az.ResilienceManagement.md | 228 +++++++ .../Get-AzResilienceManagementDrill.md | 182 ++++++ ...Get-AzResilienceManagementDrillResource.md | 219 +++++++ .../Get-AzResilienceManagementDrillRun.md | 189 ++++++ ...enceManagementDrillRunReportDownloadUrl.md | 279 +++++++++ ...-AzResilienceManagementDrillRunResource.md | 226 +++++++ .../Get-AzResilienceManagementEnrollment.md | 184 ++++++ ...et-AzResilienceManagementGoalAssignment.md | 182 ++++++ .../Get-AzResilienceManagementGoalResource.md | 219 +++++++ .../Get-AzResilienceManagementGoalTemplate.md | 182 ++++++ ...t-AzResilienceManagementOperationStatus.md | 146 +++++ .../Get-AzResilienceManagementRecoveryJob.md | 189 ++++++ ...ResilienceManagementRecoveryJobResource.md | 227 +++++++ .../Get-AzResilienceManagementRecoveryPlan.md | 182 ++++++ ...-AzResilienceManagementRecoveryResource.md | 189 ++++++ ...silienceManagementUnifiedResilienceItem.md | 182 ++++++ .../Get-AzResilienceManagementUsagePlan.md | 153 +++++ ...nceManagementFinalizeRecoveryPlanAction.md | 225 +++++++ ...ilienceManagementMarkDrillRunAsComplete.md | 368 +++++++++++ ...nagementRecommendGoalAssignmentCapacity.md | 313 ++++++++++ ...-AzResilienceManagementRetryRecoveryJob.md | 263 ++++++++ .../New-AzResilienceManagementDrill.md | 574 ++++++++++++++++++ ...ew-AzResilienceManagementDrillRunReport.md | 266 ++++++++ .../New-AzResilienceManagementEnrollment.md | 278 +++++++++ ...ew-AzResilienceManagementGoalAssignment.md | 292 +++++++++ .../New-AzResilienceManagementGoalTemplate.md | 293 +++++++++ .../New-AzResilienceManagementRecoveryPlan.md | 390 ++++++++++++ .../New-AzResilienceManagementUsagePlan.md | 268 ++++++++ .../Remove-AzResilienceManagementDrill.md | 222 +++++++ ...Remove-AzResilienceManagementEnrollment.md | 255 ++++++++ ...ve-AzResilienceManagementGoalAssignment.md | 223 +++++++ ...move-AzResilienceManagementGoalTemplate.md | 223 +++++++ ...move-AzResilienceManagementRecoveryPlan.md | 223 +++++++ .../Remove-AzResilienceManagementUsagePlan.md | 217 +++++++ .../Resume-AzResilienceManagementDrillRun.md | 262 ++++++++ ...esume-AzResilienceManagementRecoveryJob.md | 368 +++++++++++ .../Set-AzResilienceManagementEnrollment.md | 253 ++++++++ ...et-AzResilienceManagementGoalAssignment.md | 266 ++++++++ .../Set-AzResilienceManagementGoalTemplate.md | 267 ++++++++ .../Set-AzResilienceManagementRecoveryPlan.md | 362 +++++++++++ .../Set-AzResilienceManagementUsagePlan.md | 268 ++++++++ .../Start-AzResilienceManagementDrill.md | 305 ++++++++++ ...-AzResilienceManagementDrillRunFailover.md | 422 +++++++++++++ ...AzResilienceManagementDrillRunReprotect.md | 371 +++++++++++ ...esilienceManagementRecoveryPlanFailover.md | 358 +++++++++++ ...nceManagementRecoveryPlanFailoverCommit.md | 225 +++++++ ...silienceManagementRecoveryPlanReprotect.md | 325 ++++++++++ ...ienceManagementRecoveryPlanTestFailover.md | 358 +++++++++++ ...nagementRecoveryPlanTestFailoverCleanup.md | 324 ++++++++++ .../Stop-AzResilienceManagementDrill.md | 338 +++++++++++ .../Stop-AzResilienceManagementRecoveryJob.md | 368 +++++++++++ .../Test-AzResilienceManagementDrill.md | 342 +++++++++++ ...esilienceManagementDrillResyncReadiness.md | 240 ++++++++ ...ceManagementRecoveryPlanActionReadiness.md | 225 +++++++ ...entRecoveryPlanFailoverCommitValidation.md | 225 +++++++ ...anagementRecoveryPlanFailoverValidation.md | 358 +++++++++++ ...nagementRecoveryPlanOperationValidation.md | 324 ++++++++++ ...nagementRecoveryPlanReprotectValidation.md | 325 ++++++++++ ...coveryPlanTestFailoverCleanupValidation.md | 225 +++++++ ...ementRecoveryPlanTestFailoverValidation.md | 358 +++++++++++ .../Update-AzResilienceManagementDrill.md | 571 +++++++++++++++++ ...ate-AzResilienceManagementDrillResource.md | 368 +++++++++++ ...Update-AzResilienceManagementEnrollment.md | 257 ++++++++ ...te-AzResilienceManagementGoalAssignment.md | 316 ++++++++++ ...nceManagementGoalAssignmentGoalResource.md | 294 +++++++++ ...date-AzResilienceManagementGoalTemplate.md | 333 ++++++++++ ...date-AzResilienceManagementRecoveryPlan.md | 397 ++++++++++++ ...nceManagementRecoveryPlanActionResource.md | 301 +++++++++ .../Update-AzResilienceManagementUsagePlan.md | 261 ++++++++ ...Add-AzResilienceManagementDrillResource.md | 22 + .../Add-AzResilienceManagementDrillRunNote.md | 22 + .../Get-AzResilienceManagementDrill.md | 22 + ...Get-AzResilienceManagementDrillResource.md | 22 + .../Get-AzResilienceManagementDrillRun.md | 22 + ...enceManagementDrillRunReportDownloadUrl.md | 22 + ...-AzResilienceManagementDrillRunResource.md | 22 + .../Get-AzResilienceManagementEnrollment.md | 22 + ...et-AzResilienceManagementGoalAssignment.md | 22 + .../Get-AzResilienceManagementGoalResource.md | 22 + .../Get-AzResilienceManagementGoalTemplate.md | 22 + ...t-AzResilienceManagementOperationStatus.md | 22 + .../Get-AzResilienceManagementRecoveryJob.md | 22 + ...ResilienceManagementRecoveryJobResource.md | 22 + .../Get-AzResilienceManagementRecoveryPlan.md | 22 + ...-AzResilienceManagementRecoveryResource.md | 22 + ...silienceManagementUnifiedResilienceItem.md | 22 + .../Get-AzResilienceManagementUsagePlan.md | 22 + ...nceManagementFinalizeRecoveryPlanAction.md | 22 + ...ilienceManagementMarkDrillRunAsComplete.md | 22 + ...nagementRecommendGoalAssignmentCapacity.md | 22 + ...-AzResilienceManagementRetryRecoveryJob.md | 22 + .../New-AzResilienceManagementDrill.md | 22 + ...ew-AzResilienceManagementDrillRunReport.md | 22 + .../New-AzResilienceManagementEnrollment.md | 22 + ...ew-AzResilienceManagementGoalAssignment.md | 22 + .../New-AzResilienceManagementGoalTemplate.md | 22 + .../New-AzResilienceManagementRecoveryPlan.md | 22 + .../New-AzResilienceManagementUsagePlan.md | 22 + .../Remove-AzResilienceManagementDrill.md | 22 + ...Remove-AzResilienceManagementEnrollment.md | 22 + ...ve-AzResilienceManagementGoalAssignment.md | 22 + ...move-AzResilienceManagementGoalTemplate.md | 22 + ...move-AzResilienceManagementRecoveryPlan.md | 22 + .../Remove-AzResilienceManagementUsagePlan.md | 22 + .../Resume-AzResilienceManagementDrillRun.md | 22 + ...esume-AzResilienceManagementRecoveryJob.md | 22 + .../Set-AzResilienceManagementEnrollment.md | 22 + ...et-AzResilienceManagementGoalAssignment.md | 22 + .../Set-AzResilienceManagementGoalTemplate.md | 22 + .../Set-AzResilienceManagementRecoveryPlan.md | 22 + .../Set-AzResilienceManagementUsagePlan.md | 22 + .../Start-AzResilienceManagementDrill.md | 22 + ...-AzResilienceManagementDrillRunFailover.md | 22 + ...AzResilienceManagementDrillRunReprotect.md | 22 + ...esilienceManagementRecoveryPlanFailover.md | 22 + ...nceManagementRecoveryPlanFailoverCommit.md | 22 + ...silienceManagementRecoveryPlanReprotect.md | 22 + ...ienceManagementRecoveryPlanTestFailover.md | 22 + ...nagementRecoveryPlanTestFailoverCleanup.md | 22 + .../Stop-AzResilienceManagementDrill.md | 22 + .../Stop-AzResilienceManagementRecoveryJob.md | 22 + .../Test-AzResilienceManagementDrill.md | 22 + ...esilienceManagementDrillResyncReadiness.md | 22 + ...ceManagementRecoveryPlanActionReadiness.md | 22 + ...entRecoveryPlanFailoverCommitValidation.md | 22 + ...anagementRecoveryPlanFailoverValidation.md | 22 + ...nagementRecoveryPlanOperationValidation.md | 22 + ...nagementRecoveryPlanReprotectValidation.md | 22 + ...coveryPlanTestFailoverCleanupValidation.md | 22 + ...ementRecoveryPlanTestFailoverValidation.md | 22 + .../Update-AzResilienceManagementDrill.md | 22 + ...ate-AzResilienceManagementDrillResource.md | 22 + ...Update-AzResilienceManagementEnrollment.md | 22 + ...te-AzResilienceManagementGoalAssignment.md | 22 + ...nceManagementGoalAssignmentGoalResource.md | 22 + ...date-AzResilienceManagementGoalTemplate.md | 22 + ...date-AzResilienceManagementRecoveryPlan.md | 22 + ...nceManagementRecoveryPlanActionResource.md | 22 + .../Update-AzResilienceManagementUsagePlan.md | 22 + .../generate-info.json | 3 + .../ResilienceManagement.Autorest/how-to.md | 58 ++ .../resources/README.md | 11 + ...esilienceManagementDrillResource.Tests.ps1 | 49 ++ ...ResilienceManagementDrillRunNote.Tests.ps1 | 57 ++ .../Get-AzResilienceManagementDrill.Tests.ps1 | 33 + ...esilienceManagementDrillResource.Tests.ps1 | 37 ++ ...t-AzResilienceManagementDrillRun.Tests.ps1 | 37 ++ ...agementDrillRunReportDownloadUrl.Tests.ps1 | 33 + ...lienceManagementDrillRunResource.Tests.ps1 | 41 ++ ...AzResilienceManagementEnrollment.Tests.ps1 | 33 + ...silienceManagementGoalAssignment.Tests.ps1 | 33 + ...ResilienceManagementGoalResource.Tests.ps1 | 37 ++ ...ResilienceManagementGoalTemplate.Tests.ps1 | 33 + ...ilienceManagementOperationStatus.Tests.ps1 | 29 + ...zResilienceManagementRecoveryJob.Tests.ps1 | 37 ++ ...nceManagementRecoveryJobResource.Tests.ps1 | 41 ++ ...ResilienceManagementRecoveryPlan.Tests.ps1 | 33 + ...lienceManagementRecoveryResource.Tests.ps1 | 37 ++ ...eManagementUnifiedResilienceItem.Tests.ps1 | 33 + ...-AzResilienceManagementUsagePlan.Tests.ps1 | 33 + ...gementFinalizeRecoveryPlanAction.Tests.ps1 | 29 + ...ManagementMarkDrillRunAsComplete.Tests.ps1 | 57 ++ ...tRecommendGoalAssignmentCapacity.Tests.ps1 | 49 ++ ...lienceManagementRetryRecoveryJob.Tests.ps1 | 33 + .../New-AzResilienceManagementDrill.Tests.ps1 | 33 + ...silienceManagementDrillRunReport.Tests.ps1 | 33 + ...AzResilienceManagementEnrollment.Tests.ps1 | 33 + ...silienceManagementGoalAssignment.Tests.ps1 | 33 + ...ResilienceManagementGoalTemplate.Tests.ps1 | 33 + ...ResilienceManagementRecoveryPlan.Tests.ps1 | 33 + ...-AzResilienceManagementUsagePlan.Tests.ps1 | 29 + .../test/README.md | 17 + ...move-AzResilienceManagementDrill.Tests.ps1 | 29 + ...AzResilienceManagementEnrollment.Tests.ps1 | 29 + ...silienceManagementGoalAssignment.Tests.ps1 | 29 + ...ResilienceManagementGoalTemplate.Tests.ps1 | 29 + ...ResilienceManagementRecoveryPlan.Tests.ps1 | 29 + ...-AzResilienceManagementUsagePlan.Tests.ps1 | 25 + ...e-AzResilienceManagementDrillRun.Tests.ps1 | 33 + ...zResilienceManagementRecoveryJob.Tests.ps1 | 57 ++ ...AzResilienceManagementEnrollment.Tests.ps1 | 29 + ...silienceManagementGoalAssignment.Tests.ps1 | 29 + ...ResilienceManagementGoalTemplate.Tests.ps1 | 29 + ...ResilienceManagementRecoveryPlan.Tests.ps1 | 29 + ...-AzResilienceManagementUsagePlan.Tests.ps1 | 29 + ...tart-AzResilienceManagementDrill.Tests.ps1 | 49 ++ ...lienceManagementDrillRunFailover.Tests.ps1 | 57 ++ ...ienceManagementDrillRunReprotect.Tests.ps1 | 57 ++ ...ceManagementRecoveryPlanFailover.Tests.ps1 | 49 ++ ...gementRecoveryPlanFailoverCommit.Tests.ps1 | 29 + ...eManagementRecoveryPlanReprotect.Tests.ps1 | 49 ++ ...nagementRecoveryPlanTestFailover.Tests.ps1 | 49 ++ ...tRecoveryPlanTestFailoverCleanup.Tests.ps1 | 49 ++ ...Stop-AzResilienceManagementDrill.Tests.ps1 | 49 ++ ...zResilienceManagementRecoveryJob.Tests.ps1 | 57 ++ ...Test-AzResilienceManagementDrill.Tests.ps1 | 49 ++ ...ceManagementDrillResyncReadiness.Tests.ps1 | 29 + ...ementRecoveryPlanActionReadiness.Tests.ps1 | 29 + ...veryPlanFailoverCommitValidation.Tests.ps1 | 29 + ...ntRecoveryPlanFailoverValidation.Tests.ps1 | 49 ++ ...tRecoveryPlanOperationValidation.Tests.ps1 | 49 ++ ...tRecoveryPlanReprotectValidation.Tests.ps1 | 49 ++ ...lanTestFailoverCleanupValidation.Tests.ps1 | 29 + ...coveryPlanTestFailoverValidation.Tests.ps1 | 49 ++ ...date-AzResilienceManagementDrill.Tests.ps1 | 37 ++ ...esilienceManagementDrillResource.Tests.ps1 | 37 ++ ...AzResilienceManagementEnrollment.Tests.ps1 | 29 + ...silienceManagementGoalAssignment.Tests.ps1 | 37 ++ ...gementGoalAssignmentGoalResource.Tests.ps1 | 49 ++ ...ResilienceManagementGoalTemplate.Tests.ps1 | 37 ++ ...ResilienceManagementRecoveryPlan.Tests.ps1 | 37 ++ ...gementRecoveryPlanActionResource.Tests.ps1 | 37 ++ ...-AzResilienceManagementUsagePlan.Tests.ps1 | 33 + .../test/loadEnv.ps1 | 29 + .../test/utils.ps1 | 56 ++ .../utils/Unprotect-SecureString.ps1 | 16 + .../ResilienceManagement.sln | 145 +++++ .../Az.ResilienceManagement.psd1 | 134 ++++ .../ResilienceManagement/ChangeLog.md | 24 + .../Properties/AssemblyInfo.cs | 28 + .../ResilienceManagement.csproj | 28 + 244 files changed, 26356 insertions(+) create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/.gitattributes create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/.gitignore create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/README.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.AzureResilienceManagement/locations-operationStatuses.json create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.AzureResilienceManagement/usagePlans-enrollments.json create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.AzureResilienceManagement/usagePlans.json create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-drills-drillResources.json create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-drills-drillRuns-drillRunResources.json create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-drills-drillRuns.json create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-drills.json create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-goalAssignments-goalResources.json create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-goalAssignments.json create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-goalTemplates.json create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-recoveryPlans-recoveryJobs-recoveryJobResources.json create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-recoveryPlans-recoveryJobs.json create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-recoveryPlans-recoveryResources.json create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-recoveryPlans.json create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-unifiedResilienceItems.json create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/custom/Az.ResilienceManagement.custom.psm1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/custom/README.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/README.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Add-AzResilienceManagementDrillResource.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Add-AzResilienceManagementDrillRunNote.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Az.ResilienceManagement.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementDrill.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementDrillResource.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementDrillRun.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementDrillRunReportDownloadUrl.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementDrillRunResource.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementEnrollment.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementGoalAssignment.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementGoalResource.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementGoalTemplate.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementOperationStatus.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementRecoveryJob.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementRecoveryJobResource.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementRecoveryPlan.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementRecoveryResource.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementUnifiedResilienceItem.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementUsagePlan.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Invoke-AzResilienceManagementFinalizeRecoveryPlanAction.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Invoke-AzResilienceManagementMarkDrillRunAsComplete.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Invoke-AzResilienceManagementRecommendGoalAssignmentCapacity.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Invoke-AzResilienceManagementRetryRecoveryJob.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/New-AzResilienceManagementDrill.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/New-AzResilienceManagementDrillRunReport.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/New-AzResilienceManagementEnrollment.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/New-AzResilienceManagementGoalAssignment.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/New-AzResilienceManagementGoalTemplate.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/New-AzResilienceManagementRecoveryPlan.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/New-AzResilienceManagementUsagePlan.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Remove-AzResilienceManagementDrill.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Remove-AzResilienceManagementEnrollment.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Remove-AzResilienceManagementGoalAssignment.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Remove-AzResilienceManagementGoalTemplate.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Remove-AzResilienceManagementRecoveryPlan.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Remove-AzResilienceManagementUsagePlan.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Resume-AzResilienceManagementDrillRun.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Resume-AzResilienceManagementRecoveryJob.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Set-AzResilienceManagementEnrollment.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Set-AzResilienceManagementGoalAssignment.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Set-AzResilienceManagementGoalTemplate.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Set-AzResilienceManagementRecoveryPlan.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Set-AzResilienceManagementUsagePlan.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementDrill.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementDrillRunFailover.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementDrillRunReprotect.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementRecoveryPlanFailover.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementRecoveryPlanFailoverCommit.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementRecoveryPlanReprotect.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementRecoveryPlanTestFailover.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementRecoveryPlanTestFailoverCleanup.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Stop-AzResilienceManagementDrill.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Stop-AzResilienceManagementRecoveryJob.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementDrill.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementDrillResyncReadiness.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementRecoveryPlanActionReadiness.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementRecoveryPlanFailoverCommitValidation.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementRecoveryPlanFailoverValidation.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementRecoveryPlanOperationValidation.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementRecoveryPlanReprotectValidation.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementRecoveryPlanTestFailoverCleanupValidation.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementRecoveryPlanTestFailoverValidation.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementDrill.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementDrillResource.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementEnrollment.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementGoalAssignment.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementGoalAssignmentGoalResource.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementGoalTemplate.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementRecoveryPlan.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementRecoveryPlanActionResource.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementUsagePlan.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Add-AzResilienceManagementDrillResource.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Add-AzResilienceManagementDrillRunNote.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementDrill.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementDrillResource.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementDrillRun.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementDrillRunReportDownloadUrl.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementDrillRunResource.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementEnrollment.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementGoalAssignment.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementGoalResource.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementGoalTemplate.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementOperationStatus.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementRecoveryJob.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementRecoveryJobResource.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementRecoveryPlan.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementRecoveryResource.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementUnifiedResilienceItem.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementUsagePlan.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Invoke-AzResilienceManagementFinalizeRecoveryPlanAction.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Invoke-AzResilienceManagementMarkDrillRunAsComplete.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Invoke-AzResilienceManagementRecommendGoalAssignmentCapacity.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Invoke-AzResilienceManagementRetryRecoveryJob.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/New-AzResilienceManagementDrill.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/New-AzResilienceManagementDrillRunReport.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/New-AzResilienceManagementEnrollment.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/New-AzResilienceManagementGoalAssignment.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/New-AzResilienceManagementGoalTemplate.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/New-AzResilienceManagementRecoveryPlan.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/New-AzResilienceManagementUsagePlan.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Remove-AzResilienceManagementDrill.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Remove-AzResilienceManagementEnrollment.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Remove-AzResilienceManagementGoalAssignment.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Remove-AzResilienceManagementGoalTemplate.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Remove-AzResilienceManagementRecoveryPlan.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Remove-AzResilienceManagementUsagePlan.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Resume-AzResilienceManagementDrillRun.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Resume-AzResilienceManagementRecoveryJob.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Set-AzResilienceManagementEnrollment.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Set-AzResilienceManagementGoalAssignment.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Set-AzResilienceManagementGoalTemplate.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Set-AzResilienceManagementRecoveryPlan.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Set-AzResilienceManagementUsagePlan.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementDrill.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementDrillRunFailover.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementDrillRunReprotect.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementRecoveryPlanFailover.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementRecoveryPlanFailoverCommit.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementRecoveryPlanReprotect.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementRecoveryPlanTestFailover.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementRecoveryPlanTestFailoverCleanup.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Stop-AzResilienceManagementDrill.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Stop-AzResilienceManagementRecoveryJob.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementDrill.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementDrillResyncReadiness.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementRecoveryPlanActionReadiness.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementRecoveryPlanFailoverCommitValidation.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementRecoveryPlanFailoverValidation.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementRecoveryPlanOperationValidation.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementRecoveryPlanReprotectValidation.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementRecoveryPlanTestFailoverCleanupValidation.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementRecoveryPlanTestFailoverValidation.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementDrill.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementDrillResource.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementEnrollment.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementGoalAssignment.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementGoalAssignmentGoalResource.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementGoalTemplate.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementRecoveryPlan.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementRecoveryPlanActionResource.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementUsagePlan.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/generate-info.json create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/how-to.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/resources/README.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Add-AzResilienceManagementDrillResource.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Add-AzResilienceManagementDrillRunNote.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementDrill.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementDrillResource.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementDrillRun.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementDrillRunReportDownloadUrl.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementDrillRunResource.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementEnrollment.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementGoalAssignment.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementGoalResource.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementGoalTemplate.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementOperationStatus.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementRecoveryJob.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementRecoveryJobResource.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementRecoveryPlan.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementRecoveryResource.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementUnifiedResilienceItem.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementUsagePlan.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Invoke-AzResilienceManagementFinalizeRecoveryPlanAction.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Invoke-AzResilienceManagementMarkDrillRunAsComplete.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Invoke-AzResilienceManagementRecommendGoalAssignmentCapacity.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Invoke-AzResilienceManagementRetryRecoveryJob.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/New-AzResilienceManagementDrill.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/New-AzResilienceManagementDrillRunReport.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/New-AzResilienceManagementEnrollment.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/New-AzResilienceManagementGoalAssignment.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/New-AzResilienceManagementGoalTemplate.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/New-AzResilienceManagementRecoveryPlan.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/New-AzResilienceManagementUsagePlan.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/README.md create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Remove-AzResilienceManagementDrill.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Remove-AzResilienceManagementEnrollment.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Remove-AzResilienceManagementGoalAssignment.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Remove-AzResilienceManagementGoalTemplate.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Remove-AzResilienceManagementRecoveryPlan.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Remove-AzResilienceManagementUsagePlan.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Resume-AzResilienceManagementDrillRun.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Resume-AzResilienceManagementRecoveryJob.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Set-AzResilienceManagementEnrollment.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Set-AzResilienceManagementGoalAssignment.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Set-AzResilienceManagementGoalTemplate.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Set-AzResilienceManagementRecoveryPlan.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Set-AzResilienceManagementUsagePlan.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementDrill.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementDrillRunFailover.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementDrillRunReprotect.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementRecoveryPlanFailover.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementRecoveryPlanFailoverCommit.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementRecoveryPlanReprotect.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementRecoveryPlanTestFailover.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementRecoveryPlanTestFailoverCleanup.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Stop-AzResilienceManagementDrill.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Stop-AzResilienceManagementRecoveryJob.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementDrill.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementDrillResyncReadiness.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementRecoveryPlanActionReadiness.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementRecoveryPlanFailoverCommitValidation.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementRecoveryPlanFailoverValidation.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementRecoveryPlanOperationValidation.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementRecoveryPlanReprotectValidation.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementRecoveryPlanTestFailoverCleanupValidation.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementRecoveryPlanTestFailoverValidation.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementDrill.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementDrillResource.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementEnrollment.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementGoalAssignment.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementGoalAssignmentGoalResource.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementGoalTemplate.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementRecoveryPlan.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementRecoveryPlanActionResource.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementUsagePlan.Tests.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/loadEnv.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/test/utils.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.Autorest/utils/Unprotect-SecureString.ps1 create mode 100644 src/ResilienceManagement/ResilienceManagement.sln create mode 100644 src/ResilienceManagement/ResilienceManagement/Az.ResilienceManagement.psd1 create mode 100644 src/ResilienceManagement/ResilienceManagement/ChangeLog.md create mode 100644 src/ResilienceManagement/ResilienceManagement/Properties/AssemblyInfo.cs create mode 100644 src/ResilienceManagement/ResilienceManagement/ResilienceManagement.csproj diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/.gitattributes b/src/ResilienceManagement/ResilienceManagement.Autorest/.gitattributes new file mode 100644 index 000000000000..2125666142eb --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/.gitattributes @@ -0,0 +1 @@ +* text=auto \ No newline at end of file diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/.gitignore b/src/ResilienceManagement/ResilienceManagement.Autorest/.gitignore new file mode 100644 index 000000000000..d9ce3b3ceb89 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/.gitignore @@ -0,0 +1,16 @@ +bin +obj +.vs +generated +internal +/exports +tools +test/*-TestResults.xml +/license.txt +/*.ps1 +/*.psd1 +/*.ps1xml +/*.psm1 +/*.snk +/*.csproj +/*.nuspec \ No newline at end of file diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/README.md b/src/ResilienceManagement/ResilienceManagement.Autorest/README.md new file mode 100644 index 000000000000..40fb54151d50 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/README.md @@ -0,0 +1,130 @@ + +# Az.ResilienceManagement +This directory contains the PowerShell module for the Resilience service. + +--- +## Status +[![Az.ResilienceManagement](https://img.shields.io/powershellgallery/v/Az.ResilienceManagement.svg?style=flat-square&label=Az.ResilienceManagement "Az.ResilienceManagement")](https://www.powershellgallery.com/packages/Az.ResilienceManagement/) + +## Info +- Modifiable: yes +- Generated: all +- Committed: yes +- Packaged: yes + +--- +## Detail +This module was primarily generated via [AutoRest](https://github.com/Azure/autorest) using the [PowerShell](https://github.com/Azure/autorest.powershell) extension. + +## Module Requirements +- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 2.7.5 or greater + +## Authentication +AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent. + +## Development +For information on how to develop for `Az.ResilienceManagement`, see [how-to.md](how-to.md). + + +### AutoRest Configuration +> see https://aka.ms/autorest +``` yaml +# NOTE: Swagger is still on krtcodee/azure-rest-api-specs branch krt/pwsh-cmd until it +# merges into Azure/azure-rest-api-specs. Once merged, replace `input-file` with a +# `commit:` pin + `$(repo)/specification/...` reference (see other modules). +require: + - $(this-folder)/../../readme.azure.noprofile.md +input-file: + - https://raw.githubusercontent.com/krtcodee/azure-rest-api-specs/krt/pwsh-cmd/specification/azureresiliencemanagement/resource-manager/Microsoft.AzureResilienceManagement/AzureResilienceManagement/preview/2026-08-31-preview/openapi.json + +root-module-name: $(prefix).ResilienceManagement +title: AzureResilienceManagement +module-version: 0.1.0 +service-name: ResilienceManagement +subject-prefix: ResilienceManagement +identity-correction-for-post: true + +directive: + # Drop the unexpanded / JSON-only variants for Create/Update per Az conventions + - where: + variant: ^(Create|Update)(?!.*?(Expanded|JsonFilePath|JsonString)) + remove: true + - where: + variant: ^CreateViaIdentityExpanded$ + remove: true + + # --------------------------------------------------------------------- + # Swagger fix: DrillProperties.errorDetails breaks codegen (see prior + # readme.powershell.md notes). Drop the flattened readOnly field. + # --------------------------------------------------------------------- + - from: swagger-document + where: $.definitions.DrillProperties.properties + transform: delete $["errorDetails"] + + # --------------------------------------------------------------------- + # UsagePlans has two List endpoints (by-subscription, by-resource-group) + # that collapse to the same variant `_List`. Give the second one a + # distinct variant name. + # --------------------------------------------------------------------- + - where: + verb: Get + subject: UsagePlan + variant: List1 + set: + variant: ListByResourceGroup + + # --------------------------------------------------------------------- + # RecoveryPlanActions has 11 POST endpoints under the same operation + # group. Autorest tries to merge them into a single cmdlet whose -Body + # parameter has ~11 different types, which Export-ProxyCmdlet refuses. + # + # Rename each operationId to give it a distinct subject so autorest + # emits one cmdlet per action. + # --------------------------------------------------------------------- + # Action operations (each gets its own Invoke-* cmdlet) + - from: swagger-document + where: $.paths["/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/recoveryPlans/{recoveryPlanName}/failover"].post + transform: $.operationId = "RecoveryPlanFailover_Trigger"; + - from: swagger-document + where: $.paths["/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/recoveryPlans/{recoveryPlanName}/failoverCommit"].post + transform: $.operationId = "RecoveryPlanFailoverCommit_Trigger"; + - from: swagger-document + where: $.paths["/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/recoveryPlans/{recoveryPlanName}/reprotect"].post + transform: $.operationId = "RecoveryPlanReprotect_Trigger"; + - from: swagger-document + where: $.paths["/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/recoveryPlans/{recoveryPlanName}/testFailover"].post + transform: $.operationId = "RecoveryPlanTestFailover_Trigger"; + - from: swagger-document + where: $.paths["/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/recoveryPlans/{recoveryPlanName}/testFailoverCleanup"].post + transform: $.operationId = "RecoveryPlanTestFailoverCleanup_Trigger"; + + # Validation operations + - from: swagger-document + where: $.paths["/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/recoveryPlans/{recoveryPlanName}/validateForFailover"].post + transform: $.operationId = "RecoveryPlanFailoverValidation_Validate"; + - from: swagger-document + where: $.paths["/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/recoveryPlans/{recoveryPlanName}/validateForFailoverCommit"].post + transform: $.operationId = "RecoveryPlanFailoverCommitValidation_Validate"; + - from: swagger-document + where: $.paths["/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/recoveryPlans/{recoveryPlanName}/validateForOperation"].post + transform: $.operationId = "RecoveryPlanOperationValidation_Validate"; + - from: swagger-document + where: $.paths["/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/recoveryPlans/{recoveryPlanName}/validateForReprotect"].post + transform: $.operationId = "RecoveryPlanReprotectValidation_Validate"; + - from: swagger-document + where: $.paths["/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/recoveryPlans/{recoveryPlanName}/validateForTestFailover"].post + transform: $.operationId = "RecoveryPlanTestFailoverValidation_Validate"; + - from: swagger-document + where: $.paths["/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/recoveryPlans/{recoveryPlanName}/validateForTestFailoverCleanup"].post + transform: $.operationId = "RecoveryPlanTestFailoverCleanupValidation_Validate"; + + # --------------------------------------------------------------------- + # DrillRuns has FailOver + Reprotect endpoints — same collision pattern. + # --------------------------------------------------------------------- + - from: swagger-document + where: $.paths["/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/drills/{drillName}/drillRuns/{drillRunName}/failOver"].post + transform: $.operationId = "DrillRunFailover_Trigger"; + - from: swagger-document + where: $.paths["/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/drills/{drillName}/drillRuns/{drillRunName}/reprotect"].post + transform: $.operationId = "DrillRunReprotect_Trigger"; +``` diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.AzureResilienceManagement/locations-operationStatuses.json b/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.AzureResilienceManagement/locations-operationStatuses.json new file mode 100644 index 000000000000..91328015f332 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.AzureResilienceManagement/locations-operationStatuses.json @@ -0,0 +1,42 @@ +{ + "resourceType": "locations/operationStatuses", + "apiVersion": "2026-08-31-preview", + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement" + }, + "commands": [ + { + "name": "Get-AzResilienceManagementOperationStatus", + "description": "Returns the current status of an async operation.", + "path": "/providers/Microsoft.AzureResilienceManagement/locations/{location}/operationStatuses/{operationId}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementoperationstatus" + }, + "parameterSets": [ + { + "parameters": [ + "-Location ", + "-OperationId " + ] + } + ] + }, + "examples": [ + { + "description": "Returns the current status of an async operation.", + "parameters": [ + { + "name": "-Location", + "value": "[Path.location]" + }, + { + "name": "-OperationId", + "value": "[Path.operationId]" + } + ] + } + ] + } + ] +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.AzureResilienceManagement/usagePlans-enrollments.json b/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.AzureResilienceManagement/usagePlans-enrollments.json new file mode 100644 index 000000000000..4539fc040463 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.AzureResilienceManagement/usagePlans-enrollments.json @@ -0,0 +1,95 @@ +{ + "resourceType": "usagePlans/enrollments", + "apiVersion": "2026-08-31-preview", + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement" + }, + "commands": [ + { + "name": "Get-AzResilienceManagementEnrollment", + "description": "Get an Enrollment.", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureResilienceManagement/usagePlans/{usagePlanName}/enrollments/{enrollmentName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementenrollment" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-ResourceGroupName ", + "[-SubscriptionId ]", + "-UsagePlanName " + ] + } + ] + }, + "examples": [ + { + "description": "Get an Enrollment.", + "parameters": [ + { + "name": "-Name", + "value": "[Path.enrollmentName]" + }, + { + "name": "-ResourceGroupName", + "value": "[Path.resourceGroupName]" + }, + { + "name": "-SubscriptionId", + "value": "[Path.subscriptionId]" + }, + { + "name": "-UsagePlanName", + "value": "[Path.usagePlanName]" + } + ] + } + ] + }, + { + "name": "Remove-AzResilienceManagementEnrollment", + "description": "Delete an Enrollment.", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureResilienceManagement/usagePlans/{usagePlanName}/enrollments/{enrollmentName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement/remove-azresiliencemanagementenrollment" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-ResourceGroupName ", + "[-SubscriptionId ]", + "-UsagePlanName " + ] + } + ] + }, + "examples": [ + { + "description": "Delete an Enrollment.", + "parameters": [ + { + "name": "-Name", + "value": "[Path.enrollmentName]" + }, + { + "name": "-ResourceGroupName", + "value": "[Path.resourceGroupName]" + }, + { + "name": "-SubscriptionId", + "value": "[Path.subscriptionId]" + }, + { + "name": "-UsagePlanName", + "value": "[Path.usagePlanName]" + } + ] + } + ] + } + ] +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.AzureResilienceManagement/usagePlans.json b/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.AzureResilienceManagement/usagePlans.json new file mode 100644 index 000000000000..c73edc766508 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.AzureResilienceManagement/usagePlans.json @@ -0,0 +1,85 @@ +{ + "resourceType": "usagePlans", + "apiVersion": "2026-08-31-preview", + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement" + }, + "commands": [ + { + "name": "Get-AzResilienceManagementUsagePlan", + "description": "Get a UsagePlan", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureResilienceManagement/usagePlans/{usagePlanName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementusageplan" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-ResourceGroupName ", + "[-SubscriptionId ]" + ] + } + ] + }, + "examples": [ + { + "description": "Get a UsagePlan", + "parameters": [ + { + "name": "-Name", + "value": "[Path.usagePlanName]" + }, + { + "name": "-ResourceGroupName", + "value": "[Path.resourceGroupName]" + }, + { + "name": "-SubscriptionId", + "value": "[Path.subscriptionId]" + } + ] + } + ] + }, + { + "name": "Remove-AzResilienceManagementUsagePlan", + "description": "Delete a UsagePlan", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureResilienceManagement/usagePlans/{usagePlanName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement/remove-azresiliencemanagementusageplan" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-ResourceGroupName ", + "[-SubscriptionId ]" + ] + } + ] + }, + "examples": [ + { + "description": "Delete a UsagePlan", + "parameters": [ + { + "name": "-Name", + "value": "[Path.usagePlanName]" + }, + { + "name": "-ResourceGroupName", + "value": "[Path.resourceGroupName]" + }, + { + "name": "-SubscriptionId", + "value": "[Path.subscriptionId]" + } + ] + } + ] + } + ] +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-drills-drillResources.json b/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-drills-drillResources.json new file mode 100644 index 000000000000..4e73a76d684d --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-drills-drillResources.json @@ -0,0 +1,47 @@ +{ + "resourceType": "serviceGroups/drills/drillResources", + "apiVersion": "2026-08-31-preview", + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement" + }, + "commands": [ + { + "name": "Get-AzResilienceManagementDrillResource", + "description": "Get a DrillResource", + "path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/drills/{drillName}/drillResources/{drillResourceName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementdrillresource" + }, + "parameterSets": [ + { + "parameters": [ + "-DrillName ", + "-Name ", + "-ServiceGroupName " + ] + } + ] + }, + "examples": [ + { + "description": "Get a DrillResource", + "parameters": [ + { + "name": "-DrillName", + "value": "[Path.drillName]" + }, + { + "name": "-Name", + "value": "[Path.drillResourceName]" + }, + { + "name": "-ServiceGroupName", + "value": "[Path.serviceGroupName]" + } + ] + } + ] + } + ] +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-drills-drillRuns-drillRunResources.json b/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-drills-drillRuns-drillRunResources.json new file mode 100644 index 000000000000..e64acbefca41 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-drills-drillRuns-drillRunResources.json @@ -0,0 +1,52 @@ +{ + "resourceType": "serviceGroups/drills/drillRuns/drillRunResources", + "apiVersion": "2026-08-31-preview", + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement" + }, + "commands": [ + { + "name": "Get-AzResilienceManagementDrillRunResource", + "description": "Get a DrillRunResource", + "path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/drills/{drillName}/drillRuns/{drillRunName}/drillRunResources/{drillRunResourceName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementdrillrunresource" + }, + "parameterSets": [ + { + "parameters": [ + "-DrillName ", + "-DrillRunName ", + "-Name ", + "-ServiceGroupName " + ] + } + ] + }, + "examples": [ + { + "description": "Get a DrillRunResource", + "parameters": [ + { + "name": "-DrillName", + "value": "[Path.drillName]" + }, + { + "name": "-DrillRunName", + "value": "[Path.drillRunName]" + }, + { + "name": "-Name", + "value": "[Path.drillRunResourceName]" + }, + { + "name": "-ServiceGroupName", + "value": "[Path.serviceGroupName]" + } + ] + } + ] + } + ] +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-drills-drillRuns.json b/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-drills-drillRuns.json new file mode 100644 index 000000000000..a93cf64a09f8 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-drills-drillRuns.json @@ -0,0 +1,85 @@ +{ + "resourceType": "serviceGroups/drills/drillRuns", + "apiVersion": "2026-08-31-preview", + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement" + }, + "commands": [ + { + "name": "Get-AzResilienceManagementDrillRun", + "description": "Get a DrillRun", + "path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/drills/{drillName}/drillRuns/{drillRunName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementdrillrun" + }, + "parameterSets": [ + { + "parameters": [ + "-DrillName ", + "-Name ", + "-ServiceGroupName " + ] + } + ] + }, + "examples": [ + { + "description": "Get a DrillRun", + "parameters": [ + { + "name": "-DrillName", + "value": "[Path.drillName]" + }, + { + "name": "-Name", + "value": "[Path.drillRunName]" + }, + { + "name": "-ServiceGroupName", + "value": "[Path.serviceGroupName]" + } + ] + } + ] + }, + { + "name": "Resume-AzResilienceManagementDrillRun", + "description": "This unblocks a Failover workflow that is paused after the Fault stage, to proceed to the Failover stage.", + "path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/drills/{drillName}/drillRuns/{drillRunName}/resume", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement/resume-azresiliencemanagementdrillrun" + }, + "parameterSets": [ + { + "parameters": [ + "-DrillName ", + "-Name ", + "-ServiceGroupName " + ] + } + ] + }, + "examples": [ + { + "description": "This unblocks a Failover workflow that is paused after the Fault stage, to proceed to the Failover stage.", + "parameters": [ + { + "name": "-DrillName", + "value": "[Path.drillName]" + }, + { + "name": "-Name", + "value": "[Path.drillRunName]" + }, + { + "name": "-ServiceGroupName", + "value": "[Path.serviceGroupName]" + } + ] + } + ] + } + ] +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-drills.json b/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-drills.json new file mode 100644 index 000000000000..564f8637ef10 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-drills.json @@ -0,0 +1,141 @@ +{ + "resourceType": "serviceGroups/drills", + "apiVersion": "2026-08-31-preview", + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement" + }, + "commands": [ + { + "name": "Get-AzResilienceManagementDrill", + "description": "Get a Drill", + "path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/drills/{drillName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementdrill" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-ServiceGroupName " + ] + } + ] + }, + "examples": [ + { + "description": "Get a Drill", + "parameters": [ + { + "name": "-Name", + "value": "[Path.drillName]" + }, + { + "name": "-ServiceGroupName", + "value": "[Path.serviceGroupName]" + } + ] + } + ] + }, + { + "name": "Remove-AzResilienceManagementDrill", + "description": "Delete a Drill", + "path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/drills/{drillName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement/remove-azresiliencemanagementdrill" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-ServiceGroupName " + ] + } + ] + }, + "examples": [ + { + "description": "Delete a Drill", + "parameters": [ + { + "name": "-Name", + "value": "[Path.drillName]" + }, + { + "name": "-ServiceGroupName", + "value": "[Path.serviceGroupName]" + } + ] + } + ] + }, + { + "name": "Start-AzResilienceManagementDrill", + "description": "This starts a new running instance of the Drill.", + "path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/drills/{drillName}/start", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement/start-azresiliencemanagementdrill" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-ServiceGroupName " + ] + } + ] + }, + "examples": [ + { + "description": "This starts a new running instance of the Drill.", + "parameters": [ + { + "name": "-Name", + "value": "[Path.drillName]" + }, + { + "name": "-ServiceGroupName", + "value": "[Path.serviceGroupName]" + } + ] + } + ] + }, + { + "name": "Test-AzResilienceManagementDrillResyncReadiness", + "description": "This triggers detection of any drifts from the desired state of Resources and RBAC.", + "path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/drills/{drillName}/resyncReadinessCheck", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement/test-azresiliencemanagementdrillresyncreadiness" + }, + "parameterSets": [ + { + "parameters": [ + "-DrillName ", + "-ServiceGroupName " + ] + } + ] + }, + "examples": [ + { + "description": "This triggers detection of any drifts from the desired state of Resources and RBAC.", + "parameters": [ + { + "name": "-DrillName", + "value": "[Path.drillName]" + }, + { + "name": "-ServiceGroupName", + "value": "[Path.serviceGroupName]" + } + ] + } + ] + } + ] +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-goalAssignments-goalResources.json b/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-goalAssignments-goalResources.json new file mode 100644 index 000000000000..7cb76b1002b2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-goalAssignments-goalResources.json @@ -0,0 +1,47 @@ +{ + "resourceType": "serviceGroups/goalAssignments/goalResources", + "apiVersion": "2026-08-31-preview", + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement" + }, + "commands": [ + { + "name": "Get-AzResilienceManagementGoalResource", + "description": "Get a GoalResource", + "path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/goalAssignments/{goalAssignmentName}/goalResources/{goalResourceName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementgoalresource" + }, + "parameterSets": [ + { + "parameters": [ + "-GoalAssignmentName ", + "-Name ", + "-ServiceGroupName " + ] + } + ] + }, + "examples": [ + { + "description": "Get a GoalResource", + "parameters": [ + { + "name": "-GoalAssignmentName", + "value": "[Path.goalAssignmentName]" + }, + { + "name": "-Name", + "value": "[Path.goalResourceName]" + }, + { + "name": "-ServiceGroupName", + "value": "[Path.serviceGroupName]" + } + ] + } + ] + } + ] +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-goalAssignments.json b/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-goalAssignments.json new file mode 100644 index 000000000000..a17565c271a1 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-goalAssignments.json @@ -0,0 +1,75 @@ +{ + "resourceType": "serviceGroups/goalAssignments", + "apiVersion": "2026-08-31-preview", + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement" + }, + "commands": [ + { + "name": "Get-AzResilienceManagementGoalAssignment", + "description": "Get a GoalAssignment", + "path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/goalAssignments/{goalAssignmentName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementgoalassignment" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-ServiceGroupName " + ] + } + ] + }, + "examples": [ + { + "description": "Get a GoalAssignment", + "parameters": [ + { + "name": "-Name", + "value": "[Path.goalAssignmentName]" + }, + { + "name": "-ServiceGroupName", + "value": "[Path.serviceGroupName]" + } + ] + } + ] + }, + { + "name": "Remove-AzResilienceManagementGoalAssignment", + "description": "Delete a GoalAssignment", + "path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/goalAssignments/{goalAssignmentName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement/remove-azresiliencemanagementgoalassignment" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-ServiceGroupName " + ] + } + ] + }, + "examples": [ + { + "description": "Delete a GoalAssignment", + "parameters": [ + { + "name": "-Name", + "value": "[Path.goalAssignmentName]" + }, + { + "name": "-ServiceGroupName", + "value": "[Path.serviceGroupName]" + } + ] + } + ] + } + ] +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-goalTemplates.json b/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-goalTemplates.json new file mode 100644 index 000000000000..a89a9890c416 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-goalTemplates.json @@ -0,0 +1,75 @@ +{ + "resourceType": "serviceGroups/goalTemplates", + "apiVersion": "2026-08-31-preview", + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement" + }, + "commands": [ + { + "name": "Get-AzResilienceManagementGoalTemplate", + "description": "Get a GoalTemplate", + "path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/goalTemplates/{goalTemplateName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementgoaltemplate" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-ServiceGroupName " + ] + } + ] + }, + "examples": [ + { + "description": "Get a GoalTemplate", + "parameters": [ + { + "name": "-Name", + "value": "[Path.goalTemplateName]" + }, + { + "name": "-ServiceGroupName", + "value": "[Path.serviceGroupName]" + } + ] + } + ] + }, + { + "name": "Remove-AzResilienceManagementGoalTemplate", + "description": "Delete a GoalTemplate", + "path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/goalTemplates/{goalTemplateName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement/remove-azresiliencemanagementgoaltemplate" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-ServiceGroupName " + ] + } + ] + }, + "examples": [ + { + "description": "Delete a GoalTemplate", + "parameters": [ + { + "name": "-Name", + "value": "[Path.goalTemplateName]" + }, + { + "name": "-ServiceGroupName", + "value": "[Path.serviceGroupName]" + } + ] + } + ] + } + ] +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-recoveryPlans-recoveryJobs-recoveryJobResources.json b/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-recoveryPlans-recoveryJobs-recoveryJobResources.json new file mode 100644 index 000000000000..80952c5c158e --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-recoveryPlans-recoveryJobs-recoveryJobResources.json @@ -0,0 +1,52 @@ +{ + "resourceType": "serviceGroups/recoveryPlans/recoveryJobs/recoveryJobResources", + "apiVersion": "2026-08-31-preview", + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement" + }, + "commands": [ + { + "name": "Get-AzResilienceManagementRecoveryJobResource", + "description": "Get a RecoveryJobResource", + "path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/recoveryPlans/{recoveryPlanName}/recoveryJobs/{recoveryJobName}/recoveryJobResources/{recoveryJobResourceName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementrecoveryjobresource" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-RecoveryJobName ", + "-RecoveryPlanName ", + "-ServiceGroupName " + ] + } + ] + }, + "examples": [ + { + "description": "Get a RecoveryJobResource", + "parameters": [ + { + "name": "-Name", + "value": "[Path.recoveryJobResourceName]" + }, + { + "name": "-RecoveryJobName", + "value": "[Path.recoveryJobName]" + }, + { + "name": "-RecoveryPlanName", + "value": "[Path.recoveryPlanName]" + }, + { + "name": "-ServiceGroupName", + "value": "[Path.serviceGroupName]" + } + ] + } + ] + } + ] +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-recoveryPlans-recoveryJobs.json b/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-recoveryPlans-recoveryJobs.json new file mode 100644 index 000000000000..7297178cc2f3 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-recoveryPlans-recoveryJobs.json @@ -0,0 +1,85 @@ +{ + "resourceType": "serviceGroups/recoveryPlans/recoveryJobs", + "apiVersion": "2026-08-31-preview", + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement" + }, + "commands": [ + { + "name": "Get-AzResilienceManagementRecoveryJob", + "description": "Get a RecoveryJob", + "path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/recoveryPlans/{recoveryPlanName}/recoveryJobs/{recoveryJobName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementrecoveryjob" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-RecoveryPlanName ", + "-ServiceGroupName " + ] + } + ] + }, + "examples": [ + { + "description": "Get a RecoveryJob", + "parameters": [ + { + "name": "-Name", + "value": "[Path.recoveryJobName]" + }, + { + "name": "-RecoveryPlanName", + "value": "[Path.recoveryPlanName]" + }, + { + "name": "-ServiceGroupName", + "value": "[Path.serviceGroupName]" + } + ] + } + ] + }, + { + "name": "Invoke-AzResilienceManagementRetryRecoveryJob", + "description": "This action retries the ongoing recovery orchestration job for resources that failed in previous attempts.", + "path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/recoveryPlans/{recoveryPlanName}/recoveryJobs/{recoveryJobName}/retry", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement/invoke-azresiliencemanagementretryrecoveryjob" + }, + "parameterSets": [ + { + "parameters": [ + "-RecoveryJobName ", + "-RecoveryPlanName ", + "-ServiceGroupName " + ] + } + ] + }, + "examples": [ + { + "description": "This action retries the ongoing recovery orchestration job for resources that failed in previous attempts.", + "parameters": [ + { + "name": "-RecoveryJobName", + "value": "[Path.recoveryJobName]" + }, + { + "name": "-RecoveryPlanName", + "value": "[Path.recoveryPlanName]" + }, + { + "name": "-ServiceGroupName", + "value": "[Path.serviceGroupName]" + } + ] + } + ] + } + ] +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-recoveryPlans-recoveryResources.json b/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-recoveryPlans-recoveryResources.json new file mode 100644 index 000000000000..b2dc1afb81a8 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-recoveryPlans-recoveryResources.json @@ -0,0 +1,47 @@ +{ + "resourceType": "serviceGroups/recoveryPlans/recoveryResources", + "apiVersion": "2026-08-31-preview", + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement" + }, + "commands": [ + { + "name": "Get-AzResilienceManagementRecoveryResource", + "description": "Get a RecoveryResource", + "path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/recoveryPlans/{recoveryPlanName}/recoveryResources/{recoveryResourceName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementrecoveryresource" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-RecoveryPlanName ", + "-ServiceGroupName " + ] + } + ] + }, + "examples": [ + { + "description": "Get a RecoveryResource", + "parameters": [ + { + "name": "-Name", + "value": "[Path.recoveryResourceName]" + }, + { + "name": "-RecoveryPlanName", + "value": "[Path.recoveryPlanName]" + }, + { + "name": "-ServiceGroupName", + "value": "[Path.serviceGroupName]" + } + ] + } + ] + } + ] +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-recoveryPlans.json b/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-recoveryPlans.json new file mode 100644 index 000000000000..07f2c32545b6 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-recoveryPlans.json @@ -0,0 +1,240 @@ +{ + "resourceType": "serviceGroups/recoveryPlans", + "apiVersion": "2026-08-31-preview", + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement" + }, + "commands": [ + { + "name": "Get-AzResilienceManagementRecoveryPlan", + "description": "Get a RecoveryPlan", + "path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/recoveryPlans/{recoveryPlanName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementrecoveryplan" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-ServiceGroupName " + ] + } + ] + }, + "examples": [ + { + "description": "Get a RecoveryPlan", + "parameters": [ + { + "name": "-Name", + "value": "[Path.recoveryPlanName]" + }, + { + "name": "-ServiceGroupName", + "value": "[Path.serviceGroupName]" + } + ] + } + ] + }, + { + "name": "Invoke-AzResilienceManagementFinalizeRecoveryPlanAction", + "description": "This action finalizes the recovery orchestration plan, ensuring all necessary configurations are in place.", + "path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/recoveryPlans/{recoveryPlanName}/finalize", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement/invoke-azresiliencemanagementfinalizerecoveryplanaction" + }, + "parameterSets": [ + { + "parameters": [ + "-RecoveryPlanName ", + "-ServiceGroupName " + ] + } + ] + }, + "examples": [ + { + "description": "This action finalizes the recovery orchestration plan, ensuring all necessary configurations are in place.", + "parameters": [ + { + "name": "-RecoveryPlanName", + "value": "[Path.recoveryPlanName]" + }, + { + "name": "-ServiceGroupName", + "value": "[Path.serviceGroupName]" + } + ] + } + ] + }, + { + "name": "Remove-AzResilienceManagementRecoveryPlan", + "description": "Delete a RecoveryPlan", + "path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/recoveryPlans/{recoveryPlanName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement/remove-azresiliencemanagementrecoveryplan" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-ServiceGroupName " + ] + } + ] + }, + "examples": [ + { + "description": "Delete a RecoveryPlan", + "parameters": [ + { + "name": "-Name", + "value": "[Path.recoveryPlanName]" + }, + { + "name": "-ServiceGroupName", + "value": "[Path.serviceGroupName]" + } + ] + } + ] + }, + { + "name": "Start-AzResilienceManagementRecoveryPlanFailoverCommit", + "description": "This action triggers the failover commit operation on the recovery orchestration plan for the qualified resources.", + "path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/recoveryPlans/{recoveryPlanName}/failoverCommit", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement/start-azresiliencemanagementrecoveryplanfailovercommit" + }, + "parameterSets": [ + { + "parameters": [ + "-RecoveryPlanName ", + "-ServiceGroupName " + ] + } + ] + }, + "examples": [ + { + "description": "This action triggers the failover commit operation on the recovery orchestration plan for the qualified resources.", + "parameters": [ + { + "name": "-RecoveryPlanName", + "value": "[Path.recoveryPlanName]" + }, + { + "name": "-ServiceGroupName", + "value": "[Path.serviceGroupName]" + } + ] + } + ] + }, + { + "name": "Test-AzResilienceManagementRecoveryPlanActionReadiness", + "description": "This action performs the necessary readiness check on the recovery orchestration plan to ensure it is in the desired state and eligible for all recovery actions, including all protected resources.", + "path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/recoveryPlans/{recoveryPlanName}/checkReadiness", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement/test-azresiliencemanagementrecoveryplanactionreadiness" + }, + "parameterSets": [ + { + "parameters": [ + "-RecoveryPlanName ", + "-ServiceGroupName " + ] + } + ] + }, + "examples": [ + { + "description": "This action performs the necessary readiness check on the recovery orchestration plan to ensure it is in the desired state and eligible for all recovery actions, including all protected resources.", + "parameters": [ + { + "name": "-RecoveryPlanName", + "value": "[Path.recoveryPlanName]" + }, + { + "name": "-ServiceGroupName", + "value": "[Path.serviceGroupName]" + } + ] + } + ] + }, + { + "name": "Test-AzResilienceManagementRecoveryPlanFailoverCommitValidation", + "description": "This action checks if the recovery orchestration plan is eligible for failover commit operation, ensuring it meets the necessary criteria and provides a list of qualified and unqualified resources.", + "path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/recoveryPlans/{recoveryPlanName}/validateForFailoverCommit", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement/test-azresiliencemanagementrecoveryplanfailovercommitvalidation" + }, + "parameterSets": [ + { + "parameters": [ + "-RecoveryPlanName ", + "-ServiceGroupName " + ] + } + ] + }, + "examples": [ + { + "description": "This action checks if the recovery orchestration plan is eligible for failover commit operation, ensuring it meets the necessary criteria and provides a list of qualified and unqualified resources.", + "parameters": [ + { + "name": "-RecoveryPlanName", + "value": "[Path.recoveryPlanName]" + }, + { + "name": "-ServiceGroupName", + "value": "[Path.serviceGroupName]" + } + ] + } + ] + }, + { + "name": "Test-AzResilienceManagementRecoveryPlanTestFailoverCleanupValidation", + "description": "This action checks if the recovery orchestration plan is eligible for test failover cleanup operation, ensuring it meets the necessary criteria and provides a list of qualified and unqualified resources.", + "path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/recoveryPlans/{recoveryPlanName}/validateForTestFailoverCleanup", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement/test-azresiliencemanagementrecoveryplantestfailovercleanupvalidation" + }, + "parameterSets": [ + { + "parameters": [ + "-RecoveryPlanName ", + "-ServiceGroupName " + ] + } + ] + }, + "examples": [ + { + "description": "This action checks if the recovery orchestration plan is eligible for test failover cleanup operation, ensuring it meets the necessary criteria and provides a list of qualified and unqualified resources.", + "parameters": [ + { + "name": "-RecoveryPlanName", + "value": "[Path.recoveryPlanName]" + }, + { + "name": "-ServiceGroupName", + "value": "[Path.serviceGroupName]" + } + ] + } + ] + } + ] +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-unifiedResilienceItems.json b/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-unifiedResilienceItems.json new file mode 100644 index 000000000000..adabcd5fcdbc --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/UX/Microsoft.Management/serviceGroups-unifiedResilienceItems.json @@ -0,0 +1,42 @@ +{ + "resourceType": "serviceGroups/unifiedResilienceItems", + "apiVersion": "2026-08-31-preview", + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement" + }, + "commands": [ + { + "name": "Get-AzResilienceManagementUnifiedResilienceItem", + "description": "Get a UnifiedResilienceItem", + "path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/unifiedResilienceItems/{unifiedResilienceItemName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementunifiedresilienceitem" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-ServiceGroupName " + ] + } + ] + }, + "examples": [ + { + "description": "Get a UnifiedResilienceItem", + "parameters": [ + { + "name": "-Name", + "value": "[Path.unifiedResilienceItemName]" + }, + { + "name": "-ServiceGroupName", + "value": "[Path.serviceGroupName]" + } + ] + } + ] + } + ] +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/custom/Az.ResilienceManagement.custom.psm1 b/src/ResilienceManagement/ResilienceManagement.Autorest/custom/Az.ResilienceManagement.custom.psm1 new file mode 100644 index 000000000000..81f374072b3c --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/custom/Az.ResilienceManagement.custom.psm1 @@ -0,0 +1,17 @@ +# region Generated + # Load the private module dll + $null = Import-Module -PassThru -Name (Join-Path $PSScriptRoot '..\bin\Az.ResilienceManagement.private.dll') + + # Load the internal module + $internalModulePath = Join-Path $PSScriptRoot '..\internal\Az.ResilienceManagement.internal.psm1' + if(Test-Path $internalModulePath) { + $null = Import-Module -Name $internalModulePath + } + + # Export nothing to clear implicit exports + Export-ModuleMember + + # Export script cmdlets + Get-ChildItem -Path $PSScriptRoot -Recurse -Include '*.ps1' -File | ForEach-Object { . $_.FullName } + Export-ModuleMember -Function (Get-ScriptCmdlet -ScriptFolder $PSScriptRoot) -Alias (Get-ScriptCmdlet -ScriptFolder $PSScriptRoot -AsAlias) +# endregion diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/custom/README.md b/src/ResilienceManagement/ResilienceManagement.Autorest/custom/README.md new file mode 100644 index 000000000000..312bb547ba13 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/custom/README.md @@ -0,0 +1,41 @@ +# Custom +This directory contains custom implementation for non-generated cmdlets for the `Az.ResilienceManagement` module. Both scripts (`.ps1`) and C# files (`.cs`) can be implemented here. They will be used during the build process in `build-module.ps1`, and create cmdlets into the `..\exports` folder. The only generated file into this folder is the `Az.ResilienceManagement.custom.psm1`. This file should not be modified. + +## Info +- Modifiable: yes +- Generated: partial +- Committed: yes +- Packaged: yes + +## Details +For `Az.ResilienceManagement` to use custom cmdlets, it does this two different ways. We **highly recommend** creating script cmdlets, as they are easier to write and allow access to the other exported cmdlets. C# cmdlets *cannot access exported cmdlets*. + +For C# cmdlets, they are compiled with the rest of the generated low-level cmdlets into the `./bin/Az.ResilienceManagement.private.dll`. The names of the cmdlets (methods) and files must follow the `[cmdletName]_[variantName]` syntax used for generated cmdlets. The `variantName` is used as the `ParameterSetName`, so use something appropriate that doesn't clash with already created variant or parameter set names. You cannot use the `ParameterSetName` property in the `Parameter` attribute on C# cmdlets. Each cmdlet must be separated into variants using the same pattern as seen in the `generated/cmdlets` folder. + +For script cmdlets, these are loaded via the `Az.ResilienceManagement.custom.psm1`. Then, during the build process, this module is loaded and processed in the same manner as the C# cmdlets. The fundamental difference is the script cmdlets use the `ParameterSetName` attribute and C# cmdlets do not. To create a script cmdlet variant of a generated cmdlet, simply decorate all parameters in the script with the new `ParameterSetName` in the `Parameter` attribute. This will appropriately treat each parameter set as a separate variant when processed to be exported during the build. + +## Purpose +This allows the modules to have cmdlets that were not defined in the REST specification. It also allows combining logic using generated cmdlets. This is a level of customization beyond what can be done using the [readme configuration options](https://github.com/Azure/autorest/blob/master/docs/powershell/options.md) that are currently available. These custom cmdlets are then referenced by the cmdlets created at build-time in the `..\exports` folder. + +## Usage +The easiest way currently to start developing custom cmdlets is to copy an existing cmdlet. For C# cmdlets, copy one from the `generated/cmdlets` folder. For script cmdlets, build the project using `build-module.ps1` and copy one of the scripts from the `..\exports` folder. After that, if you want to add new parameter sets, follow the guidelines in the `Details` section above. For implementing a new cmdlets, at minimum, please keep these parameters: +- Break +- DefaultProfile +- HttpPipelineAppend +- HttpPipelinePrepend +- Proxy +- ProxyCredential +- ProxyUseDefaultCredentials + +These provide functionality to our HTTP pipeline and other useful features. In script, you can forward these parameters using `$PSBoundParameters` to the other cmdlets you're calling within `Az.ResilienceManagement`. For C#, follow the usage seen in the `ProcessRecordAsync` method. + +### Attributes +For processing the cmdlets, we've created some additional attributes: +- `Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.DescriptionAttribute` + - Used in C# cmdlets to provide a high-level description of the cmdlet. This is propagated to reference documentation via [help comments](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comment_based_help) in the exported scripts. +- `Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.DoNotExportAttribute` + - Used in C# and script cmdlets to suppress creating an exported cmdlet at build-time. These cmdlets will *not be exposed* by `Az.ResilienceManagement`. +- `Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.InternalExportAttribute` + - Used in C# cmdlets to route exported cmdlets to the `..\internal`, which are *not exposed* by `Az.ResilienceManagement`. For more information, see [README.md](..\internal/README.md) in the `..\internal` folder. +- `Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.ProfileAttribute` + - Used in C# and script cmdlets to define which Azure profiles the cmdlet supports. This is only supported for Azure (`--azure`) modules. \ No newline at end of file diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/README.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/README.md new file mode 100644 index 000000000000..911d5337dd07 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/README.md @@ -0,0 +1,11 @@ +# Docs +This directory contains the documentation of the cmdlets for the `Az.ResilienceManagement` module. To run documentation generation, use the `generate-help.ps1` script at the root module folder. Files in this folder will *always be overridden on regeneration*. To update documentation examples, please use the `..\examples` folder. + +## Info +- Modifiable: no +- Generated: all +- Committed: yes +- Packaged: yes + +## Details +The process of documentation generation loads `Az.ResilienceManagement` and analyzes the exported cmdlets from the module. It recognizes the [help comments](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comment_based_help) that are generated into the scripts in the `..\exports` folder. Additionally, when writing custom cmdlets in the `..\custom` folder, you can use the help comments syntax, which decorate the exported scripts at build-time. The documentation examples are taken from the `..\examples` folder. \ No newline at end of file diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Add-AzResilienceManagementDrillResource.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Add-AzResilienceManagementDrillResource.md new file mode 100644 index 000000000000..b057fe2262dc --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Add-AzResilienceManagementDrillResource.md @@ -0,0 +1,408 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/add-azresiliencemanagementdrillresource +schema: 2.0.0 +--- + +# Add-AzResilienceManagementDrillResource + +## SYNOPSIS +This enables the user to include, exclude or update resources from their Drill. + +## SYNTAX + +### AddExpanded (Default) +``` +Add-AzResilienceManagementDrillResource -DrillName -ServiceGroupName -OperationId + -FaultDurationInMin [-ForceInclusionAndUpdate ] [-ResourceListExcludeResource ] + [-ResourceListIncludeResource ] + [-ResourceListUpdateResource ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### Add +``` +Add-AzResilienceManagementDrillResource -DrillName -ServiceGroupName -OperationId + -Body [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +### AddViaIdentity +``` +Add-AzResilienceManagementDrillResource -InputObject -OperationId + -Body [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +### AddViaIdentityExpanded +``` +Add-AzResilienceManagementDrillResource -InputObject -OperationId + -FaultDurationInMin [-ForceInclusionAndUpdate ] [-ResourceListExcludeResource ] + [-ResourceListIncludeResource ] + [-ResourceListUpdateResource ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### AddViaIdentityServiceGroup +``` +Add-AzResilienceManagementDrillResource -DrillName + -ServiceGroupInputObject -OperationId + -Body [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +### AddViaIdentityServiceGroupExpanded +``` +Add-AzResilienceManagementDrillResource -DrillName + -ServiceGroupInputObject -OperationId -FaultDurationInMin + [-ForceInclusionAndUpdate ] [-ResourceListExcludeResource ] + [-ResourceListIncludeResource ] + [-ResourceListUpdateResource ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### AddViaJsonFilePath +``` +Add-AzResilienceManagementDrillResource -DrillName -ServiceGroupName -OperationId + -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### AddViaJsonString +``` +Add-AzResilienceManagementDrillResource -DrillName -ServiceGroupName -OperationId + -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +This enables the user to include, exclude or update resources from their Drill. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +Request body of the AddOrUpdateResources API. +To construct, see NOTES section for BODY properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IAddOrUpdateResourcesRequest +Parameter Sets: Add, AddViaIdentity, AddViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DrillName +The name of the Drill + +```yaml +Type: System.String +Parameter Sets: Add, AddExpanded, AddViaIdentityServiceGroup, AddViaIdentityServiceGroupExpanded, AddViaJsonFilePath, AddViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FaultDurationInMin +Duration of faults. + +```yaml +Type: System.Int32 +Parameter Sets: AddExpanded, AddViaIdentityExpanded, AddViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ForceInclusionAndUpdate +Whether to allow inclusion and update despite attention reasons. + +```yaml +Type: System.String +Parameter Sets: AddExpanded, AddViaIdentityExpanded, AddViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: AddViaIdentity, AddViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Add operation + +```yaml +Type: System.String +Parameter Sets: AddViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Add operation + +```yaml +Type: System.String +Parameter Sets: AddViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +A GUID that represents the Long Running OperationId. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceListExcludeResource +Excluded resource + +```yaml +Type: System.String[] +Parameter Sets: AddExpanded, AddViaIdentityExpanded, AddViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceListIncludeResource +Include resource +To construct, see NOTES section for RESOURCELISTINCLUDERESOURCE properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IIncludeOrUpdateResource[] +Parameter Sets: AddExpanded, AddViaIdentityExpanded, AddViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceListUpdateResource +Update resource +To construct, see NOTES section for RESOURCELISTUPDATERESOURCE properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IIncludeOrUpdateResource[] +Parameter Sets: AddExpanded, AddViaIdentityExpanded, AddViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: AddViaIdentityServiceGroup, AddViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Add, AddExpanded, AddViaJsonFilePath, AddViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IAddOrUpdateResourcesRequest + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Add-AzResilienceManagementDrillRunNote.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Add-AzResilienceManagementDrillRunNote.md new file mode 100644 index 000000000000..baa6cb7f99e3 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Add-AzResilienceManagementDrillRunNote.md @@ -0,0 +1,368 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/add-azresiliencemanagementdrillrunnote +schema: 2.0.0 +--- + +# Add-AzResilienceManagementDrillRunNote + +## SYNOPSIS +This enables the user to add notes on this Drill Run. + +## SYNTAX + +### AddExpanded (Default) +``` +Add-AzResilienceManagementDrillRunNote -DrillName -DrillRunName -ServiceGroupName + -OperationId [-Note ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### Add +``` +Add-AzResilienceManagementDrillRunNote -DrillName -DrillRunName -ServiceGroupName + -OperationId -Body [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### AddViaIdentity +``` +Add-AzResilienceManagementDrillRunNote -InputObject -OperationId + -Body [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### AddViaIdentityDrill +``` +Add-AzResilienceManagementDrillRunNote -DrillInputObject + -DrillRunName -OperationId -Body [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### AddViaIdentityDrillExpanded +``` +Add-AzResilienceManagementDrillRunNote -DrillInputObject + -DrillRunName -OperationId [-Note ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### AddViaIdentityExpanded +``` +Add-AzResilienceManagementDrillRunNote -InputObject -OperationId + [-Note ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### AddViaIdentityServiceGroup +``` +Add-AzResilienceManagementDrillRunNote -DrillName -DrillRunName + -ServiceGroupInputObject -OperationId + -Body [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### AddViaIdentityServiceGroupExpanded +``` +Add-AzResilienceManagementDrillRunNote -DrillName -DrillRunName + -ServiceGroupInputObject -OperationId [-Note ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### AddViaJsonFilePath +``` +Add-AzResilienceManagementDrillRunNote -DrillName -DrillRunName -ServiceGroupName + -OperationId -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### AddViaJsonString +``` +Add-AzResilienceManagementDrillRunNote -DrillName -DrillRunName -ServiceGroupName + -OperationId -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +This enables the user to add notes on this Drill Run. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +Request body for AddNotes API. +To construct, see NOTES section for BODY properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IDrillRunAddNotesRequest +Parameter Sets: Add, AddViaIdentity, AddViaIdentityDrill, AddViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DrillInputObject +Identity Parameter +To construct, see NOTES section for DRILLINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: AddViaIdentityDrill, AddViaIdentityDrillExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DrillName +The name of the Drill + +```yaml +Type: System.String +Parameter Sets: Add, AddExpanded, AddViaIdentityServiceGroup, AddViaIdentityServiceGroupExpanded, AddViaJsonFilePath, AddViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DrillRunName +The name of the DrillRun (GUID). + +```yaml +Type: System.String +Parameter Sets: Add, AddExpanded, AddViaIdentityDrill, AddViaIdentityDrillExpanded, AddViaIdentityServiceGroup, AddViaIdentityServiceGroupExpanded, AddViaJsonFilePath, AddViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: AddViaIdentity, AddViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Add operation + +```yaml +Type: System.String +Parameter Sets: AddViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Add operation + +```yaml +Type: System.String +Parameter Sets: AddViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Note +The notes string. + +```yaml +Type: System.String +Parameter Sets: AddExpanded, AddViaIdentityDrillExpanded, AddViaIdentityExpanded, AddViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +A GUID that represents the Long Running OperationId. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: AddViaIdentityServiceGroup, AddViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Add, AddExpanded, AddViaJsonFilePath, AddViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IDrillRunAddNotesRequest + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IDrillRunActionResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Az.ResilienceManagement.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Az.ResilienceManagement.md new file mode 100644 index 000000000000..ef0b45cf9d10 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Az.ResilienceManagement.md @@ -0,0 +1,228 @@ +--- +Module Name: Az.ResilienceManagement +Module Guid: 2e268496-8c82-49e6-9984-4457b9fab0ee +Download Help Link: https://learn.microsoft.com/powershell/module/az.resiliencemanagement +Help Version: 1.0.0.0 +Locale: en-US +--- + +# Az.ResilienceManagement Module +## Description +Microsoft Azure PowerShell: Resilience cmdlets + +## Az.ResilienceManagement Cmdlets +### [Add-AzResilienceManagementDrillResource](Add-AzResilienceManagementDrillResource.md) +This enables the user to include, exclude or update resources from their Drill. + +### [Add-AzResilienceManagementDrillRunNote](Add-AzResilienceManagementDrillRunNote.md) +This enables the user to add notes on this Drill Run. + +### [Get-AzResilienceManagementDrill](Get-AzResilienceManagementDrill.md) +Get a Drill + +### [Get-AzResilienceManagementDrillResource](Get-AzResilienceManagementDrillResource.md) +Get a DrillResource + +### [Get-AzResilienceManagementDrillRun](Get-AzResilienceManagementDrillRun.md) +Get a DrillRun + +### [Get-AzResilienceManagementDrillRunReportDownloadUrl](Get-AzResilienceManagementDrillRunReportDownloadUrl.md) +This returns a short-lived, read-only URL to download the report for this Drill Run. +The URL expires at the returned expiryTimestamp and grants access to that single report only. + +### [Get-AzResilienceManagementDrillRunResource](Get-AzResilienceManagementDrillRunResource.md) +Get a DrillRunResource + +### [Get-AzResilienceManagementEnrollment](Get-AzResilienceManagementEnrollment.md) +Get an Enrollment. + +### [Get-AzResilienceManagementGoalAssignment](Get-AzResilienceManagementGoalAssignment.md) +Get a GoalAssignment + +### [Get-AzResilienceManagementGoalResource](Get-AzResilienceManagementGoalResource.md) +Get a GoalResource + +### [Get-AzResilienceManagementGoalTemplate](Get-AzResilienceManagementGoalTemplate.md) +Get a GoalTemplate + +### [Get-AzResilienceManagementOperationStatus](Get-AzResilienceManagementOperationStatus.md) +Returns the current status of an async operation. + +### [Get-AzResilienceManagementRecoveryJob](Get-AzResilienceManagementRecoveryJob.md) +Get a RecoveryJob + +### [Get-AzResilienceManagementRecoveryJobResource](Get-AzResilienceManagementRecoveryJobResource.md) +Get a RecoveryJobResource + +### [Get-AzResilienceManagementRecoveryPlan](Get-AzResilienceManagementRecoveryPlan.md) +Get a RecoveryPlan + +### [Get-AzResilienceManagementRecoveryResource](Get-AzResilienceManagementRecoveryResource.md) +Get a RecoveryResource + +### [Get-AzResilienceManagementUnifiedResilienceItem](Get-AzResilienceManagementUnifiedResilienceItem.md) +Get a UnifiedResilienceItem + +### [Get-AzResilienceManagementUsagePlan](Get-AzResilienceManagementUsagePlan.md) +Get a UsagePlan + +### [Invoke-AzResilienceManagementFinalizeRecoveryPlanAction](Invoke-AzResilienceManagementFinalizeRecoveryPlanAction.md) +This action finalizes the recovery orchestration plan, ensuring all necessary configurations are in place. + +### [Invoke-AzResilienceManagementMarkDrillRunAsComplete](Invoke-AzResilienceManagementMarkDrillRunAsComplete.md) +This enables the user to mark this stage as complete, disabling further retries on it. + +### [Invoke-AzResilienceManagementRecommendGoalAssignmentCapacity](Invoke-AzResilienceManagementRecommendGoalAssignmentCapacity.md) +Recommends capacity improvements for resources under the goal assignments scope. +Returns AI-powered capacity assessments and recommendations. + +### [Invoke-AzResilienceManagementRetryRecoveryJob](Invoke-AzResilienceManagementRetryRecoveryJob.md) +This action retries the ongoing recovery orchestration job for resources that failed in previous attempts. + +### [New-AzResilienceManagementDrill](New-AzResilienceManagementDrill.md) +Create a Drill + +### [New-AzResilienceManagementDrillRunReport](New-AzResilienceManagementDrillRunReport.md) +This generates, or regenerates, the report for this Drill Run. +The action is idempotent and is safe to call at any time: a call that arrives while a generation is already running joins it, and a call made after a failed attempt retries it. +A report that has been finalized is never regenerated. + +### [New-AzResilienceManagementEnrollment](New-AzResilienceManagementEnrollment.md) +Create an Enrollment. + +### [New-AzResilienceManagementGoalAssignment](New-AzResilienceManagementGoalAssignment.md) +Create a GoalAssignment + +### [New-AzResilienceManagementGoalTemplate](New-AzResilienceManagementGoalTemplate.md) +Create a GoalTemplate + +### [New-AzResilienceManagementRecoveryPlan](New-AzResilienceManagementRecoveryPlan.md) +Create a RecoveryPlan + +### [New-AzResilienceManagementUsagePlan](New-AzResilienceManagementUsagePlan.md) +Create a UsagePlan + +### [Remove-AzResilienceManagementDrill](Remove-AzResilienceManagementDrill.md) +Delete a Drill + +### [Remove-AzResilienceManagementEnrollment](Remove-AzResilienceManagementEnrollment.md) +Delete an Enrollment. + +### [Remove-AzResilienceManagementGoalAssignment](Remove-AzResilienceManagementGoalAssignment.md) +Delete a GoalAssignment + +### [Remove-AzResilienceManagementGoalTemplate](Remove-AzResilienceManagementGoalTemplate.md) +Delete a GoalTemplate + +### [Remove-AzResilienceManagementRecoveryPlan](Remove-AzResilienceManagementRecoveryPlan.md) +Delete a RecoveryPlan + +### [Remove-AzResilienceManagementUsagePlan](Remove-AzResilienceManagementUsagePlan.md) +Delete a UsagePlan + +### [Resume-AzResilienceManagementDrillRun](Resume-AzResilienceManagementDrillRun.md) +This unblocks a Failover workflow that is paused after the Fault stage, to proceed to the Failover stage. + +### [Resume-AzResilienceManagementRecoveryJob](Resume-AzResilienceManagementRecoveryJob.md) +This action resumes the ongoing recovery orchestration job that was paused for required user intervention. + +### [Set-AzResilienceManagementEnrollment](Set-AzResilienceManagementEnrollment.md) +Create an Enrollment. + +### [Set-AzResilienceManagementGoalAssignment](Set-AzResilienceManagementGoalAssignment.md) +Create a GoalAssignment + +### [Set-AzResilienceManagementGoalTemplate](Set-AzResilienceManagementGoalTemplate.md) +Create a GoalTemplate + +### [Set-AzResilienceManagementRecoveryPlan](Set-AzResilienceManagementRecoveryPlan.md) +Create a RecoveryPlan + +### [Set-AzResilienceManagementUsagePlan](Set-AzResilienceManagementUsagePlan.md) +Create a UsagePlan + +### [Start-AzResilienceManagementDrill](Start-AzResilienceManagementDrill.md) +This starts a new running instance of the Drill. + +### [Start-AzResilienceManagementDrillRunFailover](Start-AzResilienceManagementDrillRunFailover.md) +This initiates a new Failover operation on this Drill Run. + +### [Start-AzResilienceManagementDrillRunReprotect](Start-AzResilienceManagementDrillRunReprotect.md) +This initiates a new Reprotect operation on this Drill Run. + +### [Start-AzResilienceManagementRecoveryPlanFailover](Start-AzResilienceManagementRecoveryPlanFailover.md) +This action triggers the failover operation on the recovery orchestration plan for the qualified resources. + +### [Start-AzResilienceManagementRecoveryPlanFailoverCommit](Start-AzResilienceManagementRecoveryPlanFailoverCommit.md) +This action triggers the failover commit operation on the recovery orchestration plan for the qualified resources. + +### [Start-AzResilienceManagementRecoveryPlanReprotect](Start-AzResilienceManagementRecoveryPlanReprotect.md) +This action triggers the reprotect operation on the recovery orchestration plan for the qualified resources. + +### [Start-AzResilienceManagementRecoveryPlanTestFailover](Start-AzResilienceManagementRecoveryPlanTestFailover.md) +This action triggers the test failover operation on the recovery orchestration plan for the qualified resources. + +### [Start-AzResilienceManagementRecoveryPlanTestFailoverCleanup](Start-AzResilienceManagementRecoveryPlanTestFailoverCleanup.md) +This action triggers the test failover cleanup operation on the recovery orchestration plan for the qualified resources. + +### [Stop-AzResilienceManagementDrill](Stop-AzResilienceManagementDrill.md) +This ends the currently running instance of the Drill. + +### [Stop-AzResilienceManagementRecoveryJob](Stop-AzResilienceManagementRecoveryJob.md) +This action attempts to cancel the ongoing recovery orchestration job. + +### [Test-AzResilienceManagementDrill](Test-AzResilienceManagementDrill.md) +This returns eligible resource to be faulted or failed over. + +### [Test-AzResilienceManagementDrillResyncReadiness](Test-AzResilienceManagementDrillResyncReadiness.md) +This triggers detection of any drifts from the desired state of Resources and RBAC. + +### [Test-AzResilienceManagementRecoveryPlanActionReadiness](Test-AzResilienceManagementRecoveryPlanActionReadiness.md) +This action performs the necessary readiness check on the recovery orchestration plan to ensure it is in the desired state and eligible for all recovery actions, including all protected resources. + +### [Test-AzResilienceManagementRecoveryPlanFailoverCommitValidation](Test-AzResilienceManagementRecoveryPlanFailoverCommitValidation.md) +This action checks if the recovery orchestration plan is eligible for failover commit operation, ensuring it meets the necessary criteria and provides a list of qualified and unqualified resources. + +### [Test-AzResilienceManagementRecoveryPlanFailoverValidation](Test-AzResilienceManagementRecoveryPlanFailoverValidation.md) +This action checks if the recovery orchestration plan is eligible for failover operation, ensuring it meets the necessary criteria and provides a list of qualified and unqualified resources. + +### [Test-AzResilienceManagementRecoveryPlanOperationValidation](Test-AzResilienceManagementRecoveryPlanOperationValidation.md) +This action checks if the recovery orchestration plan is eligible for operations like failover and reprotect, ensuring it meets the necessary criteria. + +### [Test-AzResilienceManagementRecoveryPlanReprotectValidation](Test-AzResilienceManagementRecoveryPlanReprotectValidation.md) +This action checks if the recovery orchestration plan is eligible for reprotect operation, ensuring it meets the necessary criteria and provides a list of qualified and unqualified resources. + +### [Test-AzResilienceManagementRecoveryPlanTestFailoverCleanupValidation](Test-AzResilienceManagementRecoveryPlanTestFailoverCleanupValidation.md) +This action checks if the recovery orchestration plan is eligible for test failover cleanup operation, ensuring it meets the necessary criteria and provides a list of qualified and unqualified resources. + +### [Test-AzResilienceManagementRecoveryPlanTestFailoverValidation](Test-AzResilienceManagementRecoveryPlanTestFailoverValidation.md) +This action checks if the recovery orchestration plan is eligible for test failover operation, ensuring it meets the necessary criteria and provides a list of qualified and unqualified resources. + +### [Update-AzResilienceManagementDrill](Update-AzResilienceManagementDrill.md) +Update a Drill + +### [Update-AzResilienceManagementDrillResource](Update-AzResilienceManagementDrillResource.md) +This enables the user to include, exclude or update resources from their Drill. + +### [Update-AzResilienceManagementEnrollment](Update-AzResilienceManagementEnrollment.md) +Create an Enrollment. + +### [Update-AzResilienceManagementGoalAssignment](Update-AzResilienceManagementGoalAssignment.md) +Update a GoalAssignment + +### [Update-AzResilienceManagementGoalAssignmentGoalResource](Update-AzResilienceManagementGoalAssignmentGoalResource.md) +Refreshes the goal resources under a goal assignment. +This operation scans for new resources under the scope of the assignment. + +### [Update-AzResilienceManagementGoalTemplate](Update-AzResilienceManagementGoalTemplate.md) +Update a GoalTemplate + +### [Update-AzResilienceManagementRecoveryPlan](Update-AzResilienceManagementRecoveryPlan.md) +Update a RecoveryPlan + +### [Update-AzResilienceManagementRecoveryPlanActionResource](Update-AzResilienceManagementRecoveryPlanActionResource.md) +This action adds or updates the resources to be included in the recovery orchestration plan. + +### [Update-AzResilienceManagementUsagePlan](Update-AzResilienceManagementUsagePlan.md) +Update a UsagePlan + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementDrill.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementDrill.md new file mode 100644 index 000000000000..781758f74faf --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementDrill.md @@ -0,0 +1,182 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementdrill +schema: 2.0.0 +--- + +# Get-AzResilienceManagementDrill + +## SYNOPSIS +Get a Drill + +## SYNTAX + +### List (Default) +``` +Get-AzResilienceManagementDrill -ServiceGroupName [-SkipToken ] [-Top ] + [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzResilienceManagementDrill -Name -ServiceGroupName [-DefaultProfile ] + [] +``` + +### GetViaIdentity +``` +Get-AzResilienceManagementDrill -InputObject [-DefaultProfile ] + [] +``` + +### GetViaIdentityServiceGroup +``` +Get-AzResilienceManagementDrill -Name -ServiceGroupInputObject + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Get a Drill + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the Drill + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityServiceGroup +Aliases: DrillName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkipToken +Skip over when retrieving results. + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Top +Number of elements to return when retrieving results. + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IDrill + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementDrillResource.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementDrillResource.md new file mode 100644 index 000000000000..f88a59746e1c --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementDrillResource.md @@ -0,0 +1,219 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementdrillresource +schema: 2.0.0 +--- + +# Get-AzResilienceManagementDrillResource + +## SYNOPSIS +Get a DrillResource + +## SYNTAX + +### List (Default) +``` +Get-AzResilienceManagementDrillResource -DrillName -ServiceGroupName [-SkipToken ] + [-Top ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzResilienceManagementDrillResource -DrillName -Name -ServiceGroupName + [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzResilienceManagementDrillResource -InputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityDrill +``` +Get-AzResilienceManagementDrillResource -DrillInputObject -Name + [-DefaultProfile ] [] +``` + +### GetViaIdentityServiceGroup +``` +Get-AzResilienceManagementDrillResource -DrillName -Name + -ServiceGroupInputObject [-DefaultProfile ] [] +``` + +## DESCRIPTION +Get a DrillResource + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DrillInputObject +Identity Parameter +To construct, see NOTES section for DRILLINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentityDrill +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DrillName +The name of the Drill + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityServiceGroup, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the DrillResource (GUID). + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityDrill, GetViaIdentityServiceGroup +Aliases: DrillResourceName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkipToken +Skip over when retrieving results. + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Top +Number of elements to return when retrieving results. + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IDrillResource + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementDrillRun.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementDrillRun.md new file mode 100644 index 000000000000..0fbfac2c5f93 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementDrillRun.md @@ -0,0 +1,189 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementdrillrun +schema: 2.0.0 +--- + +# Get-AzResilienceManagementDrillRun + +## SYNOPSIS +Get a DrillRun + +## SYNTAX + +### List (Default) +``` +Get-AzResilienceManagementDrillRun -DrillName -ServiceGroupName [-DefaultProfile ] + [] +``` + +### Get +``` +Get-AzResilienceManagementDrillRun -DrillName -Name -ServiceGroupName + [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzResilienceManagementDrillRun -InputObject [-DefaultProfile ] + [] +``` + +### GetViaIdentityDrill +``` +Get-AzResilienceManagementDrillRun -DrillInputObject -Name + [-DefaultProfile ] [] +``` + +### GetViaIdentityServiceGroup +``` +Get-AzResilienceManagementDrillRun -DrillName -Name + -ServiceGroupInputObject [-DefaultProfile ] [] +``` + +## DESCRIPTION +Get a DrillRun + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DrillInputObject +Identity Parameter +To construct, see NOTES section for DRILLINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentityDrill +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DrillName +The name of the Drill + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityServiceGroup, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the DrillRun (GUID). + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityDrill, GetViaIdentityServiceGroup +Aliases: DrillRunName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IDrillRun + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementDrillRunReportDownloadUrl.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementDrillRunReportDownloadUrl.md new file mode 100644 index 000000000000..9a94706e6551 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementDrillRunReportDownloadUrl.md @@ -0,0 +1,279 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementdrillrunreportdownloadurl +schema: 2.0.0 +--- + +# Get-AzResilienceManagementDrillRunReportDownloadUrl + +## SYNOPSIS +This returns a short-lived, read-only URL to download the report for this Drill Run. +The URL expires at the returned expiryTimestamp and grants access to that single report only. + +## SYNTAX + +### ListExpanded (Default) +``` +Get-AzResilienceManagementDrillRunReportDownloadUrl -DrillName -DrillRunName + -ServiceGroupName -OperationId [-Format ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### List +``` +Get-AzResilienceManagementDrillRunReportDownloadUrl -DrillName -DrillRunName + -ServiceGroupName -OperationId -Body + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ListViaJsonFilePath +``` +Get-AzResilienceManagementDrillRunReportDownloadUrl -DrillName -DrillRunName + -ServiceGroupName -OperationId -JsonFilePath [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ListViaJsonString +``` +Get-AzResilienceManagementDrillRunReportDownloadUrl -DrillName -DrillRunName + -ServiceGroupName -OperationId -JsonString [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +This returns a short-lived, read-only URL to download the report for this Drill Run. +The URL expires at the returned expiryTimestamp and grants access to that single report only. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +Request to mint a short-lived, read-only download URL for a Drill Run report. +To construct, see NOTES section for BODY properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IListReportDownloadUrlRequest +Parameter Sets: List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DrillName +The name of the Drill + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DrillRunName +The name of the DrillRun (GUID). + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Format +Format of the report to download. +Defaults to Html when not specified. + +```yaml +Type: System.String +Parameter Sets: ListExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the List operation + +```yaml +Type: System.String +Parameter Sets: ListViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the List operation + +```yaml +Type: System.String +Parameter Sets: ListViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +A GUID that represents the Long Running OperationId. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IListReportDownloadUrlRequest + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IListReportDownloadUrlResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementDrillRunResource.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementDrillRunResource.md new file mode 100644 index 000000000000..e8bb3596bbb2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementDrillRunResource.md @@ -0,0 +1,226 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementdrillrunresource +schema: 2.0.0 +--- + +# Get-AzResilienceManagementDrillRunResource + +## SYNOPSIS +Get a DrillRunResource + +## SYNTAX + +### List (Default) +``` +Get-AzResilienceManagementDrillRunResource -DrillName -DrillRunName + -ServiceGroupName [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzResilienceManagementDrillRunResource -DrillName -DrillRunName -Name + -ServiceGroupName [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzResilienceManagementDrillRunResource -InputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityDrill +``` +Get-AzResilienceManagementDrillRunResource -DrillInputObject + -DrillRunName -Name [-DefaultProfile ] [] +``` + +### GetViaIdentityDrillRun +``` +Get-AzResilienceManagementDrillRunResource -DrillRunInputObject -Name + [-DefaultProfile ] [] +``` + +### GetViaIdentityServiceGroup +``` +Get-AzResilienceManagementDrillRunResource -DrillName -DrillRunName -Name + -ServiceGroupInputObject [-DefaultProfile ] [] +``` + +## DESCRIPTION +Get a DrillRunResource + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DrillInputObject +Identity Parameter +To construct, see NOTES section for DRILLINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentityDrill +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DrillName +The name of the Drill + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityServiceGroup, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DrillRunInputObject +Identity Parameter +To construct, see NOTES section for DRILLRUNINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentityDrillRun +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DrillRunName +The name of the DrillRun (GUID). + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityDrill, GetViaIdentityServiceGroup, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The unique name (GUID) of the recovery job resource. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityDrill, GetViaIdentityDrillRun, GetViaIdentityServiceGroup +Aliases: DrillRunResourceName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IDrillRunResource + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementEnrollment.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementEnrollment.md new file mode 100644 index 000000000000..2fcfcccf8f32 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementEnrollment.md @@ -0,0 +1,184 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementenrollment +schema: 2.0.0 +--- + +# Get-AzResilienceManagementEnrollment + +## SYNOPSIS +Get an Enrollment. + +## SYNTAX + +### List (Default) +``` +Get-AzResilienceManagementEnrollment -ResourceGroupName -UsagePlanName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzResilienceManagementEnrollment -Name -ResourceGroupName -UsagePlanName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzResilienceManagementEnrollment -InputObject [-DefaultProfile ] + [] +``` + +### GetViaIdentityUsagePlan +``` +Get-AzResilienceManagementEnrollment -Name -UsagePlanInputObject + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Get an Enrollment. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the enrollment. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityUsagePlan +Aliases: EnrollmentName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UsagePlanInputObject +Identity Parameter +To construct, see NOTES section for USAGEPLANINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentityUsagePlan +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -UsagePlanName +The name of the usage plan. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IEnrollment + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementGoalAssignment.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementGoalAssignment.md new file mode 100644 index 000000000000..008d1b8b2106 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementGoalAssignment.md @@ -0,0 +1,182 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementgoalassignment +schema: 2.0.0 +--- + +# Get-AzResilienceManagementGoalAssignment + +## SYNOPSIS +Get a GoalAssignment + +## SYNTAX + +### List (Default) +``` +Get-AzResilienceManagementGoalAssignment -ServiceGroupName [-SkipToken ] [-Top ] + [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzResilienceManagementGoalAssignment -Name -ServiceGroupName + [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzResilienceManagementGoalAssignment -InputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityServiceGroup +``` +Get-AzResilienceManagementGoalAssignment -Name + -ServiceGroupInputObject [-DefaultProfile ] [] +``` + +## DESCRIPTION +Get a GoalAssignment + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the GoalAssignment + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityServiceGroup +Aliases: GoalAssignmentName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkipToken +Skip over when retrieving results. + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Top +Number of elements to return when retrieving results. + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IGoalAssignment + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementGoalResource.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementGoalResource.md new file mode 100644 index 000000000000..44fb94020ce1 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementGoalResource.md @@ -0,0 +1,219 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementgoalresource +schema: 2.0.0 +--- + +# Get-AzResilienceManagementGoalResource + +## SYNOPSIS +Get a GoalResource + +## SYNTAX + +### List (Default) +``` +Get-AzResilienceManagementGoalResource -GoalAssignmentName -ServiceGroupName + [-SkipToken ] [-Top ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzResilienceManagementGoalResource -GoalAssignmentName -Name -ServiceGroupName + [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzResilienceManagementGoalResource -InputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityGoalAssignment +``` +Get-AzResilienceManagementGoalResource -GoalAssignmentInputObject + -Name [-DefaultProfile ] [] +``` + +### GetViaIdentityServiceGroup +``` +Get-AzResilienceManagementGoalResource -GoalAssignmentName -Name + -ServiceGroupInputObject [-DefaultProfile ] [] +``` + +## DESCRIPTION +Get a GoalResource + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GoalAssignmentInputObject +Identity Parameter +To construct, see NOTES section for GOALASSIGNMENTINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentityGoalAssignment +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -GoalAssignmentName +The name of the GoalAssignment + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityServiceGroup, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the GoalAssignment + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityGoalAssignment, GetViaIdentityServiceGroup +Aliases: GoalResourceName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkipToken +Skip over when retrieving results. + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Top +Number of elements to return when retrieving results. + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IGoalResource + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementGoalTemplate.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementGoalTemplate.md new file mode 100644 index 000000000000..e414a04c2b1e --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementGoalTemplate.md @@ -0,0 +1,182 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementgoaltemplate +schema: 2.0.0 +--- + +# Get-AzResilienceManagementGoalTemplate + +## SYNOPSIS +Get a GoalTemplate + +## SYNTAX + +### List (Default) +``` +Get-AzResilienceManagementGoalTemplate -ServiceGroupName [-SkipToken ] [-Top ] + [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzResilienceManagementGoalTemplate -Name -ServiceGroupName [-DefaultProfile ] + [] +``` + +### GetViaIdentity +``` +Get-AzResilienceManagementGoalTemplate -InputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityServiceGroup +``` +Get-AzResilienceManagementGoalTemplate -Name -ServiceGroupInputObject + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Get a GoalTemplate + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the goalTemplate + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityServiceGroup +Aliases: GoalTemplateName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkipToken +Skip over when retrieving results. + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Top +Number of elements to return when retrieving results. + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IGoalTemplate + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementOperationStatus.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementOperationStatus.md new file mode 100644 index 000000000000..60e22b715ea8 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementOperationStatus.md @@ -0,0 +1,146 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementoperationstatus +schema: 2.0.0 +--- + +# Get-AzResilienceManagementOperationStatus + +## SYNOPSIS +Returns the current status of an async operation. + +## SYNTAX + +### Get (Default) +``` +Get-AzResilienceManagementOperationStatus -Location -OperationId + [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzResilienceManagementOperationStatus -InputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityLocation +``` +Get-AzResilienceManagementOperationStatus -LocationInputObject + -OperationId [-DefaultProfile ] [] +``` + +## DESCRIPTION +Returns the current status of an async operation. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Location +The name of the Azure region. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocationInputObject +Identity Parameter +To construct, see NOTES section for LOCATIONINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentityLocation +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -OperationId +The ID of an ongoing async operation. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityLocation +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IOperationStatusResult + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementRecoveryJob.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementRecoveryJob.md new file mode 100644 index 000000000000..110a6bcfe9cc --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementRecoveryJob.md @@ -0,0 +1,189 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementrecoveryjob +schema: 2.0.0 +--- + +# Get-AzResilienceManagementRecoveryJob + +## SYNOPSIS +Get a RecoveryJob + +## SYNTAX + +### List (Default) +``` +Get-AzResilienceManagementRecoveryJob -RecoveryPlanName -ServiceGroupName + [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzResilienceManagementRecoveryJob -Name -RecoveryPlanName -ServiceGroupName + [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzResilienceManagementRecoveryJob -InputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityRecoveryPlan +``` +Get-AzResilienceManagementRecoveryJob -Name -RecoveryPlanInputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityServiceGroup +``` +Get-AzResilienceManagementRecoveryJob -Name -RecoveryPlanName + -ServiceGroupInputObject [-DefaultProfile ] [] +``` + +## DESCRIPTION +Get a RecoveryJob + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The unique name (GUID) of the recovery job. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityRecoveryPlan, GetViaIdentityServiceGroup +Aliases: RecoveryJobName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecoveryPlanInputObject +Identity Parameter +To construct, see NOTES section for RECOVERYPLANINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentityRecoveryPlan +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -RecoveryPlanName +The name of the recovery orchestration plan. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityServiceGroup, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRecoveryJob + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementRecoveryJobResource.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementRecoveryJobResource.md new file mode 100644 index 000000000000..dd232da368b0 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementRecoveryJobResource.md @@ -0,0 +1,227 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementrecoveryjobresource +schema: 2.0.0 +--- + +# Get-AzResilienceManagementRecoveryJobResource + +## SYNOPSIS +Get a RecoveryJobResource + +## SYNTAX + +### List (Default) +``` +Get-AzResilienceManagementRecoveryJobResource -RecoveryJobName -RecoveryPlanName + -ServiceGroupName [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzResilienceManagementRecoveryJobResource -Name -RecoveryJobName + -RecoveryPlanName -ServiceGroupName [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzResilienceManagementRecoveryJobResource -InputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityRecoveryJob +``` +Get-AzResilienceManagementRecoveryJobResource -Name + -RecoveryJobInputObject [-DefaultProfile ] [] +``` + +### GetViaIdentityRecoveryPlan +``` +Get-AzResilienceManagementRecoveryJobResource -Name -RecoveryJobName + -RecoveryPlanInputObject [-DefaultProfile ] [] +``` + +### GetViaIdentityServiceGroup +``` +Get-AzResilienceManagementRecoveryJobResource -Name -RecoveryJobName + -RecoveryPlanName -ServiceGroupInputObject + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Get a RecoveryJobResource + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The unique name (GUID) of the recovery job resource. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityRecoveryJob, GetViaIdentityRecoveryPlan, GetViaIdentityServiceGroup +Aliases: RecoveryJobResourceName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecoveryJobInputObject +Identity Parameter +To construct, see NOTES section for RECOVERYJOBINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentityRecoveryJob +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -RecoveryJobName +The unique name (GUID) of the recovery job. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityRecoveryPlan, GetViaIdentityServiceGroup, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecoveryPlanInputObject +Identity Parameter +To construct, see NOTES section for RECOVERYPLANINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentityRecoveryPlan +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -RecoveryPlanName +The name of the recovery orchestration plan. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityServiceGroup, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRecoveryJobResource + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementRecoveryPlan.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementRecoveryPlan.md new file mode 100644 index 000000000000..4a7dafed12a9 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementRecoveryPlan.md @@ -0,0 +1,182 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementrecoveryplan +schema: 2.0.0 +--- + +# Get-AzResilienceManagementRecoveryPlan + +## SYNOPSIS +Get a RecoveryPlan + +## SYNTAX + +### List (Default) +``` +Get-AzResilienceManagementRecoveryPlan -ServiceGroupName [-SkipToken ] [-Top ] + [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzResilienceManagementRecoveryPlan -Name -ServiceGroupName [-DefaultProfile ] + [] +``` + +### GetViaIdentity +``` +Get-AzResilienceManagementRecoveryPlan -InputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityServiceGroup +``` +Get-AzResilienceManagementRecoveryPlan -Name -ServiceGroupInputObject + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Get a RecoveryPlan + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the recovery orchestration plan. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityServiceGroup +Aliases: RecoveryPlanName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkipToken +Skip over when retrieving results. + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Top +Number of elements to return when retrieving results. + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRecoveryPlan + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementRecoveryResource.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementRecoveryResource.md new file mode 100644 index 000000000000..ff029ac6ef20 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementRecoveryResource.md @@ -0,0 +1,189 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementrecoveryresource +schema: 2.0.0 +--- + +# Get-AzResilienceManagementRecoveryResource + +## SYNOPSIS +Get a RecoveryResource + +## SYNTAX + +### List (Default) +``` +Get-AzResilienceManagementRecoveryResource -RecoveryPlanName -ServiceGroupName + [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzResilienceManagementRecoveryResource -Name -RecoveryPlanName + -ServiceGroupName [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzResilienceManagementRecoveryResource -InputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityRecoveryPlan +``` +Get-AzResilienceManagementRecoveryResource -Name + -RecoveryPlanInputObject [-DefaultProfile ] [] +``` + +### GetViaIdentityServiceGroup +``` +Get-AzResilienceManagementRecoveryResource -Name -RecoveryPlanName + -ServiceGroupInputObject [-DefaultProfile ] [] +``` + +## DESCRIPTION +Get a RecoveryResource + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The unique name (Guid) of the recovery resource + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityRecoveryPlan, GetViaIdentityServiceGroup +Aliases: RecoveryResourceName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecoveryPlanInputObject +Identity Parameter +To construct, see NOTES section for RECOVERYPLANINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentityRecoveryPlan +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -RecoveryPlanName +The name of the recovery orchestration plan. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityServiceGroup, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRecoveryResource + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementUnifiedResilienceItem.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementUnifiedResilienceItem.md new file mode 100644 index 000000000000..272e82ed843c --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementUnifiedResilienceItem.md @@ -0,0 +1,182 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementunifiedresilienceitem +schema: 2.0.0 +--- + +# Get-AzResilienceManagementUnifiedResilienceItem + +## SYNOPSIS +Get a UnifiedResilienceItem + +## SYNTAX + +### List (Default) +``` +Get-AzResilienceManagementUnifiedResilienceItem -ServiceGroupName [-SkipToken ] + [-Top ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzResilienceManagementUnifiedResilienceItem -Name -ServiceGroupName + [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzResilienceManagementUnifiedResilienceItem -InputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityServiceGroup +``` +Get-AzResilienceManagementUnifiedResilienceItem -Name + -ServiceGroupInputObject [-DefaultProfile ] [] +``` + +## DESCRIPTION +Get a UnifiedResilienceItem + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the unified resilience item. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityServiceGroup +Aliases: UnifiedResilienceItemName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkipToken +Skip over when retrieving results. + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Top +Number of elements to return when retrieving results. + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IUnifiedResilienceItem + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementUsagePlan.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementUsagePlan.md new file mode 100644 index 000000000000..60705b5e5409 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Get-AzResilienceManagementUsagePlan.md @@ -0,0 +1,153 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/get-azresiliencemanagementusageplan +schema: 2.0.0 +--- + +# Get-AzResilienceManagementUsagePlan + +## SYNOPSIS +Get a UsagePlan + +## SYNTAX + +### List (Default) +``` +Get-AzResilienceManagementUsagePlan [-SubscriptionId ] [-DefaultProfile ] + [] +``` + +### Get +``` +Get-AzResilienceManagementUsagePlan -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzResilienceManagementUsagePlan -InputObject [-DefaultProfile ] + [] +``` + +### ListByResourceGroup +``` +Get-AzResilienceManagementUsagePlan -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Get a UsagePlan + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the usage plan. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: UsagePlanName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, ListByResourceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List, ListByResourceGroup +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IUsagePlan + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Invoke-AzResilienceManagementFinalizeRecoveryPlanAction.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Invoke-AzResilienceManagementFinalizeRecoveryPlanAction.md new file mode 100644 index 000000000000..a227ea2cc312 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Invoke-AzResilienceManagementFinalizeRecoveryPlanAction.md @@ -0,0 +1,225 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/invoke-azresiliencemanagementfinalizerecoveryplanaction +schema: 2.0.0 +--- + +# Invoke-AzResilienceManagementFinalizeRecoveryPlanAction + +## SYNOPSIS +This action finalizes the recovery orchestration plan, ensuring all necessary configurations are in place. + +## SYNTAX + +### Finalize (Default) +``` +Invoke-AzResilienceManagementFinalizeRecoveryPlanAction -RecoveryPlanName -ServiceGroupName + -OperationId [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### FinalizeViaIdentity +``` +Invoke-AzResilienceManagementFinalizeRecoveryPlanAction -InputObject + -OperationId [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### FinalizeViaIdentityServiceGroup +``` +Invoke-AzResilienceManagementFinalizeRecoveryPlanAction -RecoveryPlanName + -ServiceGroupInputObject -OperationId [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +This action finalizes the recovery orchestration plan, ensuring all necessary configurations are in place. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: FinalizeViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +A GUID that represents the Long Running OperationId. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecoveryPlanName +The name of the recovery orchestration plan. + +```yaml +Type: System.String +Parameter Sets: Finalize, FinalizeViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: FinalizeViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Finalize +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IErrorResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Invoke-AzResilienceManagementMarkDrillRunAsComplete.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Invoke-AzResilienceManagementMarkDrillRunAsComplete.md new file mode 100644 index 000000000000..4f2b0be61423 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Invoke-AzResilienceManagementMarkDrillRunAsComplete.md @@ -0,0 +1,368 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/invoke-azresiliencemanagementmarkdrillrunascomplete +schema: 2.0.0 +--- + +# Invoke-AzResilienceManagementMarkDrillRunAsComplete + +## SYNOPSIS +This enables the user to mark this stage as complete, disabling further retries on it. + +## SYNTAX + +### MarkExpanded (Default) +``` +Invoke-AzResilienceManagementMarkDrillRunAsComplete -DrillName -DrillRunName + -ServiceGroupName -OperationId -DrillRunStage [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### Mark +``` +Invoke-AzResilienceManagementMarkDrillRunAsComplete -DrillName -DrillRunName + -ServiceGroupName -OperationId -Body [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### MarkViaIdentity +``` +Invoke-AzResilienceManagementMarkDrillRunAsComplete -InputObject + -OperationId -Body [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### MarkViaIdentityDrill +``` +Invoke-AzResilienceManagementMarkDrillRunAsComplete -DrillInputObject + -DrillRunName -OperationId -Body [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### MarkViaIdentityDrillExpanded +``` +Invoke-AzResilienceManagementMarkDrillRunAsComplete -DrillInputObject + -DrillRunName -OperationId -DrillRunStage [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### MarkViaIdentityExpanded +``` +Invoke-AzResilienceManagementMarkDrillRunAsComplete -InputObject + -OperationId -DrillRunStage [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### MarkViaIdentityServiceGroup +``` +Invoke-AzResilienceManagementMarkDrillRunAsComplete -DrillName -DrillRunName + -ServiceGroupInputObject -OperationId -Body + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### MarkViaIdentityServiceGroupExpanded +``` +Invoke-AzResilienceManagementMarkDrillRunAsComplete -DrillName -DrillRunName + -ServiceGroupInputObject -OperationId -DrillRunStage + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### MarkViaJsonFilePath +``` +Invoke-AzResilienceManagementMarkDrillRunAsComplete -DrillName -DrillRunName + -ServiceGroupName -OperationId -JsonFilePath [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### MarkViaJsonString +``` +Invoke-AzResilienceManagementMarkDrillRunAsComplete -DrillName -DrillRunName + -ServiceGroupName -OperationId -JsonString [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +This enables the user to mark this stage as complete, disabling further retries on it. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +Request body for MarkAsComplete API. +To construct, see NOTES section for BODY properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IMarkAsCompleteRequest +Parameter Sets: Mark, MarkViaIdentity, MarkViaIdentityDrill, MarkViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DrillInputObject +Identity Parameter +To construct, see NOTES section for DRILLINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: MarkViaIdentityDrill, MarkViaIdentityDrillExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DrillName +The name of the Drill + +```yaml +Type: System.String +Parameter Sets: Mark, MarkExpanded, MarkViaIdentityServiceGroup, MarkViaIdentityServiceGroupExpanded, MarkViaJsonFilePath, MarkViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DrillRunName +The name of the DrillRun (GUID). + +```yaml +Type: System.String +Parameter Sets: Mark, MarkExpanded, MarkViaIdentityDrill, MarkViaIdentityDrillExpanded, MarkViaIdentityServiceGroup, MarkViaIdentityServiceGroupExpanded, MarkViaJsonFilePath, MarkViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DrillRunStage +State of the Drill Run. + +```yaml +Type: System.String +Parameter Sets: MarkExpanded, MarkViaIdentityDrillExpanded, MarkViaIdentityExpanded, MarkViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: MarkViaIdentity, MarkViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Mark operation + +```yaml +Type: System.String +Parameter Sets: MarkViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Mark operation + +```yaml +Type: System.String +Parameter Sets: MarkViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +A GUID that represents the Long Running OperationId. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: MarkViaIdentityServiceGroup, MarkViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Mark, MarkExpanded, MarkViaJsonFilePath, MarkViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IMarkAsCompleteRequest + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IMarkAsCompleteResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Invoke-AzResilienceManagementRecommendGoalAssignmentCapacity.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Invoke-AzResilienceManagementRecommendGoalAssignmentCapacity.md new file mode 100644 index 000000000000..180ca106a12c --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Invoke-AzResilienceManagementRecommendGoalAssignmentCapacity.md @@ -0,0 +1,313 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/invoke-azresiliencemanagementrecommendgoalassignmentcapacity +schema: 2.0.0 +--- + +# Invoke-AzResilienceManagementRecommendGoalAssignmentCapacity + +## SYNOPSIS +Recommends capacity improvements for resources under the goal assignments scope. +Returns AI-powered capacity assessments and recommendations. + +## SYNTAX + +### RecommendExpanded (Default) +``` +Invoke-AzResilienceManagementRecommendGoalAssignmentCapacity -GoalAssignmentName + -ServiceGroupName -ResourceId [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### Recommend +``` +Invoke-AzResilienceManagementRecommendGoalAssignmentCapacity -GoalAssignmentName + -ServiceGroupName -Body [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### RecommendViaIdentity +``` +Invoke-AzResilienceManagementRecommendGoalAssignmentCapacity -InputObject + -Body [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### RecommendViaIdentityExpanded +``` +Invoke-AzResilienceManagementRecommendGoalAssignmentCapacity -InputObject + -ResourceId [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### RecommendViaIdentityServiceGroup +``` +Invoke-AzResilienceManagementRecommendGoalAssignmentCapacity -GoalAssignmentName + -ServiceGroupInputObject -Body + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### RecommendViaIdentityServiceGroupExpanded +``` +Invoke-AzResilienceManagementRecommendGoalAssignmentCapacity -GoalAssignmentName + -ServiceGroupInputObject -ResourceId [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### RecommendViaJsonFilePath +``` +Invoke-AzResilienceManagementRecommendGoalAssignmentCapacity -GoalAssignmentName + -ServiceGroupName -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### RecommendViaJsonString +``` +Invoke-AzResilienceManagementRecommendGoalAssignmentCapacity -GoalAssignmentName + -ServiceGroupName -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Recommends capacity improvements for resources under the goal assignments scope. +Returns AI-powered capacity assessments and recommendations. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +Request body for the recommend capacity action. +Provide specific resource IDs to evaluate, or pass an empty array to let the service automatically select non-resilient resources from the goal assignment. +To construct, see NOTES section for BODY properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRecommendCapacityRequest +Parameter Sets: Recommend, RecommendViaIdentity, RecommendViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GoalAssignmentName +The name of the GoalAssignment + +```yaml +Type: System.String +Parameter Sets: Recommend, RecommendExpanded, RecommendViaIdentityServiceGroup, RecommendViaIdentityServiceGroupExpanded, RecommendViaJsonFilePath, RecommendViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: RecommendViaIdentity, RecommendViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Recommend operation + +```yaml +Type: System.String +Parameter Sets: RecommendViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Recommend operation + +```yaml +Type: System.String +Parameter Sets: RecommendViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceId +Azure resource IDs to evaluate for resiliency. +Pass an empty array to automatically discover and evaluate non-resilient resources in the service group. +Maximum 50 resources per request. + +```yaml +Type: System.String[] +Parameter Sets: RecommendExpanded, RecommendViaIdentityExpanded, RecommendViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: RecommendViaIdentityServiceGroup, RecommendViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Recommend, RecommendExpanded, RecommendViaJsonFilePath, RecommendViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRecommendCapacityRequest + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRecommendCapacityResult + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Invoke-AzResilienceManagementRetryRecoveryJob.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Invoke-AzResilienceManagementRetryRecoveryJob.md new file mode 100644 index 000000000000..b77244e5d0f0 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Invoke-AzResilienceManagementRetryRecoveryJob.md @@ -0,0 +1,263 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/invoke-azresiliencemanagementretryrecoveryjob +schema: 2.0.0 +--- + +# Invoke-AzResilienceManagementRetryRecoveryJob + +## SYNOPSIS +This action retries the ongoing recovery orchestration job for resources that failed in previous attempts. + +## SYNTAX + +### Retry (Default) +``` +Invoke-AzResilienceManagementRetryRecoveryJob -RecoveryJobName -RecoveryPlanName + -ServiceGroupName -OperationId [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### RetryViaIdentity +``` +Invoke-AzResilienceManagementRetryRecoveryJob -InputObject + -OperationId [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### RetryViaIdentityRecoveryPlan +``` +Invoke-AzResilienceManagementRetryRecoveryJob -RecoveryJobName + -RecoveryPlanInputObject -OperationId [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### RetryViaIdentityServiceGroup +``` +Invoke-AzResilienceManagementRetryRecoveryJob -RecoveryJobName -RecoveryPlanName + -ServiceGroupInputObject -OperationId [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +This action retries the ongoing recovery orchestration job for resources that failed in previous attempts. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: RetryViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +A GUID that represents the Long Running OperationId. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecoveryJobName +The unique name (GUID) of the recovery job. + +```yaml +Type: System.String +Parameter Sets: Retry, RetryViaIdentityRecoveryPlan, RetryViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecoveryPlanInputObject +Identity Parameter +To construct, see NOTES section for RECOVERYPLANINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: RetryViaIdentityRecoveryPlan +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -RecoveryPlanName +The name of the recovery orchestration plan. + +```yaml +Type: System.String +Parameter Sets: Retry, RetryViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: RetryViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Retry +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IErrorResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/New-AzResilienceManagementDrill.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/New-AzResilienceManagementDrill.md new file mode 100644 index 000000000000..c2a6b1a92616 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/New-AzResilienceManagementDrill.md @@ -0,0 +1,574 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/new-azresiliencemanagementdrill +schema: 2.0.0 +--- + +# New-AzResilienceManagementDrill + +## SYNOPSIS +Create a Drill + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzResilienceManagementDrill -Name -ServiceGroupName + [-ChaosResourceIdentityForFaultType ] [-ChaosResourceIdentityForFaultUserAssignedIdentity ] + [-ChaosResourcePropertiesIdentityType ] + [-ChaosResourcePropertiesIdentityUserAssignedIdentity ] [-DrillAssetPropertyRegion ] + [-DrillAssetPropertyResourceGroup ] [-DrillAssetPropertySubscription ] [-DrillType ] + [-HealthModelMonitoringPropertiesIdentityType ] + [-HealthModelMonitoringPropertiesIdentityUserAssignedIdentity ] + [-HealthModelMonitoringPropertyDiscoveryRuleId ] [-IdentityType ] + [-IdentityUserAssignedIdentity ] [-MonitoringPropertiesIdentityType ] + [-MonitoringPropertiesIdentityUserAssignedIdentity ] [-RbacSetupMode ] + [-RecoveryPlanPropertiesIdentityType ] [-RecoveryPlanPropertiesIdentityUserAssignedIdentity ] + [-SliMonitoringPropertiesIdentityType ] + [-SliMonitoringPropertiesIdentityUserAssignedIdentity ] [-SliMonitoringPropertySli ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentityServiceGroupExpanded +``` +New-AzResilienceManagementDrill -Name -ServiceGroupInputObject + [-ChaosResourceIdentityForFaultType ] [-ChaosResourceIdentityForFaultUserAssignedIdentity ] + [-ChaosResourcePropertiesIdentityType ] + [-ChaosResourcePropertiesIdentityUserAssignedIdentity ] [-DrillAssetPropertyRegion ] + [-DrillAssetPropertyResourceGroup ] [-DrillAssetPropertySubscription ] [-DrillType ] + [-HealthModelMonitoringPropertiesIdentityType ] + [-HealthModelMonitoringPropertiesIdentityUserAssignedIdentity ] + [-HealthModelMonitoringPropertyDiscoveryRuleId ] [-IdentityType ] + [-IdentityUserAssignedIdentity ] [-MonitoringPropertiesIdentityType ] + [-MonitoringPropertiesIdentityUserAssignedIdentity ] [-RbacSetupMode ] + [-RecoveryPlanPropertiesIdentityType ] [-RecoveryPlanPropertiesIdentityUserAssignedIdentity ] + [-SliMonitoringPropertiesIdentityType ] + [-SliMonitoringPropertiesIdentityUserAssignedIdentity ] [-SliMonitoringPropertySli ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonFilePath +``` +New-AzResilienceManagementDrill -Name -ServiceGroupName -JsonFilePath + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzResilienceManagementDrill -Name -ServiceGroupName -JsonString + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Create a Drill + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ChaosResourceIdentityForFaultType +Identity type linked with the resource + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ChaosResourceIdentityForFaultUserAssignedIdentity +User assigned identity id linked with the resource + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ChaosResourcePropertiesIdentityType +Identity type linked with the resource + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ChaosResourcePropertiesIdentityUserAssignedIdentity +User assigned identity id linked with the resource + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DrillAssetPropertyRegion +Region where Drill's internal resources will be created. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DrillAssetPropertyResourceGroup +Resource group where Drill's internal resources will be created. +If not specified, defaults to 'AzureResilienceManagementDrills'. +This value is immutable after drill creation. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DrillAssetPropertySubscription +Subscription where Drill's internal resources will be created. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DrillType +The discriminator for the Drill object hierarchy. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HealthModelMonitoringPropertiesIdentityType +Identity type linked with the resource + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HealthModelMonitoringPropertiesIdentityUserAssignedIdentity +User assigned identity id linked with the resource + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HealthModelMonitoringPropertyDiscoveryRuleId +Full ARM Id of the discovery rule inside the Azure Health Model. +The parent Health Model is derived from this Id; it is the only identifier accepted on the wire. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityType +Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityUserAssignedIdentity +The set of user assigned identities associated with the resource. +The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. +The dictionary values can be empty objects ({}) in requests. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MonitoringPropertiesIdentityType +Identity type linked with the resource + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MonitoringPropertiesIdentityUserAssignedIdentity +User assigned identity id linked with the resource + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the Drill + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: DrillName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RbacSetupMode +RBAC setup mode. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecoveryPlanPropertiesIdentityType +Identity type linked with the resource + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecoveryPlanPropertiesIdentityUserAssignedIdentity +User assigned identity id linked with the resource + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SliMonitoringPropertiesIdentityType +Identity type linked with the resource + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SliMonitoringPropertiesIdentityUserAssignedIdentity +User assigned identity id linked with the resource + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SliMonitoringPropertySli +The SLIs selected for Drill monitoring. +Maximum of two entries: at most one Availability and one Latency. +Duplicate types or duplicate SLI Ids are rejected. +To construct, see NOTES section for SLIMONITORINGPROPERTYSLI properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.ISliSelection[] +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IDrill + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/New-AzResilienceManagementDrillRunReport.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/New-AzResilienceManagementDrillRunReport.md new file mode 100644 index 000000000000..2ddab7eae6d1 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/New-AzResilienceManagementDrillRunReport.md @@ -0,0 +1,266 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/new-azresiliencemanagementdrillrunreport +schema: 2.0.0 +--- + +# New-AzResilienceManagementDrillRunReport + +## SYNOPSIS +This generates, or regenerates, the report for this Drill Run. +The action is idempotent and is safe to call at any time: a call that arrives while a generation is already running joins it, and a call made after a failed attempt retries it. +A report that has been finalized is never regenerated. + +## SYNTAX + +### Generate (Default) +``` +New-AzResilienceManagementDrillRunReport -DrillName -DrillRunName -ServiceGroupName + -OperationId [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### GenerateViaIdentity +``` +New-AzResilienceManagementDrillRunReport -InputObject -OperationId + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### GenerateViaIdentityDrill +``` +New-AzResilienceManagementDrillRunReport -DrillInputObject + -DrillRunName -OperationId [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### GenerateViaIdentityServiceGroup +``` +New-AzResilienceManagementDrillRunReport -DrillName -DrillRunName + -ServiceGroupInputObject -OperationId [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +This generates, or regenerates, the report for this Drill Run. +The action is idempotent and is safe to call at any time: a call that arrives while a generation is already running joins it, and a call made after a failed attempt retries it. +A report that has been finalized is never regenerated. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DrillInputObject +Identity Parameter +To construct, see NOTES section for DRILLINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GenerateViaIdentityDrill +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DrillName +The name of the Drill + +```yaml +Type: System.String +Parameter Sets: Generate, GenerateViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DrillRunName +The name of the DrillRun (GUID). + +```yaml +Type: System.String +Parameter Sets: Generate, GenerateViaIdentityDrill, GenerateViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GenerateViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +A GUID that represents the Long Running OperationId. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: GenerateViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Generate +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IDrillReportSummary + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/New-AzResilienceManagementEnrollment.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/New-AzResilienceManagementEnrollment.md new file mode 100644 index 000000000000..95967fd6b57b --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/New-AzResilienceManagementEnrollment.md @@ -0,0 +1,278 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/new-azresiliencemanagementenrollment +schema: 2.0.0 +--- + +# New-AzResilienceManagementEnrollment + +## SYNOPSIS +Create an Enrollment. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzResilienceManagementEnrollment -Name -ResourceGroupName -UsagePlanName + [-SubscriptionId ] [-ServiceGroupId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentityUsagePlanExpanded +``` +New-AzResilienceManagementEnrollment -Name -UsagePlanInputObject + [-ServiceGroupId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### CreateViaJsonFilePath +``` +New-AzResilienceManagementEnrollment -Name -ResourceGroupName -UsagePlanName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzResilienceManagementEnrollment -Name -ResourceGroupName -UsagePlanName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Create an Enrollment. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the enrollment. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: EnrollmentName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupId +ARM resource identifier of the service group associated with this usage plan. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityUsagePlanExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UsagePlanInputObject +Identity Parameter +To construct, see NOTES section for USAGEPLANINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: CreateViaIdentityUsagePlanExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -UsagePlanName +The name of the usage plan. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IEnrollment + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/New-AzResilienceManagementGoalAssignment.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/New-AzResilienceManagementGoalAssignment.md new file mode 100644 index 000000000000..10267c8c600b --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/New-AzResilienceManagementGoalAssignment.md @@ -0,0 +1,292 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/new-azresiliencemanagementgoalassignment +schema: 2.0.0 +--- + +# New-AzResilienceManagementGoalAssignment + +## SYNOPSIS +Create a GoalAssignment + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzResilienceManagementGoalAssignment -Name -ServiceGroupName + [-GoalAssignmentType ] [-GoalTemplateId ] [-RequireZonalResiliency] + [-ServiceLevelResource ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### CreateViaIdentityServiceGroupExpanded +``` +New-AzResilienceManagementGoalAssignment -Name + -ServiceGroupInputObject [-GoalAssignmentType ] + [-GoalTemplateId ] [-RequireZonalResiliency] [-ServiceLevelResource ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonFilePath +``` +New-AzResilienceManagementGoalAssignment -Name -ServiceGroupName -JsonFilePath + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzResilienceManagementGoalAssignment -Name -ServiceGroupName -JsonString + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Create a GoalAssignment + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GoalAssignmentType +The type of goal assignment. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GoalTemplateId +Arm id of the goal template. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the GoalAssignment + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: GoalAssignmentName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RequireZonalResiliency +Whether zonal resiliency is required for this goal assignment. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceLevelResource +List of service level resources. +To construct, see NOTES section for SERVICELEVELRESOURCE properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IServiceLevelResource[] +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IGoalAssignment + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/New-AzResilienceManagementGoalTemplate.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/New-AzResilienceManagementGoalTemplate.md new file mode 100644 index 000000000000..4d1ed5a9ea92 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/New-AzResilienceManagementGoalTemplate.md @@ -0,0 +1,293 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/new-azresiliencemanagementgoaltemplate +schema: 2.0.0 +--- + +# New-AzResilienceManagementGoalTemplate + +## SYNOPSIS +Create a GoalTemplate + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzResilienceManagementGoalTemplate -Name -ServiceGroupName + [-RegionalRecoveryPointObjective ] [-RegionalRecoveryTimeObjective ] + [-RequireDisasterRecovery ] [-RequireHighAvailability ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentityServiceGroupExpanded +``` +New-AzResilienceManagementGoalTemplate -Name -ServiceGroupInputObject + [-RegionalRecoveryPointObjective ] [-RegionalRecoveryTimeObjective ] + [-RequireDisasterRecovery ] [-RequireHighAvailability ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonFilePath +``` +New-AzResilienceManagementGoalTemplate -Name -ServiceGroupName -JsonFilePath + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzResilienceManagementGoalTemplate -Name -ServiceGroupName -JsonString + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Create a GoalTemplate + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the goalTemplate + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: GoalTemplateName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RegionalRecoveryPointObjective +Regional recovery point objective specified by customer. +eg, PT15M for 15 minutes + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RegionalRecoveryTimeObjective +Regional recovery time objective specified by customer. +eg, PT15M for 15 minutes + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RequireDisasterRecovery +Option specified by customer under disaster recovery section of goal template + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RequireHighAvailability +Option specified by customer under high availability section of goal template + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IGoalTemplate + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/New-AzResilienceManagementRecoveryPlan.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/New-AzResilienceManagementRecoveryPlan.md new file mode 100644 index 000000000000..772e49795e7d --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/New-AzResilienceManagementRecoveryPlan.md @@ -0,0 +1,390 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/new-azresiliencemanagementrecoveryplan +schema: 2.0.0 +--- + +# New-AzResilienceManagementRecoveryPlan + +## SYNOPSIS +Create a RecoveryPlan + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzResilienceManagementRecoveryPlan -Name -ServiceGroupName [-Description ] + [-GroupUniqueId ] [-IdentityType ] [-IdentityUserAssignedIdentity ] + [-OrderId ] [-PlanDescription ] [-PlanType ] + [-PostAction ] [-PreAction ] + [-RecoveryGroupSettingAdditionalGroup ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentityServiceGroupExpanded +``` +New-AzResilienceManagementRecoveryPlan -Name -ServiceGroupInputObject + [-Description ] [-GroupUniqueId ] [-IdentityType ] + [-IdentityUserAssignedIdentity ] [-OrderId ] [-PlanDescription ] + [-PlanType ] [-PostAction ] [-PreAction ] + [-RecoveryGroupSettingAdditionalGroup ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonFilePath +``` +New-AzResilienceManagementRecoveryPlan -Name -ServiceGroupName -JsonFilePath + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzResilienceManagementRecoveryPlan -Name -ServiceGroupName -JsonString + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Create a RecoveryPlan + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +A description of the recovery orchestration group. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupUniqueId +A unique id for the recovery orchestration group, which is a GUID. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityType +Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityUserAssignedIdentity +The set of user assigned identities associated with the resource. +The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. +The dictionary values can be empty objects ({}) in requests. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the recovery orchestration plan. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: RecoveryPlanName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderId +The order ID of the recovery orchestration group. + +```yaml +Type: System.Int32 +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PlanDescription +A description of the recovery orchestration plan. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PlanType +The type of the recovery orchestration plan, which can be set during creation but cannot be changed afterward. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PostAction +Post-actions for the recovery orchestration group. +To construct, see NOTES section for POSTACTION properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRecoveryGroupBaseAction[] +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PreAction +Pre-actions for the recovery orchestration group. +To construct, see NOTES section for PREACTION properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRecoveryGroupBaseAction[] +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecoveryGroupSettingAdditionalGroup +Additional recovery orchestration group settings. +To construct, see NOTES section for RECOVERYGROUPSETTINGADDITIONALGROUP properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRecoveryGroup[] +Parameter Sets: CreateExpanded, CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: CreateViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRecoveryPlan + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/New-AzResilienceManagementUsagePlan.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/New-AzResilienceManagementUsagePlan.md new file mode 100644 index 000000000000..7f82dedd9d01 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/New-AzResilienceManagementUsagePlan.md @@ -0,0 +1,268 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/new-azresiliencemanagementusageplan +schema: 2.0.0 +--- + +# New-AzResilienceManagementUsagePlan + +## SYNOPSIS +Create a UsagePlan + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzResilienceManagementUsagePlan -Name -ResourceGroupName -Location + [-SubscriptionId ] [-PlanType ] [-Tag ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonFilePath +``` +New-AzResilienceManagementUsagePlan -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### CreateViaJsonString +``` +New-AzResilienceManagementUsagePlan -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Create a UsagePlan + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The geo-location where the resource lives + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the usage plan. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: UsagePlanName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PlanType +The type of the usage plan. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Resource tags. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IUsagePlan + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Remove-AzResilienceManagementDrill.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Remove-AzResilienceManagementDrill.md new file mode 100644 index 000000000000..9d99ee069b25 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Remove-AzResilienceManagementDrill.md @@ -0,0 +1,222 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/remove-azresiliencemanagementdrill +schema: 2.0.0 +--- + +# Remove-AzResilienceManagementDrill + +## SYNOPSIS +Delete a Drill + +## SYNTAX + +### Delete (Default) +``` +Remove-AzResilienceManagementDrill -Name -ServiceGroupName [-DefaultProfile ] + [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentity +``` +Remove-AzResilienceManagementDrill -InputObject [-DefaultProfile ] + [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentityServiceGroup +``` +Remove-AzResilienceManagementDrill -Name -ServiceGroupInputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Delete a Drill + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the Drill + +```yaml +Type: System.String +Parameter Sets: Delete, DeleteViaIdentityServiceGroup +Aliases: DrillName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: DeleteViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Remove-AzResilienceManagementEnrollment.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Remove-AzResilienceManagementEnrollment.md new file mode 100644 index 000000000000..1c8a83dd4540 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Remove-AzResilienceManagementEnrollment.md @@ -0,0 +1,255 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/remove-azresiliencemanagementenrollment +schema: 2.0.0 +--- + +# Remove-AzResilienceManagementEnrollment + +## SYNOPSIS +Delete an Enrollment. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzResilienceManagementEnrollment -Name -ResourceGroupName -UsagePlanName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### DeleteViaIdentity +``` +Remove-AzResilienceManagementEnrollment -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentityUsagePlan +``` +Remove-AzResilienceManagementEnrollment -Name -UsagePlanInputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Delete an Enrollment. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the enrollment. + +```yaml +Type: System.String +Parameter Sets: Delete, DeleteViaIdentityUsagePlan +Aliases: EnrollmentName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UsagePlanInputObject +Identity Parameter +To construct, see NOTES section for USAGEPLANINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: DeleteViaIdentityUsagePlan +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -UsagePlanName +The name of the usage plan. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Remove-AzResilienceManagementGoalAssignment.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Remove-AzResilienceManagementGoalAssignment.md new file mode 100644 index 000000000000..c1b19b8da43f --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Remove-AzResilienceManagementGoalAssignment.md @@ -0,0 +1,223 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/remove-azresiliencemanagementgoalassignment +schema: 2.0.0 +--- + +# Remove-AzResilienceManagementGoalAssignment + +## SYNOPSIS +Delete a GoalAssignment + +## SYNTAX + +### Delete (Default) +``` +Remove-AzResilienceManagementGoalAssignment -Name -ServiceGroupName + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentity +``` +Remove-AzResilienceManagementGoalAssignment -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentityServiceGroup +``` +Remove-AzResilienceManagementGoalAssignment -Name + -ServiceGroupInputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Delete a GoalAssignment + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the GoalAssignment + +```yaml +Type: System.String +Parameter Sets: Delete, DeleteViaIdentityServiceGroup +Aliases: GoalAssignmentName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: DeleteViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Remove-AzResilienceManagementGoalTemplate.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Remove-AzResilienceManagementGoalTemplate.md new file mode 100644 index 000000000000..f66e92b6a1d5 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Remove-AzResilienceManagementGoalTemplate.md @@ -0,0 +1,223 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/remove-azresiliencemanagementgoaltemplate +schema: 2.0.0 +--- + +# Remove-AzResilienceManagementGoalTemplate + +## SYNOPSIS +Delete a GoalTemplate + +## SYNTAX + +### Delete (Default) +``` +Remove-AzResilienceManagementGoalTemplate -Name -ServiceGroupName + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentity +``` +Remove-AzResilienceManagementGoalTemplate -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentityServiceGroup +``` +Remove-AzResilienceManagementGoalTemplate -Name + -ServiceGroupInputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Delete a GoalTemplate + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the goalTemplate + +```yaml +Type: System.String +Parameter Sets: Delete, DeleteViaIdentityServiceGroup +Aliases: GoalTemplateName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: DeleteViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Remove-AzResilienceManagementRecoveryPlan.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Remove-AzResilienceManagementRecoveryPlan.md new file mode 100644 index 000000000000..4d7d2a0e08b4 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Remove-AzResilienceManagementRecoveryPlan.md @@ -0,0 +1,223 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/remove-azresiliencemanagementrecoveryplan +schema: 2.0.0 +--- + +# Remove-AzResilienceManagementRecoveryPlan + +## SYNOPSIS +Delete a RecoveryPlan + +## SYNTAX + +### Delete (Default) +``` +Remove-AzResilienceManagementRecoveryPlan -Name -ServiceGroupName + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentity +``` +Remove-AzResilienceManagementRecoveryPlan -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentityServiceGroup +``` +Remove-AzResilienceManagementRecoveryPlan -Name + -ServiceGroupInputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Delete a RecoveryPlan + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the recovery orchestration plan. + +```yaml +Type: System.String +Parameter Sets: Delete, DeleteViaIdentityServiceGroup +Aliases: RecoveryPlanName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: DeleteViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Remove-AzResilienceManagementUsagePlan.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Remove-AzResilienceManagementUsagePlan.md new file mode 100644 index 000000000000..ef4b6b799049 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Remove-AzResilienceManagementUsagePlan.md @@ -0,0 +1,217 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/remove-azresiliencemanagementusageplan +schema: 2.0.0 +--- + +# Remove-AzResilienceManagementUsagePlan + +## SYNOPSIS +Delete a UsagePlan + +## SYNTAX + +### Delete (Default) +``` +Remove-AzResilienceManagementUsagePlan -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentity +``` +Remove-AzResilienceManagementUsagePlan -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Delete a UsagePlan + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the usage plan. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: UsagePlanName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Resume-AzResilienceManagementDrillRun.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Resume-AzResilienceManagementDrillRun.md new file mode 100644 index 000000000000..20867361820f --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Resume-AzResilienceManagementDrillRun.md @@ -0,0 +1,262 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/resume-azresiliencemanagementdrillrun +schema: 2.0.0 +--- + +# Resume-AzResilienceManagementDrillRun + +## SYNOPSIS +This unblocks a Failover workflow that is paused after the Fault stage, to proceed to the Failover stage. + +## SYNTAX + +### Resume (Default) +``` +Resume-AzResilienceManagementDrillRun -DrillName -Name -ServiceGroupName + -OperationId [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### ResumeViaIdentity +``` +Resume-AzResilienceManagementDrillRun -InputObject -OperationId + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ResumeViaIdentityDrill +``` +Resume-AzResilienceManagementDrillRun -DrillInputObject -Name + -OperationId [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### ResumeViaIdentityServiceGroup +``` +Resume-AzResilienceManagementDrillRun -DrillName -Name + -ServiceGroupInputObject -OperationId [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +This unblocks a Failover workflow that is paused after the Fault stage, to proceed to the Failover stage. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DrillInputObject +Identity Parameter +To construct, see NOTES section for DRILLINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: ResumeViaIdentityDrill +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DrillName +The name of the Drill + +```yaml +Type: System.String +Parameter Sets: Resume, ResumeViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: ResumeViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the DrillRun (GUID). + +```yaml +Type: System.String +Parameter Sets: Resume, ResumeViaIdentityDrill, ResumeViaIdentityServiceGroup +Aliases: DrillRunName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +A GUID that represents the Long Running OperationId. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: ResumeViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Resume +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IDrillRunActionResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Resume-AzResilienceManagementRecoveryJob.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Resume-AzResilienceManagementRecoveryJob.md new file mode 100644 index 000000000000..a97e70bf0ea7 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Resume-AzResilienceManagementRecoveryJob.md @@ -0,0 +1,368 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/resume-azresiliencemanagementrecoveryjob +schema: 2.0.0 +--- + +# Resume-AzResilienceManagementRecoveryJob + +## SYNOPSIS +This action resumes the ongoing recovery orchestration job that was paused for required user intervention. + +## SYNTAX + +### ResumeExpanded (Default) +``` +Resume-AzResilienceManagementRecoveryJob -Name -RecoveryPlanName -ServiceGroupName + -OperationId [-Description ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### Resume +``` +Resume-AzResilienceManagementRecoveryJob -Name -RecoveryPlanName -ServiceGroupName + -OperationId -Body [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### ResumeViaIdentity +``` +Resume-AzResilienceManagementRecoveryJob -InputObject -OperationId + -Body [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### ResumeViaIdentityExpanded +``` +Resume-AzResilienceManagementRecoveryJob -InputObject -OperationId + [-Description ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### ResumeViaIdentityRecoveryPlan +``` +Resume-AzResilienceManagementRecoveryJob -Name + -RecoveryPlanInputObject -OperationId -Body + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ResumeViaIdentityRecoveryPlanExpanded +``` +Resume-AzResilienceManagementRecoveryJob -Name + -RecoveryPlanInputObject -OperationId [-Description ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ResumeViaIdentityServiceGroup +``` +Resume-AzResilienceManagementRecoveryJob -Name -RecoveryPlanName + -ServiceGroupInputObject -OperationId -Body + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ResumeViaIdentityServiceGroupExpanded +``` +Resume-AzResilienceManagementRecoveryJob -Name -RecoveryPlanName + -ServiceGroupInputObject -OperationId [-Description ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ResumeViaJsonFilePath +``` +Resume-AzResilienceManagementRecoveryJob -Name -RecoveryPlanName -ServiceGroupName + -OperationId -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### ResumeViaJsonString +``` +Resume-AzResilienceManagementRecoveryJob -Name -RecoveryPlanName -ServiceGroupName + -OperationId -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +This action resumes the ongoing recovery orchestration job that was paused for required user intervention. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +Request body for providing user input for a recovery action. +To construct, see NOTES section for BODY properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRecoveryActionRequest +Parameter Sets: Resume, ResumeViaIdentity, ResumeViaIdentityRecoveryPlan, ResumeViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +User-provided input for the action. + +```yaml +Type: System.String +Parameter Sets: ResumeExpanded, ResumeViaIdentityExpanded, ResumeViaIdentityRecoveryPlanExpanded, ResumeViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: ResumeViaIdentity, ResumeViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Resume operation + +```yaml +Type: System.String +Parameter Sets: ResumeViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Resume operation + +```yaml +Type: System.String +Parameter Sets: ResumeViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The unique name (GUID) of the recovery job. + +```yaml +Type: System.String +Parameter Sets: Resume, ResumeExpanded, ResumeViaIdentityRecoveryPlan, ResumeViaIdentityRecoveryPlanExpanded, ResumeViaIdentityServiceGroup, ResumeViaIdentityServiceGroupExpanded, ResumeViaJsonFilePath, ResumeViaJsonString +Aliases: RecoveryJobName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +A GUID that represents the Long Running OperationId. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecoveryPlanInputObject +Identity Parameter +To construct, see NOTES section for RECOVERYPLANINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: ResumeViaIdentityRecoveryPlan, ResumeViaIdentityRecoveryPlanExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -RecoveryPlanName +The name of the recovery orchestration plan. + +```yaml +Type: System.String +Parameter Sets: Resume, ResumeExpanded, ResumeViaIdentityServiceGroup, ResumeViaIdentityServiceGroupExpanded, ResumeViaJsonFilePath, ResumeViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: ResumeViaIdentityServiceGroup, ResumeViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Resume, ResumeExpanded, ResumeViaJsonFilePath, ResumeViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRecoveryActionRequest + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IErrorResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Set-AzResilienceManagementEnrollment.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Set-AzResilienceManagementEnrollment.md new file mode 100644 index 000000000000..c7a99a11baf4 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Set-AzResilienceManagementEnrollment.md @@ -0,0 +1,253 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/set-azresiliencemanagementenrollment +schema: 2.0.0 +--- + +# Set-AzResilienceManagementEnrollment + +## SYNOPSIS +Create an Enrollment. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Set-AzResilienceManagementEnrollment -Name -ResourceGroupName -UsagePlanName + [-SubscriptionId ] [-ServiceGroupId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonFilePath +``` +Set-AzResilienceManagementEnrollment -Name -ResourceGroupName -UsagePlanName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Set-AzResilienceManagementEnrollment -Name -ResourceGroupName -UsagePlanName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Create an Enrollment. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the enrollment. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: EnrollmentName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupId +ARM resource identifier of the service group associated with this usage plan. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UsagePlanName +The name of the usage plan. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IEnrollment + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Set-AzResilienceManagementGoalAssignment.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Set-AzResilienceManagementGoalAssignment.md new file mode 100644 index 000000000000..a1f1e8589d5c --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Set-AzResilienceManagementGoalAssignment.md @@ -0,0 +1,266 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/set-azresiliencemanagementgoalassignment +schema: 2.0.0 +--- + +# Set-AzResilienceManagementGoalAssignment + +## SYNOPSIS +Create a GoalAssignment + +## SYNTAX + +### UpdateExpanded (Default) +``` +Set-AzResilienceManagementGoalAssignment -Name -ServiceGroupName + [-GoalAssignmentType ] [-GoalTemplateId ] [-RequireZonalResiliency] + [-ServiceLevelResource ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### UpdateViaJsonFilePath +``` +Set-AzResilienceManagementGoalAssignment -Name -ServiceGroupName -JsonFilePath + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Set-AzResilienceManagementGoalAssignment -Name -ServiceGroupName -JsonString + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Create a GoalAssignment + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GoalAssignmentType +The type of goal assignment. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GoalTemplateId +Arm id of the goal template. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the GoalAssignment + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: GoalAssignmentName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RequireZonalResiliency +Whether zonal resiliency is required for this goal assignment. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceLevelResource +List of service level resources. +To construct, see NOTES section for SERVICELEVELRESOURCE properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IServiceLevelResource[] +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IGoalAssignment + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Set-AzResilienceManagementGoalTemplate.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Set-AzResilienceManagementGoalTemplate.md new file mode 100644 index 000000000000..f97c26b3fc3b --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Set-AzResilienceManagementGoalTemplate.md @@ -0,0 +1,267 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/set-azresiliencemanagementgoaltemplate +schema: 2.0.0 +--- + +# Set-AzResilienceManagementGoalTemplate + +## SYNOPSIS +Create a GoalTemplate + +## SYNTAX + +### UpdateExpanded (Default) +``` +Set-AzResilienceManagementGoalTemplate -Name -ServiceGroupName + [-RegionalRecoveryPointObjective ] [-RegionalRecoveryTimeObjective ] + [-RequireDisasterRecovery ] [-RequireHighAvailability ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonFilePath +``` +Set-AzResilienceManagementGoalTemplate -Name -ServiceGroupName -JsonFilePath + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Set-AzResilienceManagementGoalTemplate -Name -ServiceGroupName -JsonString + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Create a GoalTemplate + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the goalTemplate + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: GoalTemplateName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RegionalRecoveryPointObjective +Regional recovery point objective specified by customer. +eg, PT15M for 15 minutes + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RegionalRecoveryTimeObjective +Regional recovery time objective specified by customer. +eg, PT15M for 15 minutes + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RequireDisasterRecovery +Option specified by customer under disaster recovery section of goal template + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RequireHighAvailability +Option specified by customer under high availability section of goal template + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IGoalTemplate + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Set-AzResilienceManagementRecoveryPlan.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Set-AzResilienceManagementRecoveryPlan.md new file mode 100644 index 000000000000..a14abb7c5388 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Set-AzResilienceManagementRecoveryPlan.md @@ -0,0 +1,362 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/set-azresiliencemanagementrecoveryplan +schema: 2.0.0 +--- + +# Set-AzResilienceManagementRecoveryPlan + +## SYNOPSIS +Create a RecoveryPlan + +## SYNTAX + +### UpdateExpanded (Default) +``` +Set-AzResilienceManagementRecoveryPlan -Name -ServiceGroupName [-Description ] + [-GroupUniqueId ] [-IdentityType ] [-IdentityUserAssignedIdentity ] + [-OrderId ] [-PlanDescription ] [-PlanType ] + [-PostAction ] [-PreAction ] + [-RecoveryGroupSettingAdditionalGroup ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonFilePath +``` +Set-AzResilienceManagementRecoveryPlan -Name -ServiceGroupName -JsonFilePath + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Set-AzResilienceManagementRecoveryPlan -Name -ServiceGroupName -JsonString + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Create a RecoveryPlan + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +A description of the recovery orchestration group. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupUniqueId +A unique id for the recovery orchestration group, which is a GUID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityType +Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityUserAssignedIdentity +The set of user assigned identities associated with the resource. +The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. +The dictionary values can be empty objects ({}) in requests. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the recovery orchestration plan. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: RecoveryPlanName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderId +The order ID of the recovery orchestration group. + +```yaml +Type: System.Int32 +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PlanDescription +A description of the recovery orchestration plan. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PlanType +The type of the recovery orchestration plan, which can be set during creation but cannot be changed afterward. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PostAction +Post-actions for the recovery orchestration group. +To construct, see NOTES section for POSTACTION properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRecoveryGroupBaseAction[] +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PreAction +Pre-actions for the recovery orchestration group. +To construct, see NOTES section for PREACTION properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRecoveryGroupBaseAction[] +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecoveryGroupSettingAdditionalGroup +Additional recovery orchestration group settings. +To construct, see NOTES section for RECOVERYGROUPSETTINGADDITIONALGROUP properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRecoveryGroup[] +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRecoveryPlan + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Set-AzResilienceManagementUsagePlan.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Set-AzResilienceManagementUsagePlan.md new file mode 100644 index 000000000000..adbdb6a0bae8 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Set-AzResilienceManagementUsagePlan.md @@ -0,0 +1,268 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/set-azresiliencemanagementusageplan +schema: 2.0.0 +--- + +# Set-AzResilienceManagementUsagePlan + +## SYNOPSIS +Create a UsagePlan + +## SYNTAX + +### UpdateExpanded (Default) +``` +Set-AzResilienceManagementUsagePlan -Name -ResourceGroupName -Location + [-SubscriptionId ] [-PlanType ] [-Tag ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonFilePath +``` +Set-AzResilienceManagementUsagePlan -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaJsonString +``` +Set-AzResilienceManagementUsagePlan -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Create a UsagePlan + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The geo-location where the resource lives + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the usage plan. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: UsagePlanName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PlanType +The type of the usage plan. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Resource tags. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IUsagePlan + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementDrill.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementDrill.md new file mode 100644 index 000000000000..6383a44d6e6b --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementDrill.md @@ -0,0 +1,305 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/start-azresiliencemanagementdrill +schema: 2.0.0 +--- + +# Start-AzResilienceManagementDrill + +## SYNOPSIS +This starts a new running instance of the Drill. + +## SYNTAX + +### StartExpanded (Default) +``` +Start-AzResilienceManagementDrill -Name -ServiceGroupName -OperationId + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### Start +``` +Start-AzResilienceManagementDrill -Name -ServiceGroupName -OperationId + -Body [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### StartViaIdentity +``` +Start-AzResilienceManagementDrill -InputObject -OperationId + -Body [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### StartViaIdentityExpanded +``` +Start-AzResilienceManagementDrill -InputObject -OperationId + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### StartViaIdentityServiceGroup +``` +Start-AzResilienceManagementDrill -Name -ServiceGroupInputObject + -OperationId -Body [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### StartViaIdentityServiceGroupExpanded +``` +Start-AzResilienceManagementDrill -Name -ServiceGroupInputObject + -OperationId [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### StartViaJsonFilePath +``` +Start-AzResilienceManagementDrill -Name -ServiceGroupName -OperationId + -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### StartViaJsonString +``` +Start-AzResilienceManagementDrill -Name -ServiceGroupName -OperationId + -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +This starts a new running instance of the Drill. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +Request body of the Start Action of Drill. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IDrillStartRequest +Parameter Sets: Start, StartViaIdentity, StartViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: StartViaIdentity, StartViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Start operation + +```yaml +Type: System.String +Parameter Sets: StartViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Start operation + +```yaml +Type: System.String +Parameter Sets: StartViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the Drill + +```yaml +Type: System.String +Parameter Sets: Start, StartExpanded, StartViaIdentityServiceGroup, StartViaIdentityServiceGroupExpanded, StartViaJsonFilePath, StartViaJsonString +Aliases: DrillName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +A GUID that represents the Long Running OperationId. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: StartViaIdentityServiceGroup, StartViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Start, StartExpanded, StartViaJsonFilePath, StartViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IDrillStartRequest + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IDrillActionResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementDrillRunFailover.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementDrillRunFailover.md new file mode 100644 index 000000000000..e2fa78b6709b --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementDrillRunFailover.md @@ -0,0 +1,422 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/start-azresiliencemanagementdrillrunfailover +schema: 2.0.0 +--- + +# Start-AzResilienceManagementDrillRunFailover + +## SYNOPSIS +This initiates a new Failover operation on this Drill Run. + +## SYNTAX + +### TriggerExpanded (Default) +``` +Start-AzResilienceManagementDrillRunFailover -DrillName -DrillRunName + -ServiceGroupName -OperationId [-AutoFailover ] + [-ExecutionConfigurationUserConsent ] [-FailoverRequestPropertySelectedResourceId ] + [-FailoverRequestPropertySourceLocation ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### Trigger +``` +Start-AzResilienceManagementDrillRunFailover -DrillName -DrillRunName + -ServiceGroupName -OperationId -Body + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### TriggerViaIdentity +``` +Start-AzResilienceManagementDrillRunFailover -InputObject + -OperationId -Body [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### TriggerViaIdentityDrill +``` +Start-AzResilienceManagementDrillRunFailover -DrillInputObject + -DrillRunName -OperationId -Body [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### TriggerViaIdentityDrillExpanded +``` +Start-AzResilienceManagementDrillRunFailover -DrillInputObject + -DrillRunName -OperationId [-AutoFailover ] + [-ExecutionConfigurationUserConsent ] [-FailoverRequestPropertySelectedResourceId ] + [-FailoverRequestPropertySourceLocation ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### TriggerViaIdentityExpanded +``` +Start-AzResilienceManagementDrillRunFailover -InputObject + -OperationId [-AutoFailover ] [-ExecutionConfigurationUserConsent ] + [-FailoverRequestPropertySelectedResourceId ] [-FailoverRequestPropertySourceLocation ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### TriggerViaIdentityServiceGroup +``` +Start-AzResilienceManagementDrillRunFailover -DrillName -DrillRunName + -ServiceGroupInputObject -OperationId + -Body [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### TriggerViaIdentityServiceGroupExpanded +``` +Start-AzResilienceManagementDrillRunFailover -DrillName -DrillRunName + -ServiceGroupInputObject -OperationId [-AutoFailover ] + [-ExecutionConfigurationUserConsent ] [-FailoverRequestPropertySelectedResourceId ] + [-FailoverRequestPropertySourceLocation ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### TriggerViaJsonFilePath +``` +Start-AzResilienceManagementDrillRunFailover -DrillName -DrillRunName + -ServiceGroupName -OperationId -JsonFilePath [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### TriggerViaJsonString +``` +Start-AzResilienceManagementDrillRunFailover -DrillName -DrillRunName + -ServiceGroupName -OperationId -JsonString [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +This initiates a new Failover operation on this Drill Run. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AutoFailover +AutoFailover - whether to pause between Fault and Failover for manual input. + +```yaml +Type: System.String +Parameter Sets: TriggerExpanded, TriggerViaIdentityDrillExpanded, TriggerViaIdentityExpanded, TriggerViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +Request body for Failover API. +To construct, see NOTES section for BODY properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IDrillRunFailoverRequest +Parameter Sets: Trigger, TriggerViaIdentity, TriggerViaIdentityDrill, TriggerViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DrillInputObject +Identity Parameter +To construct, see NOTES section for DRILLINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: TriggerViaIdentityDrill, TriggerViaIdentityDrillExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DrillName +The name of the Drill + +```yaml +Type: System.String +Parameter Sets: Trigger, TriggerExpanded, TriggerViaIdentityServiceGroup, TriggerViaIdentityServiceGroupExpanded, TriggerViaJsonFilePath, TriggerViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DrillRunName +The name of the DrillRun (GUID). + +```yaml +Type: System.String +Parameter Sets: Trigger, TriggerExpanded, TriggerViaIdentityDrill, TriggerViaIdentityDrillExpanded, TriggerViaIdentityServiceGroup, TriggerViaIdentityServiceGroupExpanded, TriggerViaJsonFilePath, TriggerViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExecutionConfigurationUserConsent +User consent for performing recovery action. + +```yaml +Type: System.String +Parameter Sets: TriggerExpanded, TriggerViaIdentityDrillExpanded, TriggerViaIdentityExpanded, TriggerViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FailoverRequestPropertySelectedResourceId +Selected recovery resource Ids to be processed. +If not provided, all qualified resources based on the source location(s) will be processed. + +```yaml +Type: System.String[] +Parameter Sets: TriggerExpanded, TriggerViaIdentityDrillExpanded, TriggerViaIdentityExpanded, TriggerViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FailoverRequestPropertySourceLocation +Source locations from where resources to be failed-over. + +```yaml +Type: System.String[] +Parameter Sets: TriggerExpanded, TriggerViaIdentityDrillExpanded, TriggerViaIdentityExpanded, TriggerViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: TriggerViaIdentity, TriggerViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Trigger operation + +```yaml +Type: System.String +Parameter Sets: TriggerViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Trigger operation + +```yaml +Type: System.String +Parameter Sets: TriggerViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +A GUID that represents the Long Running OperationId. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: TriggerViaIdentityServiceGroup, TriggerViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Trigger, TriggerExpanded, TriggerViaJsonFilePath, TriggerViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IDrillRunFailoverRequest + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IDrillRunActionResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementDrillRunReprotect.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementDrillRunReprotect.md new file mode 100644 index 000000000000..0494cf8862d1 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementDrillRunReprotect.md @@ -0,0 +1,371 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/start-azresiliencemanagementdrillrunreprotect +schema: 2.0.0 +--- + +# Start-AzResilienceManagementDrillRunReprotect + +## SYNOPSIS +This initiates a new Reprotect operation on this Drill Run. + +## SYNTAX + +### TriggerExpanded (Default) +``` +Start-AzResilienceManagementDrillRunReprotect -DrillName -DrillRunName + -ServiceGroupName -OperationId [-ReprotectRequestPropertySelectedResourceId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### Trigger +``` +Start-AzResilienceManagementDrillRunReprotect -DrillName -DrillRunName + -ServiceGroupName -OperationId -Body + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### TriggerViaIdentity +``` +Start-AzResilienceManagementDrillRunReprotect -InputObject + -OperationId -Body [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### TriggerViaIdentityDrill +``` +Start-AzResilienceManagementDrillRunReprotect -DrillInputObject + -DrillRunName -OperationId -Body [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### TriggerViaIdentityDrillExpanded +``` +Start-AzResilienceManagementDrillRunReprotect -DrillInputObject + -DrillRunName -OperationId [-ReprotectRequestPropertySelectedResourceId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### TriggerViaIdentityExpanded +``` +Start-AzResilienceManagementDrillRunReprotect -InputObject + -OperationId [-ReprotectRequestPropertySelectedResourceId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### TriggerViaIdentityServiceGroup +``` +Start-AzResilienceManagementDrillRunReprotect -DrillName -DrillRunName + -ServiceGroupInputObject -OperationId + -Body [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### TriggerViaIdentityServiceGroupExpanded +``` +Start-AzResilienceManagementDrillRunReprotect -DrillName -DrillRunName + -ServiceGroupInputObject -OperationId + [-ReprotectRequestPropertySelectedResourceId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### TriggerViaJsonFilePath +``` +Start-AzResilienceManagementDrillRunReprotect -DrillName -DrillRunName + -ServiceGroupName -OperationId -JsonFilePath [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### TriggerViaJsonString +``` +Start-AzResilienceManagementDrillRunReprotect -DrillName -DrillRunName + -ServiceGroupName -OperationId -JsonString [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +This initiates a new Reprotect operation on this Drill Run. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +Request body for Reprotect API. +To construct, see NOTES section for BODY properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IDrillRunReprotectRequest +Parameter Sets: Trigger, TriggerViaIdentity, TriggerViaIdentityDrill, TriggerViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DrillInputObject +Identity Parameter +To construct, see NOTES section for DRILLINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: TriggerViaIdentityDrill, TriggerViaIdentityDrillExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DrillName +The name of the Drill + +```yaml +Type: System.String +Parameter Sets: Trigger, TriggerExpanded, TriggerViaIdentityServiceGroup, TriggerViaIdentityServiceGroupExpanded, TriggerViaJsonFilePath, TriggerViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DrillRunName +The name of the DrillRun (GUID). + +```yaml +Type: System.String +Parameter Sets: Trigger, TriggerExpanded, TriggerViaIdentityDrill, TriggerViaIdentityDrillExpanded, TriggerViaIdentityServiceGroup, TriggerViaIdentityServiceGroupExpanded, TriggerViaJsonFilePath, TriggerViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: TriggerViaIdentity, TriggerViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Trigger operation + +```yaml +Type: System.String +Parameter Sets: TriggerViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Trigger operation + +```yaml +Type: System.String +Parameter Sets: TriggerViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +A GUID that represents the Long Running OperationId. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReprotectRequestPropertySelectedResourceId +Selected recovery resource Ids to be processed. +If not provided, all qualified resources will be processed. + +```yaml +Type: System.String[] +Parameter Sets: TriggerExpanded, TriggerViaIdentityDrillExpanded, TriggerViaIdentityExpanded, TriggerViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: TriggerViaIdentityServiceGroup, TriggerViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Trigger, TriggerExpanded, TriggerViaJsonFilePath, TriggerViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IDrillRunReprotectRequest + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IDrillRunActionResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementRecoveryPlanFailover.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementRecoveryPlanFailover.md new file mode 100644 index 000000000000..425185118cc7 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementRecoveryPlanFailover.md @@ -0,0 +1,358 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/start-azresiliencemanagementrecoveryplanfailover +schema: 2.0.0 +--- + +# Start-AzResilienceManagementRecoveryPlanFailover + +## SYNOPSIS +This action triggers the failover operation on the recovery orchestration plan for the qualified resources. + +## SYNTAX + +### TriggerExpanded (Default) +``` +Start-AzResilienceManagementRecoveryPlanFailover -RecoveryPlanName -ServiceGroupName + -OperationId [-ExecutionConfigurationUserConsent ] + [-FailoverRequestPropertySelectedResourceId ] [-FailoverRequestPropertySourceLocation ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### Trigger +``` +Start-AzResilienceManagementRecoveryPlanFailover -RecoveryPlanName -ServiceGroupName + -OperationId -Body [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### TriggerViaIdentity +``` +Start-AzResilienceManagementRecoveryPlanFailover -InputObject + -OperationId -Body [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### TriggerViaIdentityExpanded +``` +Start-AzResilienceManagementRecoveryPlanFailover -InputObject + -OperationId [-ExecutionConfigurationUserConsent ] + [-FailoverRequestPropertySelectedResourceId ] [-FailoverRequestPropertySourceLocation ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### TriggerViaIdentityServiceGroup +``` +Start-AzResilienceManagementRecoveryPlanFailover -RecoveryPlanName + -ServiceGroupInputObject -OperationId -Body + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### TriggerViaIdentityServiceGroupExpanded +``` +Start-AzResilienceManagementRecoveryPlanFailover -RecoveryPlanName + -ServiceGroupInputObject -OperationId + [-ExecutionConfigurationUserConsent ] [-FailoverRequestPropertySelectedResourceId ] + [-FailoverRequestPropertySourceLocation ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### TriggerViaJsonFilePath +``` +Start-AzResilienceManagementRecoveryPlanFailover -RecoveryPlanName -ServiceGroupName + -OperationId -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### TriggerViaJsonString +``` +Start-AzResilienceManagementRecoveryPlanFailover -RecoveryPlanName -ServiceGroupName + -OperationId -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +This action triggers the failover operation on the recovery orchestration plan for the qualified resources. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +Failover post action request. +To construct, see NOTES section for BODY properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IFailoverRequest +Parameter Sets: Trigger, TriggerViaIdentity, TriggerViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExecutionConfigurationUserConsent +User consent for performing recovery action. + +```yaml +Type: System.String +Parameter Sets: TriggerExpanded, TriggerViaIdentityExpanded, TriggerViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FailoverRequestPropertySelectedResourceId +Selected recovery resource Ids to be processed. +If not provided, all qualified resources based on the source location(s) will be processed. + +```yaml +Type: System.String[] +Parameter Sets: TriggerExpanded, TriggerViaIdentityExpanded, TriggerViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FailoverRequestPropertySourceLocation +Source locations from where resources to be failed-over. + +```yaml +Type: System.String[] +Parameter Sets: TriggerExpanded, TriggerViaIdentityExpanded, TriggerViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: TriggerViaIdentity, TriggerViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Trigger operation + +```yaml +Type: System.String +Parameter Sets: TriggerViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Trigger operation + +```yaml +Type: System.String +Parameter Sets: TriggerViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +A GUID that represents the Long Running OperationId. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecoveryPlanName +The name of the recovery orchestration plan. + +```yaml +Type: System.String +Parameter Sets: Trigger, TriggerExpanded, TriggerViaIdentityServiceGroup, TriggerViaIdentityServiceGroupExpanded, TriggerViaJsonFilePath, TriggerViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: TriggerViaIdentityServiceGroup, TriggerViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Trigger, TriggerExpanded, TriggerViaJsonFilePath, TriggerViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IFailoverRequest + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRecoveryPlanActionBaseResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementRecoveryPlanFailoverCommit.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementRecoveryPlanFailoverCommit.md new file mode 100644 index 000000000000..723b29d0721e --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementRecoveryPlanFailoverCommit.md @@ -0,0 +1,225 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/start-azresiliencemanagementrecoveryplanfailovercommit +schema: 2.0.0 +--- + +# Start-AzResilienceManagementRecoveryPlanFailoverCommit + +## SYNOPSIS +This action triggers the failover commit operation on the recovery orchestration plan for the qualified resources. + +## SYNTAX + +### Trigger (Default) +``` +Start-AzResilienceManagementRecoveryPlanFailoverCommit -RecoveryPlanName -ServiceGroupName + -OperationId [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### TriggerViaIdentity +``` +Start-AzResilienceManagementRecoveryPlanFailoverCommit -InputObject + -OperationId [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### TriggerViaIdentityServiceGroup +``` +Start-AzResilienceManagementRecoveryPlanFailoverCommit -RecoveryPlanName + -ServiceGroupInputObject -OperationId [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +This action triggers the failover commit operation on the recovery orchestration plan for the qualified resources. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: TriggerViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +A GUID that represents the Long Running OperationId. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecoveryPlanName +The name of the recovery orchestration plan. + +```yaml +Type: System.String +Parameter Sets: Trigger, TriggerViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: TriggerViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Trigger +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRecoveryPlanActionBaseResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementRecoveryPlanReprotect.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementRecoveryPlanReprotect.md new file mode 100644 index 000000000000..44b643b18426 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementRecoveryPlanReprotect.md @@ -0,0 +1,325 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/start-azresiliencemanagementrecoveryplanreprotect +schema: 2.0.0 +--- + +# Start-AzResilienceManagementRecoveryPlanReprotect + +## SYNOPSIS +This action triggers the reprotect operation on the recovery orchestration plan for the qualified resources. + +## SYNTAX + +### TriggerExpanded (Default) +``` +Start-AzResilienceManagementRecoveryPlanReprotect -RecoveryPlanName -ServiceGroupName + -OperationId [-ReprotectRequestPropertySelectedResourceId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### Trigger +``` +Start-AzResilienceManagementRecoveryPlanReprotect -RecoveryPlanName -ServiceGroupName + -OperationId -Body [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### TriggerViaIdentity +``` +Start-AzResilienceManagementRecoveryPlanReprotect -InputObject + -OperationId -Body [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### TriggerViaIdentityExpanded +``` +Start-AzResilienceManagementRecoveryPlanReprotect -InputObject + -OperationId [-ReprotectRequestPropertySelectedResourceId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### TriggerViaIdentityServiceGroup +``` +Start-AzResilienceManagementRecoveryPlanReprotect -RecoveryPlanName + -ServiceGroupInputObject -OperationId -Body + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### TriggerViaIdentityServiceGroupExpanded +``` +Start-AzResilienceManagementRecoveryPlanReprotect -RecoveryPlanName + -ServiceGroupInputObject -OperationId + [-ReprotectRequestPropertySelectedResourceId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### TriggerViaJsonFilePath +``` +Start-AzResilienceManagementRecoveryPlanReprotect -RecoveryPlanName -ServiceGroupName + -OperationId -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### TriggerViaJsonString +``` +Start-AzResilienceManagementRecoveryPlanReprotect -RecoveryPlanName -ServiceGroupName + -OperationId -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +This action triggers the reprotect operation on the recovery orchestration plan for the qualified resources. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +Reprotect post action request. +To construct, see NOTES section for BODY properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IReprotectRequest +Parameter Sets: Trigger, TriggerViaIdentity, TriggerViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: TriggerViaIdentity, TriggerViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Trigger operation + +```yaml +Type: System.String +Parameter Sets: TriggerViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Trigger operation + +```yaml +Type: System.String +Parameter Sets: TriggerViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +A GUID that represents the Long Running OperationId. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecoveryPlanName +The name of the recovery orchestration plan. + +```yaml +Type: System.String +Parameter Sets: Trigger, TriggerExpanded, TriggerViaIdentityServiceGroup, TriggerViaIdentityServiceGroupExpanded, TriggerViaJsonFilePath, TriggerViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReprotectRequestPropertySelectedResourceId +Selected recovery resource Ids to be processed. +If not provided, all qualified resources will be processed. + +```yaml +Type: System.String[] +Parameter Sets: TriggerExpanded, TriggerViaIdentityExpanded, TriggerViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: TriggerViaIdentityServiceGroup, TriggerViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Trigger, TriggerExpanded, TriggerViaJsonFilePath, TriggerViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IReprotectRequest + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRecoveryPlanActionBaseResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementRecoveryPlanTestFailover.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementRecoveryPlanTestFailover.md new file mode 100644 index 000000000000..d62da1d10057 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementRecoveryPlanTestFailover.md @@ -0,0 +1,358 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/start-azresiliencemanagementrecoveryplantestfailover +schema: 2.0.0 +--- + +# Start-AzResilienceManagementRecoveryPlanTestFailover + +## SYNOPSIS +This action triggers the test failover operation on the recovery orchestration plan for the qualified resources. + +## SYNTAX + +### TriggerExpanded (Default) +``` +Start-AzResilienceManagementRecoveryPlanTestFailover -RecoveryPlanName -ServiceGroupName + -OperationId [-ExecutionConfigurationUserConsent ] + [-FailoverRequestPropertySelectedResourceId ] [-FailoverRequestPropertySourceLocation ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### Trigger +``` +Start-AzResilienceManagementRecoveryPlanTestFailover -RecoveryPlanName -ServiceGroupName + -OperationId -Body [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### TriggerViaIdentity +``` +Start-AzResilienceManagementRecoveryPlanTestFailover -InputObject + -OperationId -Body [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### TriggerViaIdentityExpanded +``` +Start-AzResilienceManagementRecoveryPlanTestFailover -InputObject + -OperationId [-ExecutionConfigurationUserConsent ] + [-FailoverRequestPropertySelectedResourceId ] [-FailoverRequestPropertySourceLocation ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### TriggerViaIdentityServiceGroup +``` +Start-AzResilienceManagementRecoveryPlanTestFailover -RecoveryPlanName + -ServiceGroupInputObject -OperationId -Body + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### TriggerViaIdentityServiceGroupExpanded +``` +Start-AzResilienceManagementRecoveryPlanTestFailover -RecoveryPlanName + -ServiceGroupInputObject -OperationId + [-ExecutionConfigurationUserConsent ] [-FailoverRequestPropertySelectedResourceId ] + [-FailoverRequestPropertySourceLocation ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### TriggerViaJsonFilePath +``` +Start-AzResilienceManagementRecoveryPlanTestFailover -RecoveryPlanName -ServiceGroupName + -OperationId -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### TriggerViaJsonString +``` +Start-AzResilienceManagementRecoveryPlanTestFailover -RecoveryPlanName -ServiceGroupName + -OperationId -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +This action triggers the test failover operation on the recovery orchestration plan for the qualified resources. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +Failover post action request. +To construct, see NOTES section for BODY properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IFailoverRequest +Parameter Sets: Trigger, TriggerViaIdentity, TriggerViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExecutionConfigurationUserConsent +User consent for performing recovery action. + +```yaml +Type: System.String +Parameter Sets: TriggerExpanded, TriggerViaIdentityExpanded, TriggerViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FailoverRequestPropertySelectedResourceId +Selected recovery resource Ids to be processed. +If not provided, all qualified resources based on the source location(s) will be processed. + +```yaml +Type: System.String[] +Parameter Sets: TriggerExpanded, TriggerViaIdentityExpanded, TriggerViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FailoverRequestPropertySourceLocation +Source locations from where resources to be failed-over. + +```yaml +Type: System.String[] +Parameter Sets: TriggerExpanded, TriggerViaIdentityExpanded, TriggerViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: TriggerViaIdentity, TriggerViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Trigger operation + +```yaml +Type: System.String +Parameter Sets: TriggerViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Trigger operation + +```yaml +Type: System.String +Parameter Sets: TriggerViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +A GUID that represents the Long Running OperationId. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecoveryPlanName +The name of the recovery orchestration plan. + +```yaml +Type: System.String +Parameter Sets: Trigger, TriggerExpanded, TriggerViaIdentityServiceGroup, TriggerViaIdentityServiceGroupExpanded, TriggerViaJsonFilePath, TriggerViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: TriggerViaIdentityServiceGroup, TriggerViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Trigger, TriggerExpanded, TriggerViaJsonFilePath, TriggerViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IFailoverRequest + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRecoveryPlanActionBaseResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementRecoveryPlanTestFailoverCleanup.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementRecoveryPlanTestFailoverCleanup.md new file mode 100644 index 000000000000..72de531fc084 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Start-AzResilienceManagementRecoveryPlanTestFailoverCleanup.md @@ -0,0 +1,324 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/start-azresiliencemanagementrecoveryplantestfailovercleanup +schema: 2.0.0 +--- + +# Start-AzResilienceManagementRecoveryPlanTestFailoverCleanup + +## SYNOPSIS +This action triggers the test failover cleanup operation on the recovery orchestration plan for the qualified resources. + +## SYNTAX + +### TriggerExpanded (Default) +``` +Start-AzResilienceManagementRecoveryPlanTestFailoverCleanup -RecoveryPlanName + -ServiceGroupName -OperationId [-Comment ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### Trigger +``` +Start-AzResilienceManagementRecoveryPlanTestFailoverCleanup -RecoveryPlanName + -ServiceGroupName -OperationId -Body + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### TriggerViaIdentity +``` +Start-AzResilienceManagementRecoveryPlanTestFailoverCleanup -InputObject + -OperationId -Body [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### TriggerViaIdentityExpanded +``` +Start-AzResilienceManagementRecoveryPlanTestFailoverCleanup -InputObject + -OperationId [-Comment ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### TriggerViaIdentityServiceGroup +``` +Start-AzResilienceManagementRecoveryPlanTestFailoverCleanup -RecoveryPlanName + -ServiceGroupInputObject -OperationId + -Body [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### TriggerViaIdentityServiceGroupExpanded +``` +Start-AzResilienceManagementRecoveryPlanTestFailoverCleanup -RecoveryPlanName + -ServiceGroupInputObject -OperationId [-Comment ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### TriggerViaJsonFilePath +``` +Start-AzResilienceManagementRecoveryPlanTestFailoverCleanup -RecoveryPlanName + -ServiceGroupName -OperationId -JsonFilePath [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### TriggerViaJsonString +``` +Start-AzResilienceManagementRecoveryPlanTestFailoverCleanup -RecoveryPlanName + -ServiceGroupName -OperationId -JsonString [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +This action triggers the test failover cleanup operation on the recovery orchestration plan for the qualified resources. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +TestFailoverCleanup post action request. +To construct, see NOTES section for BODY properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.ITestFailoverCleanupRequest +Parameter Sets: Trigger, TriggerViaIdentity, TriggerViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Comment +Comments for test failover cleanup. + +```yaml +Type: System.String +Parameter Sets: TriggerExpanded, TriggerViaIdentityExpanded, TriggerViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: TriggerViaIdentity, TriggerViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Trigger operation + +```yaml +Type: System.String +Parameter Sets: TriggerViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Trigger operation + +```yaml +Type: System.String +Parameter Sets: TriggerViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +A GUID that represents the Long Running OperationId. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecoveryPlanName +The name of the recovery orchestration plan. + +```yaml +Type: System.String +Parameter Sets: Trigger, TriggerExpanded, TriggerViaIdentityServiceGroup, TriggerViaIdentityServiceGroupExpanded, TriggerViaJsonFilePath, TriggerViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: TriggerViaIdentityServiceGroup, TriggerViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Trigger, TriggerExpanded, TriggerViaJsonFilePath, TriggerViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.ITestFailoverCleanupRequest + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRecoveryPlanActionBaseResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Stop-AzResilienceManagementDrill.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Stop-AzResilienceManagementDrill.md new file mode 100644 index 000000000000..7de8c65f9c37 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Stop-AzResilienceManagementDrill.md @@ -0,0 +1,338 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/stop-azresiliencemanagementdrill +schema: 2.0.0 +--- + +# Stop-AzResilienceManagementDrill + +## SYNOPSIS +This ends the currently running instance of the Drill. + +## SYNTAX + +### EndExpanded (Default) +``` +Stop-AzResilienceManagementDrill -Name -ServiceGroupName -OperationId + -Attestation -AttestationNote [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### End +``` +Stop-AzResilienceManagementDrill -Name -ServiceGroupName -OperationId + -Body [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### EndViaIdentity +``` +Stop-AzResilienceManagementDrill -InputObject -OperationId + -Body [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### EndViaIdentityExpanded +``` +Stop-AzResilienceManagementDrill -InputObject -OperationId + -Attestation -AttestationNote [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### EndViaIdentityServiceGroup +``` +Stop-AzResilienceManagementDrill -Name -ServiceGroupInputObject + -OperationId -Body [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### EndViaIdentityServiceGroupExpanded +``` +Stop-AzResilienceManagementDrill -Name -ServiceGroupInputObject + -OperationId -Attestation -AttestationNote [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### EndViaJsonFilePath +``` +Stop-AzResilienceManagementDrill -Name -ServiceGroupName -OperationId + -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### EndViaJsonString +``` +Stop-AzResilienceManagementDrill -Name -ServiceGroupName -OperationId + -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +This ends the currently running instance of the Drill. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Attestation +Attestation Status + +```yaml +Type: System.String +Parameter Sets: EndExpanded, EndViaIdentityExpanded, EndViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AttestationNote +Notes + +```yaml +Type: System.String +Parameter Sets: EndExpanded, EndViaIdentityExpanded, EndViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +Request body of the End Action of Drill. +To construct, see NOTES section for BODY properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IDrillEndRequest +Parameter Sets: End, EndViaIdentity, EndViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: EndViaIdentity, EndViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the End operation + +```yaml +Type: System.String +Parameter Sets: EndViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the End operation + +```yaml +Type: System.String +Parameter Sets: EndViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the Drill + +```yaml +Type: System.String +Parameter Sets: End, EndExpanded, EndViaIdentityServiceGroup, EndViaIdentityServiceGroupExpanded, EndViaJsonFilePath, EndViaJsonString +Aliases: DrillName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +A GUID that represents the Long Running OperationId. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: EndViaIdentityServiceGroup, EndViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: End, EndExpanded, EndViaJsonFilePath, EndViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IDrillEndRequest + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IDrillActionResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Stop-AzResilienceManagementRecoveryJob.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Stop-AzResilienceManagementRecoveryJob.md new file mode 100644 index 000000000000..d8625645c90d --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Stop-AzResilienceManagementRecoveryJob.md @@ -0,0 +1,368 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/stop-azresiliencemanagementrecoveryjob +schema: 2.0.0 +--- + +# Stop-AzResilienceManagementRecoveryJob + +## SYNOPSIS +This action attempts to cancel the ongoing recovery orchestration job. + +## SYNTAX + +### CancelExpanded (Default) +``` +Stop-AzResilienceManagementRecoveryJob -Name -RecoveryPlanName -ServiceGroupName + -OperationId [-Description ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### Cancel +``` +Stop-AzResilienceManagementRecoveryJob -Name -RecoveryPlanName -ServiceGroupName + -OperationId -Body [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### CancelViaIdentity +``` +Stop-AzResilienceManagementRecoveryJob -InputObject -OperationId + -Body [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### CancelViaIdentityExpanded +``` +Stop-AzResilienceManagementRecoveryJob -InputObject -OperationId + [-Description ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### CancelViaIdentityRecoveryPlan +``` +Stop-AzResilienceManagementRecoveryJob -Name -RecoveryPlanInputObject + -OperationId -Body [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### CancelViaIdentityRecoveryPlanExpanded +``` +Stop-AzResilienceManagementRecoveryJob -Name -RecoveryPlanInputObject + -OperationId [-Description ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### CancelViaIdentityServiceGroup +``` +Stop-AzResilienceManagementRecoveryJob -Name -RecoveryPlanName + -ServiceGroupInputObject -OperationId -Body + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CancelViaIdentityServiceGroupExpanded +``` +Stop-AzResilienceManagementRecoveryJob -Name -RecoveryPlanName + -ServiceGroupInputObject -OperationId [-Description ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CancelViaJsonFilePath +``` +Stop-AzResilienceManagementRecoveryJob -Name -RecoveryPlanName -ServiceGroupName + -OperationId -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### CancelViaJsonString +``` +Stop-AzResilienceManagementRecoveryJob -Name -RecoveryPlanName -ServiceGroupName + -OperationId -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +This action attempts to cancel the ongoing recovery orchestration job. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +Request body for providing user input for a recovery action. +To construct, see NOTES section for BODY properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRecoveryActionRequest +Parameter Sets: Cancel, CancelViaIdentity, CancelViaIdentityRecoveryPlan, CancelViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +User-provided input for the action. + +```yaml +Type: System.String +Parameter Sets: CancelExpanded, CancelViaIdentityExpanded, CancelViaIdentityRecoveryPlanExpanded, CancelViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: CancelViaIdentity, CancelViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Cancel operation + +```yaml +Type: System.String +Parameter Sets: CancelViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Cancel operation + +```yaml +Type: System.String +Parameter Sets: CancelViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The unique name (GUID) of the recovery job. + +```yaml +Type: System.String +Parameter Sets: Cancel, CancelExpanded, CancelViaIdentityRecoveryPlan, CancelViaIdentityRecoveryPlanExpanded, CancelViaIdentityServiceGroup, CancelViaIdentityServiceGroupExpanded, CancelViaJsonFilePath, CancelViaJsonString +Aliases: RecoveryJobName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +A GUID that represents the Long Running OperationId. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecoveryPlanInputObject +Identity Parameter +To construct, see NOTES section for RECOVERYPLANINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: CancelViaIdentityRecoveryPlan, CancelViaIdentityRecoveryPlanExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -RecoveryPlanName +The name of the recovery orchestration plan. + +```yaml +Type: System.String +Parameter Sets: Cancel, CancelExpanded, CancelViaIdentityServiceGroup, CancelViaIdentityServiceGroupExpanded, CancelViaJsonFilePath, CancelViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: CancelViaIdentityServiceGroup, CancelViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Cancel, CancelExpanded, CancelViaJsonFilePath, CancelViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRecoveryActionRequest + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IErrorResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementDrill.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementDrill.md new file mode 100644 index 000000000000..82b65d89c4b6 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementDrill.md @@ -0,0 +1,342 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/test-azresiliencemanagementdrill +schema: 2.0.0 +--- + +# Test-AzResilienceManagementDrill + +## SYNOPSIS +This returns eligible resource to be faulted or failed over. + +## SYNTAX + +### ValidateExpanded (Default) +``` +Test-AzResilienceManagementDrill -Name -ServiceGroupName -OperationId + [-ValidateForExecutionPropertyOperationName ] + [-ValidateForExecutionPropertySourceLocation ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### Validate +``` +Test-AzResilienceManagementDrill -Name -ServiceGroupName -OperationId + -Body [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### ValidateViaIdentity +``` +Test-AzResilienceManagementDrill -InputObject -OperationId + -Body [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### ValidateViaIdentityExpanded +``` +Test-AzResilienceManagementDrill -InputObject -OperationId + [-ValidateForExecutionPropertyOperationName ] + [-ValidateForExecutionPropertySourceLocation ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### ValidateViaIdentityServiceGroup +``` +Test-AzResilienceManagementDrill -Name -ServiceGroupInputObject + -OperationId -Body [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### ValidateViaIdentityServiceGroupExpanded +``` +Test-AzResilienceManagementDrill -Name -ServiceGroupInputObject + -OperationId [-ValidateForExecutionPropertyOperationName ] + [-ValidateForExecutionPropertySourceLocation ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### ValidateViaJsonFilePath +``` +Test-AzResilienceManagementDrill -Name -ServiceGroupName -OperationId + -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### ValidateViaJsonString +``` +Test-AzResilienceManagementDrill -Name -ServiceGroupName -OperationId + -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +This returns eligible resource to be faulted or failed over. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +Request body of the Validate For Execute Action of Drill. +To construct, see NOTES section for BODY properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IValidateForExecutionRequest +Parameter Sets: Validate, ValidateViaIdentity, ValidateViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: ValidateViaIdentity, ValidateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Validate operation + +```yaml +Type: System.String +Parameter Sets: ValidateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Validate operation + +```yaml +Type: System.String +Parameter Sets: ValidateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the Drill + +```yaml +Type: System.String +Parameter Sets: Validate, ValidateExpanded, ValidateViaIdentityServiceGroup, ValidateViaIdentityServiceGroupExpanded, ValidateViaJsonFilePath, ValidateViaJsonString +Aliases: DrillName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +A GUID that represents the Long Running OperationId. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: ValidateViaIdentityServiceGroup, ValidateViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Validate, ValidateExpanded, ValidateViaJsonFilePath, ValidateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ValidateForExecutionPropertyOperationName +Operation name for which the validation is being done. +This is needed to determine the set of validations to be done for the operation. + +```yaml +Type: System.String +Parameter Sets: ValidateExpanded, ValidateViaIdentityExpanded, ValidateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ValidateForExecutionPropertySourceLocation +Physiscal Source locations from where resources to be failed-over or faulted. + +```yaml +Type: System.String[] +Parameter Sets: ValidateExpanded, ValidateViaIdentityExpanded, ValidateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IValidateForExecutionRequest + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IValidateForExecutionResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementDrillResyncReadiness.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementDrillResyncReadiness.md new file mode 100644 index 000000000000..5c8c01c80987 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementDrillResyncReadiness.md @@ -0,0 +1,240 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/test-azresiliencemanagementdrillresyncreadiness +schema: 2.0.0 +--- + +# Test-AzResilienceManagementDrillResyncReadiness + +## SYNOPSIS +This triggers detection of any drifts from the desired state of Resources and RBAC. + +## SYNTAX + +### Check (Default) +``` +Test-AzResilienceManagementDrillResyncReadiness -DrillName -ServiceGroupName + -OperationId [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### CheckViaIdentity +``` +Test-AzResilienceManagementDrillResyncReadiness -InputObject + -OperationId [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### CheckViaIdentityServiceGroup +``` +Test-AzResilienceManagementDrillResyncReadiness -DrillName + -ServiceGroupInputObject -OperationId [-DefaultProfile ] + [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +This triggers detection of any drifts from the desired state of Resources and RBAC. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DrillName +The name of the Drill + +```yaml +Type: System.String +Parameter Sets: Check, CheckViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: CheckViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +A GUID that represents the Long Running OperationId. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: CheckViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Check +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementRecoveryPlanActionReadiness.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementRecoveryPlanActionReadiness.md new file mode 100644 index 000000000000..f31e71fce40d --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementRecoveryPlanActionReadiness.md @@ -0,0 +1,225 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/test-azresiliencemanagementrecoveryplanactionreadiness +schema: 2.0.0 +--- + +# Test-AzResilienceManagementRecoveryPlanActionReadiness + +## SYNOPSIS +This action performs the necessary readiness check on the recovery orchestration plan to ensure it is in the desired state and eligible for all recovery actions, including all protected resources. + +## SYNTAX + +### Check (Default) +``` +Test-AzResilienceManagementRecoveryPlanActionReadiness -RecoveryPlanName -ServiceGroupName + -OperationId [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### CheckViaIdentity +``` +Test-AzResilienceManagementRecoveryPlanActionReadiness -InputObject + -OperationId [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### CheckViaIdentityServiceGroup +``` +Test-AzResilienceManagementRecoveryPlanActionReadiness -RecoveryPlanName + -ServiceGroupInputObject -OperationId [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +This action performs the necessary readiness check on the recovery orchestration plan to ensure it is in the desired state and eligible for all recovery actions, including all protected resources. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: CheckViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +A GUID that represents the Long Running OperationId. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecoveryPlanName +The name of the recovery orchestration plan. + +```yaml +Type: System.String +Parameter Sets: Check, CheckViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: CheckViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Check +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRecoveryPlanActionBaseResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementRecoveryPlanFailoverCommitValidation.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementRecoveryPlanFailoverCommitValidation.md new file mode 100644 index 000000000000..14781ec6f60c --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementRecoveryPlanFailoverCommitValidation.md @@ -0,0 +1,225 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/test-azresiliencemanagementrecoveryplanfailovercommitvalidation +schema: 2.0.0 +--- + +# Test-AzResilienceManagementRecoveryPlanFailoverCommitValidation + +## SYNOPSIS +This action checks if the recovery orchestration plan is eligible for failover commit operation, ensuring it meets the necessary criteria and provides a list of qualified and unqualified resources. + +## SYNTAX + +### Validate (Default) +``` +Test-AzResilienceManagementRecoveryPlanFailoverCommitValidation -RecoveryPlanName + -ServiceGroupName -OperationId [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### ValidateViaIdentity +``` +Test-AzResilienceManagementRecoveryPlanFailoverCommitValidation -InputObject + -OperationId [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### ValidateViaIdentityServiceGroup +``` +Test-AzResilienceManagementRecoveryPlanFailoverCommitValidation -RecoveryPlanName + -ServiceGroupInputObject -OperationId [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +This action checks if the recovery orchestration plan is eligible for failover commit operation, ensuring it meets the necessary criteria and provides a list of qualified and unqualified resources. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: ValidateViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +A GUID that represents the Long Running OperationId. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecoveryPlanName +The name of the recovery orchestration plan. + +```yaml +Type: System.String +Parameter Sets: Validate, ValidateViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: ValidateViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Validate +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IValidateForRecoveryOperationBaseResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementRecoveryPlanFailoverValidation.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementRecoveryPlanFailoverValidation.md new file mode 100644 index 000000000000..2dd0c7e8876a --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementRecoveryPlanFailoverValidation.md @@ -0,0 +1,358 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/test-azresiliencemanagementrecoveryplanfailovervalidation +schema: 2.0.0 +--- + +# Test-AzResilienceManagementRecoveryPlanFailoverValidation + +## SYNOPSIS +This action checks if the recovery orchestration plan is eligible for failover operation, ensuring it meets the necessary criteria and provides a list of qualified and unqualified resources. + +## SYNTAX + +### ValidateExpanded (Default) +``` +Test-AzResilienceManagementRecoveryPlanFailoverValidation -RecoveryPlanName + -ServiceGroupName -OperationId [-ExecutionConfigurationUserConsent ] + [-FailoverRequestPropertySelectedResourceId ] [-FailoverRequestPropertySourceLocation ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### Validate +``` +Test-AzResilienceManagementRecoveryPlanFailoverValidation -RecoveryPlanName + -ServiceGroupName -OperationId -Body [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ValidateViaIdentity +``` +Test-AzResilienceManagementRecoveryPlanFailoverValidation -InputObject + -OperationId -Body [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### ValidateViaIdentityExpanded +``` +Test-AzResilienceManagementRecoveryPlanFailoverValidation -InputObject + -OperationId [-ExecutionConfigurationUserConsent ] + [-FailoverRequestPropertySelectedResourceId ] [-FailoverRequestPropertySourceLocation ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ValidateViaIdentityServiceGroup +``` +Test-AzResilienceManagementRecoveryPlanFailoverValidation -RecoveryPlanName + -ServiceGroupInputObject -OperationId -Body + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ValidateViaIdentityServiceGroupExpanded +``` +Test-AzResilienceManagementRecoveryPlanFailoverValidation -RecoveryPlanName + -ServiceGroupInputObject -OperationId + [-ExecutionConfigurationUserConsent ] [-FailoverRequestPropertySelectedResourceId ] + [-FailoverRequestPropertySourceLocation ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### ValidateViaJsonFilePath +``` +Test-AzResilienceManagementRecoveryPlanFailoverValidation -RecoveryPlanName + -ServiceGroupName -OperationId -JsonFilePath [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ValidateViaJsonString +``` +Test-AzResilienceManagementRecoveryPlanFailoverValidation -RecoveryPlanName + -ServiceGroupName -OperationId -JsonString [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +This action checks if the recovery orchestration plan is eligible for failover operation, ensuring it meets the necessary criteria and provides a list of qualified and unqualified resources. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +Failover post action request. +To construct, see NOTES section for BODY properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IFailoverRequest +Parameter Sets: Validate, ValidateViaIdentity, ValidateViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExecutionConfigurationUserConsent +User consent for performing recovery action. + +```yaml +Type: System.String +Parameter Sets: ValidateExpanded, ValidateViaIdentityExpanded, ValidateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FailoverRequestPropertySelectedResourceId +Selected recovery resource Ids to be processed. +If not provided, all qualified resources based on the source location(s) will be processed. + +```yaml +Type: System.String[] +Parameter Sets: ValidateExpanded, ValidateViaIdentityExpanded, ValidateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FailoverRequestPropertySourceLocation +Source locations from where resources to be failed-over. + +```yaml +Type: System.String[] +Parameter Sets: ValidateExpanded, ValidateViaIdentityExpanded, ValidateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: ValidateViaIdentity, ValidateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Validate operation + +```yaml +Type: System.String +Parameter Sets: ValidateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Validate operation + +```yaml +Type: System.String +Parameter Sets: ValidateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +A GUID that represents the Long Running OperationId. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecoveryPlanName +The name of the recovery orchestration plan. + +```yaml +Type: System.String +Parameter Sets: Validate, ValidateExpanded, ValidateViaIdentityServiceGroup, ValidateViaIdentityServiceGroupExpanded, ValidateViaJsonFilePath, ValidateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: ValidateViaIdentityServiceGroup, ValidateViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Validate, ValidateExpanded, ValidateViaJsonFilePath, ValidateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IFailoverRequest + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IValidateForRecoveryOperationBaseResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementRecoveryPlanOperationValidation.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementRecoveryPlanOperationValidation.md new file mode 100644 index 000000000000..e1bcea7af384 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementRecoveryPlanOperationValidation.md @@ -0,0 +1,324 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/test-azresiliencemanagementrecoveryplanoperationvalidation +schema: 2.0.0 +--- + +# Test-AzResilienceManagementRecoveryPlanOperationValidation + +## SYNOPSIS +This action checks if the recovery orchestration plan is eligible for operations like failover and reprotect, ensuring it meets the necessary criteria. + +## SYNTAX + +### ValidateExpanded (Default) +``` +Test-AzResilienceManagementRecoveryPlanOperationValidation -RecoveryPlanName + -ServiceGroupName -OperationId -OperationName [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### Validate +``` +Test-AzResilienceManagementRecoveryPlanOperationValidation -RecoveryPlanName + -ServiceGroupName -OperationId -Body + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ValidateViaIdentity +``` +Test-AzResilienceManagementRecoveryPlanOperationValidation -InputObject + -OperationId -Body [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### ValidateViaIdentityExpanded +``` +Test-AzResilienceManagementRecoveryPlanOperationValidation -InputObject + -OperationId -OperationName [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### ValidateViaIdentityServiceGroup +``` +Test-AzResilienceManagementRecoveryPlanOperationValidation -RecoveryPlanName + -ServiceGroupInputObject -OperationId + -Body [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### ValidateViaIdentityServiceGroupExpanded +``` +Test-AzResilienceManagementRecoveryPlanOperationValidation -RecoveryPlanName + -ServiceGroupInputObject -OperationId -OperationName + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ValidateViaJsonFilePath +``` +Test-AzResilienceManagementRecoveryPlanOperationValidation -RecoveryPlanName + -ServiceGroupName -OperationId -JsonFilePath [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ValidateViaJsonString +``` +Test-AzResilienceManagementRecoveryPlanOperationValidation -RecoveryPlanName + -ServiceGroupName -OperationId -JsonString [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +This action checks if the recovery orchestration plan is eligible for operations like failover and reprotect, ensuring it meets the necessary criteria. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +ValidateForOperation post action request to check if operation can be performed. +To construct, see NOTES section for BODY properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IValidateForOperationRequest +Parameter Sets: Validate, ValidateViaIdentity, ValidateViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: ValidateViaIdentity, ValidateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Validate operation + +```yaml +Type: System.String +Parameter Sets: ValidateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Validate operation + +```yaml +Type: System.String +Parameter Sets: ValidateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +A GUID that represents the Long Running OperationId. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationName +Operation Name to validate. + +```yaml +Type: System.String +Parameter Sets: ValidateExpanded, ValidateViaIdentityExpanded, ValidateViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecoveryPlanName +The name of the recovery orchestration plan. + +```yaml +Type: System.String +Parameter Sets: Validate, ValidateExpanded, ValidateViaIdentityServiceGroup, ValidateViaIdentityServiceGroupExpanded, ValidateViaJsonFilePath, ValidateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: ValidateViaIdentityServiceGroup, ValidateViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Validate, ValidateExpanded, ValidateViaJsonFilePath, ValidateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IValidateForOperationRequest + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IErrorResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementRecoveryPlanReprotectValidation.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementRecoveryPlanReprotectValidation.md new file mode 100644 index 000000000000..b214e76f5a1c --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementRecoveryPlanReprotectValidation.md @@ -0,0 +1,325 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/test-azresiliencemanagementrecoveryplanreprotectvalidation +schema: 2.0.0 +--- + +# Test-AzResilienceManagementRecoveryPlanReprotectValidation + +## SYNOPSIS +This action checks if the recovery orchestration plan is eligible for reprotect operation, ensuring it meets the necessary criteria and provides a list of qualified and unqualified resources. + +## SYNTAX + +### ValidateExpanded (Default) +``` +Test-AzResilienceManagementRecoveryPlanReprotectValidation -RecoveryPlanName + -ServiceGroupName -OperationId [-ReprotectRequestPropertySelectedResourceId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### Validate +``` +Test-AzResilienceManagementRecoveryPlanReprotectValidation -RecoveryPlanName + -ServiceGroupName -OperationId -Body [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ValidateViaIdentity +``` +Test-AzResilienceManagementRecoveryPlanReprotectValidation -InputObject + -OperationId -Body [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### ValidateViaIdentityExpanded +``` +Test-AzResilienceManagementRecoveryPlanReprotectValidation -InputObject + -OperationId [-ReprotectRequestPropertySelectedResourceId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ValidateViaIdentityServiceGroup +``` +Test-AzResilienceManagementRecoveryPlanReprotectValidation -RecoveryPlanName + -ServiceGroupInputObject -OperationId -Body + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ValidateViaIdentityServiceGroupExpanded +``` +Test-AzResilienceManagementRecoveryPlanReprotectValidation -RecoveryPlanName + -ServiceGroupInputObject -OperationId + [-ReprotectRequestPropertySelectedResourceId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### ValidateViaJsonFilePath +``` +Test-AzResilienceManagementRecoveryPlanReprotectValidation -RecoveryPlanName + -ServiceGroupName -OperationId -JsonFilePath [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ValidateViaJsonString +``` +Test-AzResilienceManagementRecoveryPlanReprotectValidation -RecoveryPlanName + -ServiceGroupName -OperationId -JsonString [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +This action checks if the recovery orchestration plan is eligible for reprotect operation, ensuring it meets the necessary criteria and provides a list of qualified and unqualified resources. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +Reprotect post action request. +To construct, see NOTES section for BODY properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IReprotectRequest +Parameter Sets: Validate, ValidateViaIdentity, ValidateViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: ValidateViaIdentity, ValidateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Validate operation + +```yaml +Type: System.String +Parameter Sets: ValidateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Validate operation + +```yaml +Type: System.String +Parameter Sets: ValidateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +A GUID that represents the Long Running OperationId. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecoveryPlanName +The name of the recovery orchestration plan. + +```yaml +Type: System.String +Parameter Sets: Validate, ValidateExpanded, ValidateViaIdentityServiceGroup, ValidateViaIdentityServiceGroupExpanded, ValidateViaJsonFilePath, ValidateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReprotectRequestPropertySelectedResourceId +Selected recovery resource Ids to be processed. +If not provided, all qualified resources will be processed. + +```yaml +Type: System.String[] +Parameter Sets: ValidateExpanded, ValidateViaIdentityExpanded, ValidateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: ValidateViaIdentityServiceGroup, ValidateViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Validate, ValidateExpanded, ValidateViaJsonFilePath, ValidateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IReprotectRequest + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IValidateForRecoveryOperationBaseResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementRecoveryPlanTestFailoverCleanupValidation.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementRecoveryPlanTestFailoverCleanupValidation.md new file mode 100644 index 000000000000..9a9c88f38442 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementRecoveryPlanTestFailoverCleanupValidation.md @@ -0,0 +1,225 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/test-azresiliencemanagementrecoveryplantestfailovercleanupvalidation +schema: 2.0.0 +--- + +# Test-AzResilienceManagementRecoveryPlanTestFailoverCleanupValidation + +## SYNOPSIS +This action checks if the recovery orchestration plan is eligible for test failover cleanup operation, ensuring it meets the necessary criteria and provides a list of qualified and unqualified resources. + +## SYNTAX + +### Validate (Default) +``` +Test-AzResilienceManagementRecoveryPlanTestFailoverCleanupValidation -RecoveryPlanName + -ServiceGroupName -OperationId [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### ValidateViaIdentity +``` +Test-AzResilienceManagementRecoveryPlanTestFailoverCleanupValidation + -InputObject -OperationId [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ValidateViaIdentityServiceGroup +``` +Test-AzResilienceManagementRecoveryPlanTestFailoverCleanupValidation -RecoveryPlanName + -ServiceGroupInputObject -OperationId [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +This action checks if the recovery orchestration plan is eligible for test failover cleanup operation, ensuring it meets the necessary criteria and provides a list of qualified and unqualified resources. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: ValidateViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +A GUID that represents the Long Running OperationId. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecoveryPlanName +The name of the recovery orchestration plan. + +```yaml +Type: System.String +Parameter Sets: Validate, ValidateViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: ValidateViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Validate +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IValidateForRecoveryOperationBaseResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementRecoveryPlanTestFailoverValidation.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementRecoveryPlanTestFailoverValidation.md new file mode 100644 index 000000000000..0d405379caf7 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Test-AzResilienceManagementRecoveryPlanTestFailoverValidation.md @@ -0,0 +1,358 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/test-azresiliencemanagementrecoveryplantestfailovervalidation +schema: 2.0.0 +--- + +# Test-AzResilienceManagementRecoveryPlanTestFailoverValidation + +## SYNOPSIS +This action checks if the recovery orchestration plan is eligible for test failover operation, ensuring it meets the necessary criteria and provides a list of qualified and unqualified resources. + +## SYNTAX + +### ValidateExpanded (Default) +``` +Test-AzResilienceManagementRecoveryPlanTestFailoverValidation -RecoveryPlanName + -ServiceGroupName -OperationId [-ExecutionConfigurationUserConsent ] + [-FailoverRequestPropertySelectedResourceId ] [-FailoverRequestPropertySourceLocation ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### Validate +``` +Test-AzResilienceManagementRecoveryPlanTestFailoverValidation -RecoveryPlanName + -ServiceGroupName -OperationId -Body [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ValidateViaIdentity +``` +Test-AzResilienceManagementRecoveryPlanTestFailoverValidation -InputObject + -OperationId -Body [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### ValidateViaIdentityExpanded +``` +Test-AzResilienceManagementRecoveryPlanTestFailoverValidation -InputObject + -OperationId [-ExecutionConfigurationUserConsent ] + [-FailoverRequestPropertySelectedResourceId ] [-FailoverRequestPropertySourceLocation ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ValidateViaIdentityServiceGroup +``` +Test-AzResilienceManagementRecoveryPlanTestFailoverValidation -RecoveryPlanName + -ServiceGroupInputObject -OperationId -Body + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ValidateViaIdentityServiceGroupExpanded +``` +Test-AzResilienceManagementRecoveryPlanTestFailoverValidation -RecoveryPlanName + -ServiceGroupInputObject -OperationId + [-ExecutionConfigurationUserConsent ] [-FailoverRequestPropertySelectedResourceId ] + [-FailoverRequestPropertySourceLocation ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### ValidateViaJsonFilePath +``` +Test-AzResilienceManagementRecoveryPlanTestFailoverValidation -RecoveryPlanName + -ServiceGroupName -OperationId -JsonFilePath [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ValidateViaJsonString +``` +Test-AzResilienceManagementRecoveryPlanTestFailoverValidation -RecoveryPlanName + -ServiceGroupName -OperationId -JsonString [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +This action checks if the recovery orchestration plan is eligible for test failover operation, ensuring it meets the necessary criteria and provides a list of qualified and unqualified resources. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +Failover post action request. +To construct, see NOTES section for BODY properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IFailoverRequest +Parameter Sets: Validate, ValidateViaIdentity, ValidateViaIdentityServiceGroup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExecutionConfigurationUserConsent +User consent for performing recovery action. + +```yaml +Type: System.String +Parameter Sets: ValidateExpanded, ValidateViaIdentityExpanded, ValidateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FailoverRequestPropertySelectedResourceId +Selected recovery resource Ids to be processed. +If not provided, all qualified resources based on the source location(s) will be processed. + +```yaml +Type: System.String[] +Parameter Sets: ValidateExpanded, ValidateViaIdentityExpanded, ValidateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FailoverRequestPropertySourceLocation +Source locations from where resources to be failed-over. + +```yaml +Type: System.String[] +Parameter Sets: ValidateExpanded, ValidateViaIdentityExpanded, ValidateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: ValidateViaIdentity, ValidateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Validate operation + +```yaml +Type: System.String +Parameter Sets: ValidateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Validate operation + +```yaml +Type: System.String +Parameter Sets: ValidateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +A GUID that represents the Long Running OperationId. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecoveryPlanName +The name of the recovery orchestration plan. + +```yaml +Type: System.String +Parameter Sets: Validate, ValidateExpanded, ValidateViaIdentityServiceGroup, ValidateViaIdentityServiceGroupExpanded, ValidateViaJsonFilePath, ValidateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: ValidateViaIdentityServiceGroup, ValidateViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Validate, ValidateExpanded, ValidateViaJsonFilePath, ValidateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IFailoverRequest + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IValidateForRecoveryOperationBaseResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementDrill.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementDrill.md new file mode 100644 index 000000000000..b5782f4f6345 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementDrill.md @@ -0,0 +1,571 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/update-azresiliencemanagementdrill +schema: 2.0.0 +--- + +# Update-AzResilienceManagementDrill + +## SYNOPSIS +Update a Drill + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzResilienceManagementDrill -Name -ServiceGroupName + [-ChaosResourceIdentityForFaultType ] [-ChaosResourceIdentityForFaultUserAssignedIdentity ] + [-ChaosResourcePropertiesIdentityType ] + [-ChaosResourcePropertiesIdentityUserAssignedIdentity ] [-DrillAssetPropertyRegion ] + [-DrillAssetPropertySubscription ] [-HealthModelMonitoringPropertiesIdentityType ] + [-HealthModelMonitoringPropertiesIdentityUserAssignedIdentity ] + [-HealthModelMonitoringPropertyDiscoveryRuleId ] [-IdentityType ] + [-IdentityUserAssignedIdentity ] [-MonitoringPropertiesIdentityType ] + [-MonitoringPropertiesIdentityUserAssignedIdentity ] [-RbacSetupMode ] + [-RecoveryPlanPropertiesIdentityType ] [-RecoveryPlanPropertiesIdentityUserAssignedIdentity ] + [-SliMonitoringPropertiesIdentityType ] + [-SliMonitoringPropertiesIdentityUserAssignedIdentity ] [-SliMonitoringPropertySli ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzResilienceManagementDrill -InputObject + [-ChaosResourceIdentityForFaultType ] [-ChaosResourceIdentityForFaultUserAssignedIdentity ] + [-ChaosResourcePropertiesIdentityType ] + [-ChaosResourcePropertiesIdentityUserAssignedIdentity ] [-DrillAssetPropertyRegion ] + [-DrillAssetPropertySubscription ] [-HealthModelMonitoringPropertiesIdentityType ] + [-HealthModelMonitoringPropertiesIdentityUserAssignedIdentity ] + [-HealthModelMonitoringPropertyDiscoveryRuleId ] [-IdentityType ] + [-IdentityUserAssignedIdentity ] [-MonitoringPropertiesIdentityType ] + [-MonitoringPropertiesIdentityUserAssignedIdentity ] [-RbacSetupMode ] + [-RecoveryPlanPropertiesIdentityType ] [-RecoveryPlanPropertiesIdentityUserAssignedIdentity ] + [-SliMonitoringPropertiesIdentityType ] + [-SliMonitoringPropertiesIdentityUserAssignedIdentity ] [-SliMonitoringPropertySli ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityServiceGroupExpanded +``` +Update-AzResilienceManagementDrill -Name -ServiceGroupInputObject + [-ChaosResourceIdentityForFaultType ] [-ChaosResourceIdentityForFaultUserAssignedIdentity ] + [-ChaosResourcePropertiesIdentityType ] + [-ChaosResourcePropertiesIdentityUserAssignedIdentity ] [-DrillAssetPropertyRegion ] + [-DrillAssetPropertySubscription ] [-HealthModelMonitoringPropertiesIdentityType ] + [-HealthModelMonitoringPropertiesIdentityUserAssignedIdentity ] + [-HealthModelMonitoringPropertyDiscoveryRuleId ] [-IdentityType ] + [-IdentityUserAssignedIdentity ] [-MonitoringPropertiesIdentityType ] + [-MonitoringPropertiesIdentityUserAssignedIdentity ] [-RbacSetupMode ] + [-RecoveryPlanPropertiesIdentityType ] [-RecoveryPlanPropertiesIdentityUserAssignedIdentity ] + [-SliMonitoringPropertiesIdentityType ] + [-SliMonitoringPropertiesIdentityUserAssignedIdentity ] [-SliMonitoringPropertySli ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzResilienceManagementDrill -Name -ServiceGroupName -JsonFilePath + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Update-AzResilienceManagementDrill -Name -ServiceGroupName -JsonString + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update a Drill + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ChaosResourceIdentityForFaultType +Identity type linked with the resource + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ChaosResourceIdentityForFaultUserAssignedIdentity +User assigned identity id linked with the resource + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ChaosResourcePropertiesIdentityType +Identity type linked with the resource + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ChaosResourcePropertiesIdentityUserAssignedIdentity +User assigned identity id linked with the resource + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DrillAssetPropertyRegion +Region where Drill's internal resources will be created. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DrillAssetPropertySubscription +Subscription where Drill's internal resources will be created. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HealthModelMonitoringPropertiesIdentityType +Identity type linked with the resource + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HealthModelMonitoringPropertiesIdentityUserAssignedIdentity +User assigned identity id linked with the resource + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HealthModelMonitoringPropertyDiscoveryRuleId +Full ARM Id of the discovery rule inside the Azure Health Model. +The parent Health Model is derived from this Id; it is the only identifier accepted on the wire. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityType +The type of managed identity assigned to this resource. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityUserAssignedIdentity +The identities assigned to this resource by the user. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MonitoringPropertiesIdentityType +Identity type linked with the resource + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MonitoringPropertiesIdentityUserAssignedIdentity +User assigned identity id linked with the resource + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the Drill + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityServiceGroupExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: DrillName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RbacSetupMode +RBAC setup mode. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecoveryPlanPropertiesIdentityType +Identity type linked with the resource + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecoveryPlanPropertiesIdentityUserAssignedIdentity +User assigned identity id linked with the resource + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SliMonitoringPropertiesIdentityType +Identity type linked with the resource + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SliMonitoringPropertiesIdentityUserAssignedIdentity +User assigned identity id linked with the resource + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SliMonitoringPropertySli +The SLIs selected for Drill monitoring. +Maximum of two entries: at most one Availability and one Latency. +Duplicate types or duplicate SLI Ids are rejected. +To construct, see NOTES section for SLIMONITORINGPROPERTYSLI properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.ISliSelection[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IDrill + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementDrillResource.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementDrillResource.md new file mode 100644 index 000000000000..bd47e22995d3 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementDrillResource.md @@ -0,0 +1,368 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/update-azresiliencemanagementdrillresource +schema: 2.0.0 +--- + +# Update-AzResilienceManagementDrillResource + +## SYNOPSIS +This enables the user to include, exclude or update resources from their Drill. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzResilienceManagementDrillResource -DrillName -ServiceGroupName + -OperationId -FaultDurationInMin [-ForceInclusionAndUpdate ] + [-ResourceListExcludeResource ] [-ResourceListIncludeResource ] + [-ResourceListUpdateResource ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzResilienceManagementDrillResource -InputObject -OperationId + -FaultDurationInMin [-ForceInclusionAndUpdate ] [-ResourceListExcludeResource ] + [-ResourceListIncludeResource ] + [-ResourceListUpdateResource ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityServiceGroupExpanded +``` +Update-AzResilienceManagementDrillResource -DrillName + -ServiceGroupInputObject -OperationId -FaultDurationInMin + [-ForceInclusionAndUpdate ] [-ResourceListExcludeResource ] + [-ResourceListIncludeResource ] + [-ResourceListUpdateResource ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzResilienceManagementDrillResource -DrillName -ServiceGroupName + -OperationId -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Update-AzResilienceManagementDrillResource -DrillName -ServiceGroupName + -OperationId -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +This enables the user to include, exclude or update resources from their Drill. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DrillName +The name of the Drill + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityServiceGroupExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FaultDurationInMin +Duration of faults. + +```yaml +Type: System.Int32 +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ForceInclusionAndUpdate +Whether to allow inclusion and update despite attention reasons. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +A GUID that represents the Long Running OperationId. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceListExcludeResource +Excluded resource + +```yaml +Type: System.String[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceListIncludeResource +Include resource +To construct, see NOTES section for RESOURCELISTINCLUDERESOURCE properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IIncludeOrUpdateResource[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceListUpdateResource +Update resource +To construct, see NOTES section for RESOURCELISTUPDATERESOURCE properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IIncludeOrUpdateResource[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementEnrollment.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementEnrollment.md new file mode 100644 index 000000000000..ae348079b02d --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementEnrollment.md @@ -0,0 +1,257 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/update-azresiliencemanagementenrollment +schema: 2.0.0 +--- + +# Update-AzResilienceManagementEnrollment + +## SYNOPSIS +Create an Enrollment. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzResilienceManagementEnrollment -Name -ResourceGroupName -UsagePlanName + [-SubscriptionId ] [-ServiceGroupId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzResilienceManagementEnrollment -InputObject + [-ServiceGroupId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaIdentityUsagePlanExpanded +``` +Update-AzResilienceManagementEnrollment -Name -UsagePlanInputObject + [-ServiceGroupId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Create an Enrollment. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the enrollment. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityUsagePlanExpanded +Aliases: EnrollmentName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupId +ARM resource identifier of the service group associated with this usage plan. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UsagePlanInputObject +Identity Parameter +To construct, see NOTES section for USAGEPLANINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: UpdateViaIdentityUsagePlanExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -UsagePlanName +The name of the usage plan. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IEnrollment + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementGoalAssignment.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementGoalAssignment.md new file mode 100644 index 000000000000..deec6c2f8375 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementGoalAssignment.md @@ -0,0 +1,316 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/update-azresiliencemanagementgoalassignment +schema: 2.0.0 +--- + +# Update-AzResilienceManagementGoalAssignment + +## SYNOPSIS +Update a GoalAssignment + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzResilienceManagementGoalAssignment -Name -ServiceGroupName + [-GoalAssignmentType ] [-GoalTemplateId ] [-RequireZonalResiliency] + [-ServiceLevelResource ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzResilienceManagementGoalAssignment -InputObject + [-GoalAssignmentType ] [-GoalTemplateId ] [-RequireZonalResiliency] + [-ServiceLevelResource ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### UpdateViaIdentityServiceGroupExpanded +``` +Update-AzResilienceManagementGoalAssignment -Name + -ServiceGroupInputObject [-GoalAssignmentType ] + [-GoalTemplateId ] [-RequireZonalResiliency] [-ServiceLevelResource ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzResilienceManagementGoalAssignment -Name -ServiceGroupName -JsonFilePath + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Update-AzResilienceManagementGoalAssignment -Name -ServiceGroupName -JsonString + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update a GoalAssignment + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GoalAssignmentType +The type of goal assignment. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GoalTemplateId +Arm id of the goal template. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the GoalAssignment + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityServiceGroupExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: GoalAssignmentName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RequireZonalResiliency +Whether zonal resiliency is required for this goal assignment. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceLevelResource +List of service level resources. +To construct, see NOTES section for SERVICELEVELRESOURCE properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IServiceLevelResource[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IGoalAssignment + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementGoalAssignmentGoalResource.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementGoalAssignmentGoalResource.md new file mode 100644 index 000000000000..7b120ea63852 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementGoalAssignmentGoalResource.md @@ -0,0 +1,294 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/update-azresiliencemanagementgoalassignmentgoalresource +schema: 2.0.0 +--- + +# Update-AzResilienceManagementGoalAssignmentGoalResource + +## SYNOPSIS +Refreshes the goal resources under a goal assignment. +This operation scans for new resources under the scope of the assignment. + +## SYNTAX + +### Refresh (Default) +``` +Update-AzResilienceManagementGoalAssignmentGoalResource -GoalAssignmentName + -ServiceGroupName [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### RefreshViaIdentity +``` +Update-AzResilienceManagementGoalAssignmentGoalResource -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### RefreshViaIdentityServiceGroup +``` +Update-AzResilienceManagementGoalAssignmentGoalResource -GoalAssignmentName + -ServiceGroupInputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### UpdateExpanded +``` +Update-AzResilienceManagementGoalAssignmentGoalResource -GoalAssignmentName + -ServiceGroupName -Resource [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzResilienceManagementGoalAssignmentGoalResource -InputObject + -Resource [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaIdentityServiceGroupExpanded +``` +Update-AzResilienceManagementGoalAssignmentGoalResource -GoalAssignmentName + -ServiceGroupInputObject -Resource + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzResilienceManagementGoalAssignmentGoalResource -GoalAssignmentName + -ServiceGroupName -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Update-AzResilienceManagementGoalAssignmentGoalResource -GoalAssignmentName + -ServiceGroupName -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Refreshes the goal resources under a goal assignment. +This operation scans for new resources under the scope of the assignment. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GoalAssignmentName +The name of the GoalAssignment + +```yaml +Type: System.String +Parameter Sets: Refresh, RefreshViaIdentityServiceGroup, UpdateExpanded, UpdateViaIdentityServiceGroupExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: RefreshViaIdentity, UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Resource +List of update goal resource. +To construct, see NOTES section for RESOURCE properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IGoalResource[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: RefreshViaIdentityServiceGroup, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: Refresh, UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRefreshGoalResourcesResponse + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IUpdateGoalResourceResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementGoalTemplate.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementGoalTemplate.md new file mode 100644 index 000000000000..f987013e58c0 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementGoalTemplate.md @@ -0,0 +1,333 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/update-azresiliencemanagementgoaltemplate +schema: 2.0.0 +--- + +# Update-AzResilienceManagementGoalTemplate + +## SYNOPSIS +Update a GoalTemplate + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzResilienceManagementGoalTemplate -Name -ServiceGroupName [-GoalType ] + [-RegionalRecoveryPointObjective ] [-RegionalRecoveryTimeObjective ] + [-RequireDisasterRecovery ] [-RequireHighAvailability ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzResilienceManagementGoalTemplate -InputObject [-GoalType ] + [-RegionalRecoveryPointObjective ] [-RegionalRecoveryTimeObjective ] + [-RequireDisasterRecovery ] [-RequireHighAvailability ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityServiceGroupExpanded +``` +Update-AzResilienceManagementGoalTemplate -Name + -ServiceGroupInputObject [-GoalType ] + [-RegionalRecoveryPointObjective ] [-RegionalRecoveryTimeObjective ] + [-RequireDisasterRecovery ] [-RequireHighAvailability ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzResilienceManagementGoalTemplate -Name -ServiceGroupName -JsonFilePath + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Update-AzResilienceManagementGoalTemplate -Name -ServiceGroupName -JsonString + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update a GoalTemplate + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GoalType +Type of Goal Template created by customer + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the goalTemplate + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityServiceGroupExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: GoalTemplateName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RegionalRecoveryPointObjective +Regional recovery point objective specified by customer. +eg, PT15M for 15 minutes + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RegionalRecoveryTimeObjective +Regional recovery time objective specified by customer. +eg, PT15M for 15 minutes + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RequireDisasterRecovery +Option specified by customer under disaster recovery section of goal template + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RequireHighAvailability +Option specified by customer under high availability section of goal template + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IGoalTemplate + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementRecoveryPlan.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementRecoveryPlan.md new file mode 100644 index 000000000000..5a49ff049812 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementRecoveryPlan.md @@ -0,0 +1,397 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/update-azresiliencemanagementrecoveryplan +schema: 2.0.0 +--- + +# Update-AzResilienceManagementRecoveryPlan + +## SYNOPSIS +Update a RecoveryPlan + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzResilienceManagementRecoveryPlan -Name -ServiceGroupName [-Description ] + [-GroupUniqueId ] [-IdentityType ] [-IdentityUserAssignedIdentity ] + [-OrderId ] [-PlanDescription ] [-PostAction ] + [-PreAction ] [-RecoveryGroupSettingAdditionalGroup ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzResilienceManagementRecoveryPlan -InputObject [-Description ] + [-GroupUniqueId ] [-IdentityType ] [-IdentityUserAssignedIdentity ] + [-OrderId ] [-PlanDescription ] [-PostAction ] + [-PreAction ] [-RecoveryGroupSettingAdditionalGroup ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityServiceGroupExpanded +``` +Update-AzResilienceManagementRecoveryPlan -Name + -ServiceGroupInputObject [-Description ] [-GroupUniqueId ] + [-IdentityType ] [-IdentityUserAssignedIdentity ] [-OrderId ] + [-PlanDescription ] [-PostAction ] + [-PreAction ] [-RecoveryGroupSettingAdditionalGroup ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzResilienceManagementRecoveryPlan -Name -ServiceGroupName -JsonFilePath + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Update-AzResilienceManagementRecoveryPlan -Name -ServiceGroupName -JsonString + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update a RecoveryPlan + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +A description of the recovery orchestration group. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupUniqueId +A unique id for the recovery orchestration group, which is a GUID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityType +The type of managed identity assigned to this resource. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityUserAssignedIdentity +The identities assigned to this resource by the user. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the recovery orchestration plan. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityServiceGroupExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: RecoveryPlanName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderId +The order ID of the recovery orchestration group. + +```yaml +Type: System.Int32 +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PlanDescription +A description of the recovery orchestration plan. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PostAction +Post-actions for the recovery orchestration group. +To construct, see NOTES section for POSTACTION properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRecoveryGroupBaseAction[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PreAction +Pre-actions for the recovery orchestration group. +To construct, see NOTES section for PREACTION properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRecoveryGroupBaseAction[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecoveryGroupSettingAdditionalGroup +Additional recovery orchestration group settings. +To construct, see NOTES section for RECOVERYGROUPSETTINGADDITIONALGROUP properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRecoveryGroup[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRecoveryPlan + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementRecoveryPlanActionResource.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementRecoveryPlanActionResource.md new file mode 100644 index 000000000000..242ca96a2e0c --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementRecoveryPlanActionResource.md @@ -0,0 +1,301 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/update-azresiliencemanagementrecoveryplanactionresource +schema: 2.0.0 +--- + +# Update-AzResilienceManagementRecoveryPlanActionResource + +## SYNOPSIS +This action adds or updates the resources to be included in the recovery orchestration plan. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzResilienceManagementRecoveryPlanActionResource -RecoveryPlanName -ServiceGroupName + -OperationId [-ResourcesToRemove ] [-ResourcesToUpdate ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzResilienceManagementRecoveryPlanActionResource -InputObject + -OperationId [-ResourcesToRemove ] [-ResourcesToUpdate ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityServiceGroupExpanded +``` +Update-AzResilienceManagementRecoveryPlanActionResource -RecoveryPlanName + -ServiceGroupInputObject -OperationId + [-ResourcesToRemove ] [-ResourcesToUpdate ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzResilienceManagementRecoveryPlanActionResource -RecoveryPlanName -ServiceGroupName + -OperationId -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Update-AzResilienceManagementRecoveryPlanActionResource -RecoveryPlanName -ServiceGroupName + -OperationId -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +This action adds or updates the resources to be included in the recovery orchestration plan. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +A GUID that represents the Long Running OperationId. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecoveryPlanName +The name of the recovery orchestration plan. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityServiceGroupExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourcesToRemove +A list of recovery orchestration resources that need to be removed from the recovery orchestration plan. + +```yaml +Type: System.String[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourcesToUpdate +A list of recovery orchestration resources whose properties need to be updated. +To construct, see NOTES section for RESOURCESTOUPDATE properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IRecoveryResource[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceGroupInputObject +Identity Parameter +To construct, see NOTES section for SERVICEGROUPINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: UpdateViaIdentityServiceGroupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ServiceGroupName +The name of the service group. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IUpdateRecoveryResourcesResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementUsagePlan.md b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementUsagePlan.md new file mode 100644 index 000000000000..60ecdd4f1df3 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/docs/exports/Update-AzResilienceManagementUsagePlan.md @@ -0,0 +1,261 @@ +--- +external help file: +Module Name: Az.ResilienceManagement +online version: https://learn.microsoft.com/powershell/module/az.resiliencemanagement/update-azresiliencemanagementusageplan +schema: 2.0.0 +--- + +# Update-AzResilienceManagementUsagePlan + +## SYNOPSIS +Update a UsagePlan + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzResilienceManagementUsagePlan -Name -ResourceGroupName [-SubscriptionId ] + [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzResilienceManagementUsagePlan -InputObject [-Tag ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzResilienceManagementUsagePlan -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaJsonString +``` +Update-AzResilienceManagementUsagePlan -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Update a UsagePlan + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the usage plan. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: UsagePlanName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Resource tags. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IResilienceManagementIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ResilienceManagement.Models.IUsagePlan + +## NOTES + +## RELATED LINKS + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Add-AzResilienceManagementDrillResource.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Add-AzResilienceManagementDrillResource.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Add-AzResilienceManagementDrillResource.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Add-AzResilienceManagementDrillRunNote.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Add-AzResilienceManagementDrillRunNote.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Add-AzResilienceManagementDrillRunNote.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementDrill.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementDrill.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementDrill.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementDrillResource.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementDrillResource.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementDrillResource.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementDrillRun.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementDrillRun.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementDrillRun.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementDrillRunReportDownloadUrl.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementDrillRunReportDownloadUrl.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementDrillRunReportDownloadUrl.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementDrillRunResource.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementDrillRunResource.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementDrillRunResource.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementEnrollment.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementEnrollment.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementEnrollment.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementGoalAssignment.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementGoalAssignment.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementGoalAssignment.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementGoalResource.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementGoalResource.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementGoalResource.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementGoalTemplate.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementGoalTemplate.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementGoalTemplate.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementOperationStatus.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementOperationStatus.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementOperationStatus.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementRecoveryJob.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementRecoveryJob.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementRecoveryJob.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementRecoveryJobResource.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementRecoveryJobResource.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementRecoveryJobResource.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementRecoveryPlan.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementRecoveryPlan.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementRecoveryPlan.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementRecoveryResource.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementRecoveryResource.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementRecoveryResource.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementUnifiedResilienceItem.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementUnifiedResilienceItem.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementUnifiedResilienceItem.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementUsagePlan.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementUsagePlan.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Get-AzResilienceManagementUsagePlan.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Invoke-AzResilienceManagementFinalizeRecoveryPlanAction.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Invoke-AzResilienceManagementFinalizeRecoveryPlanAction.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Invoke-AzResilienceManagementFinalizeRecoveryPlanAction.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Invoke-AzResilienceManagementMarkDrillRunAsComplete.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Invoke-AzResilienceManagementMarkDrillRunAsComplete.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Invoke-AzResilienceManagementMarkDrillRunAsComplete.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Invoke-AzResilienceManagementRecommendGoalAssignmentCapacity.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Invoke-AzResilienceManagementRecommendGoalAssignmentCapacity.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Invoke-AzResilienceManagementRecommendGoalAssignmentCapacity.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Invoke-AzResilienceManagementRetryRecoveryJob.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Invoke-AzResilienceManagementRetryRecoveryJob.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Invoke-AzResilienceManagementRetryRecoveryJob.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/New-AzResilienceManagementDrill.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/New-AzResilienceManagementDrill.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/New-AzResilienceManagementDrill.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/New-AzResilienceManagementDrillRunReport.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/New-AzResilienceManagementDrillRunReport.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/New-AzResilienceManagementDrillRunReport.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/New-AzResilienceManagementEnrollment.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/New-AzResilienceManagementEnrollment.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/New-AzResilienceManagementEnrollment.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/New-AzResilienceManagementGoalAssignment.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/New-AzResilienceManagementGoalAssignment.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/New-AzResilienceManagementGoalAssignment.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/New-AzResilienceManagementGoalTemplate.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/New-AzResilienceManagementGoalTemplate.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/New-AzResilienceManagementGoalTemplate.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/New-AzResilienceManagementRecoveryPlan.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/New-AzResilienceManagementRecoveryPlan.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/New-AzResilienceManagementRecoveryPlan.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/New-AzResilienceManagementUsagePlan.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/New-AzResilienceManagementUsagePlan.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/New-AzResilienceManagementUsagePlan.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Remove-AzResilienceManagementDrill.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Remove-AzResilienceManagementDrill.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Remove-AzResilienceManagementDrill.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Remove-AzResilienceManagementEnrollment.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Remove-AzResilienceManagementEnrollment.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Remove-AzResilienceManagementEnrollment.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Remove-AzResilienceManagementGoalAssignment.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Remove-AzResilienceManagementGoalAssignment.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Remove-AzResilienceManagementGoalAssignment.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Remove-AzResilienceManagementGoalTemplate.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Remove-AzResilienceManagementGoalTemplate.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Remove-AzResilienceManagementGoalTemplate.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Remove-AzResilienceManagementRecoveryPlan.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Remove-AzResilienceManagementRecoveryPlan.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Remove-AzResilienceManagementRecoveryPlan.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Remove-AzResilienceManagementUsagePlan.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Remove-AzResilienceManagementUsagePlan.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Remove-AzResilienceManagementUsagePlan.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Resume-AzResilienceManagementDrillRun.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Resume-AzResilienceManagementDrillRun.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Resume-AzResilienceManagementDrillRun.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Resume-AzResilienceManagementRecoveryJob.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Resume-AzResilienceManagementRecoveryJob.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Resume-AzResilienceManagementRecoveryJob.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Set-AzResilienceManagementEnrollment.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Set-AzResilienceManagementEnrollment.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Set-AzResilienceManagementEnrollment.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Set-AzResilienceManagementGoalAssignment.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Set-AzResilienceManagementGoalAssignment.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Set-AzResilienceManagementGoalAssignment.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Set-AzResilienceManagementGoalTemplate.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Set-AzResilienceManagementGoalTemplate.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Set-AzResilienceManagementGoalTemplate.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Set-AzResilienceManagementRecoveryPlan.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Set-AzResilienceManagementRecoveryPlan.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Set-AzResilienceManagementRecoveryPlan.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Set-AzResilienceManagementUsagePlan.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Set-AzResilienceManagementUsagePlan.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Set-AzResilienceManagementUsagePlan.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementDrill.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementDrill.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementDrill.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementDrillRunFailover.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementDrillRunFailover.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementDrillRunFailover.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementDrillRunReprotect.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementDrillRunReprotect.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementDrillRunReprotect.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementRecoveryPlanFailover.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementRecoveryPlanFailover.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementRecoveryPlanFailover.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementRecoveryPlanFailoverCommit.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementRecoveryPlanFailoverCommit.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementRecoveryPlanFailoverCommit.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementRecoveryPlanReprotect.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementRecoveryPlanReprotect.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementRecoveryPlanReprotect.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementRecoveryPlanTestFailover.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementRecoveryPlanTestFailover.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementRecoveryPlanTestFailover.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementRecoveryPlanTestFailoverCleanup.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementRecoveryPlanTestFailoverCleanup.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Start-AzResilienceManagementRecoveryPlanTestFailoverCleanup.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Stop-AzResilienceManagementDrill.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Stop-AzResilienceManagementDrill.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Stop-AzResilienceManagementDrill.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Stop-AzResilienceManagementRecoveryJob.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Stop-AzResilienceManagementRecoveryJob.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Stop-AzResilienceManagementRecoveryJob.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementDrill.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementDrill.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementDrill.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementDrillResyncReadiness.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementDrillResyncReadiness.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementDrillResyncReadiness.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementRecoveryPlanActionReadiness.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementRecoveryPlanActionReadiness.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementRecoveryPlanActionReadiness.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementRecoveryPlanFailoverCommitValidation.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementRecoveryPlanFailoverCommitValidation.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementRecoveryPlanFailoverCommitValidation.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementRecoveryPlanFailoverValidation.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementRecoveryPlanFailoverValidation.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementRecoveryPlanFailoverValidation.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementRecoveryPlanOperationValidation.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementRecoveryPlanOperationValidation.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementRecoveryPlanOperationValidation.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementRecoveryPlanReprotectValidation.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementRecoveryPlanReprotectValidation.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementRecoveryPlanReprotectValidation.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementRecoveryPlanTestFailoverCleanupValidation.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementRecoveryPlanTestFailoverCleanupValidation.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementRecoveryPlanTestFailoverCleanupValidation.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementRecoveryPlanTestFailoverValidation.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementRecoveryPlanTestFailoverValidation.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Test-AzResilienceManagementRecoveryPlanTestFailoverValidation.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementDrill.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementDrill.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementDrill.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementDrillResource.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementDrillResource.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementDrillResource.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementEnrollment.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementEnrollment.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementEnrollment.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementGoalAssignment.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementGoalAssignment.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementGoalAssignment.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementGoalAssignmentGoalResource.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementGoalAssignmentGoalResource.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementGoalAssignmentGoalResource.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementGoalTemplate.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementGoalTemplate.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementGoalTemplate.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementRecoveryPlan.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementRecoveryPlan.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementRecoveryPlan.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementRecoveryPlanActionResource.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementRecoveryPlanActionResource.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementRecoveryPlanActionResource.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementUsagePlan.md b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementUsagePlan.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/examples/Update-AzResilienceManagementUsagePlan.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/generate-info.json b/src/ResilienceManagement/ResilienceManagement.Autorest/generate-info.json new file mode 100644 index 000000000000..936671885072 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/generate-info.json @@ -0,0 +1,3 @@ +{ + "generate_Id": "c7126fd4-c149-4277-9905-3c70ffa754fb" +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/how-to.md b/src/ResilienceManagement/ResilienceManagement.Autorest/how-to.md new file mode 100644 index 000000000000..35752db02d83 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/how-to.md @@ -0,0 +1,58 @@ +# How-To +This document describes how to develop for `Az.ResilienceManagement`. + +## Building `Az.ResilienceManagement` +To build, run the `build-module.ps1` at the root of the module directory. This will generate the proxy script cmdlets that are the cmdlets being exported by this module. After the build completes, the proxy script cmdlets will be output to the `exports` folder. To read more about the proxy script cmdlets, look at the [README.md](exports/README.md) in the `exports` folder. + +## Creating custom cmdlets +To add cmdlets that were not generated by the REST specification, use the `custom` folder. This folder allows you to add handwritten `.ps1` and `.cs` files. Currently, we support using `.ps1` scripts as new cmdlets or as additional low-level variants (via `ParameterSet`), and `.cs` files as low-level (variants) cmdlets that the exported script cmdlets call. We do not support exporting any `.cs` (dll) cmdlets directly. To read more about custom cmdlets, look at the [README.md](custom/README.md) in the `custom` folder. + +## Generating documentation +To generate documentation, the process is now integrated into the `build-module.ps1` script. If you don't want to run this process as part of `build-module.ps1`, you can provide the `-NoDocs` switch. If you want to run documentation generation after the build process, you may still run the `generate-help.ps1` script. Overall, the process will look at the documentation comments in the generated and custom cmdlets and types, and create `.md` files into the `docs` folder. Additionally, this pulls in any examples from the `examples` folder and adds them to the generated help markdown documents. To read more about examples, look at the [README.md](examples/README.md) in the `examples` folder. To read more about documentation, look at the [README.md](docs/README.md) in the `docs` folder. + +## Testing `Az.ResilienceManagement` +To test the cmdlets, we use [Pester](https://github.com/pester/Pester). Tests scripts (`.ps1`) should be added to the `test` folder. To execute the Pester tests, run the `test-module.ps1` script. This will run all tests in `playback` mode within the `test` folder. To read more about testing cmdlets, look at the [README.md](examples/README.md) in the `examples` folder. + +## Packing `Az.ResilienceManagement` +To pack `Az.ResilienceManagement` for distribution, run the `pack-module.ps1` script. This will take the contents of multiple directories and certain root-folder files to create a `.nupkg`. The structure of the `.nupkg` is created so it can be loaded part of a [PSRepository](https://learn.microsoft.com/powershell/module/powershellget/register-psrepository). Additionally, this package is in a format for distribution to the [PSGallery](https://www.powershellgallery.com/). For signing an Azure module, please contact the [Azure PowerShell](https://github.com/Azure/azure-powershell) team. + +## Module Script Details +There are multiple scripts created for performing different actions for developing `Az.ResilienceManagement`. +- `build-module.ps1` + - Builds the module DLL (`./bin/Az.ResilienceManagement.private.dll`), creates the exported cmdlets and documentation, generates custom cmdlet test stubs and exported cmdlet example stubs, and updates `./Az.ResilienceManagement.psd1` with Azure profile information. + - **Parameters**: [`Switch` parameters] + - `-Run`: After building, creates an isolated PowerShell session and loads `Az.ResilienceManagement`. + - `-Test`: After building, runs the `Pester` tests defined in the `test` folder. + - `-Docs`: After building, generates the Markdown documents for the modules into the `docs` folder. + - `-Pack`: After building, packages the module into a `.nupkg`. + - `-Code`: After building, opens a VSCode window with the module's directory and runs (see `-Run`) the module. + - `-Release`: Builds the module in `Release` configuration (as opposed to `Debug` configuration). + - `-NoDocs`: Supresses writing the documentation markdown files as part of the cmdlet exporting process. + - `-Debugger`: Used when attaching the debugger in Visual Studio to the PowerShell session, and running the build process without recompiling the DLL. This suppresses running the script as an isolated process. +- `run-module.ps1` + - Creates an isolated PowerShell session and loads `Az.ResilienceManagement` into the session. + - Same as `-Run` in `build-module.ps1`. + - **Parameters**: [`Switch` parameters] + - `-Code`: Opens a VSCode window with the module's directory. + - Same as `-Code` in `build-module.ps1`. +- `generate-help.ps1` + - Generates the Markdown documents for the modules into the `docs` folder. + - Same as `-Docs` in `build-module.ps1`. +- `test-module.ps1` + - Runs the `Pester` tests defined in the `test` folder. + - Same as `-Test` in `build-module.ps1`. +- `pack-module.ps1` + - Packages the module into a `.nupkg` for distribution. + - Same as `-Pack` in `build-module.ps1`. +- `generate-help.ps1` + - Generates the Markdown documents for the modules into the `docs` folder. + - Same as `-Docs` in `build-module.ps1`. + - This process is now integrated into `build-module.ps1` automatically. To disable, use `-NoDocs` when running `build-module.ps1`. +- `export-surface.ps1` + - Generates Markdown documents for both the cmdlet surface and the model (class) surface of the module. + - These files are placed into the `resources` folder. + - Used for investigating the surface of your module. These are *not* documentation for distribution. +- `check-dependencies.ps1` + - Used in `run-module.ps1` and `test-module.ps1` to verify dependent modules are available to run those tasks. + - It will download local (within the module's directory structure) versions of those modules as needed. + - This script *does not* need to be ran by-hand. \ No newline at end of file diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/resources/README.md b/src/ResilienceManagement/ResilienceManagement.Autorest/resources/README.md new file mode 100644 index 000000000000..937f07f8fec2 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/resources/README.md @@ -0,0 +1,11 @@ +# Resources +This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder. + +## Info +- Modifiable: yes +- Generated: no +- Committed: yes +- Packaged: no + +## Purpose +Use this folder to put anything you want to keep around as part of the repository for the module, but is not something that is required for the module. For example, development files, packaged builds, or additional information. This is only intended to be used in repositories where the module's output directory is cleaned, but tangential resources for the module want to remain intact. \ No newline at end of file diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Add-AzResilienceManagementDrillResource.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Add-AzResilienceManagementDrillResource.Tests.ps1 new file mode 100644 index 000000000000..6a1aa358dfe7 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Add-AzResilienceManagementDrillResource.Tests.ps1 @@ -0,0 +1,49 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Add-AzResilienceManagementDrillResource')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Add-AzResilienceManagementDrillResource.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Add-AzResilienceManagementDrillResource' { + It 'AddExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'AddViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'AddViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'AddViaIdentityServiceGroupExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'AddViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Add' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'AddViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'AddViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Add-AzResilienceManagementDrillRunNote.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Add-AzResilienceManagementDrillRunNote.Tests.ps1 new file mode 100644 index 000000000000..459eee03b2c7 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Add-AzResilienceManagementDrillRunNote.Tests.ps1 @@ -0,0 +1,57 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Add-AzResilienceManagementDrillRunNote')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Add-AzResilienceManagementDrillRunNote.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Add-AzResilienceManagementDrillRunNote' { + It 'AddExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'AddViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'AddViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'AddViaIdentityServiceGroupExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'AddViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Add' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'AddViaIdentityDrillExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'AddViaIdentityDrill' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'AddViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'AddViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementDrill.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementDrill.Tests.ps1 new file mode 100644 index 000000000000..02c7cae0afa7 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementDrill.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzResilienceManagementDrill')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzResilienceManagementDrill.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzResilienceManagementDrill' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementDrillResource.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementDrillResource.Tests.ps1 new file mode 100644 index 000000000000..dabc0c5c4416 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementDrillResource.Tests.ps1 @@ -0,0 +1,37 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzResilienceManagementDrillResource')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzResilienceManagementDrillResource.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzResilienceManagementDrillResource' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityDrill' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementDrillRun.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementDrillRun.Tests.ps1 new file mode 100644 index 000000000000..cea478248da0 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementDrillRun.Tests.ps1 @@ -0,0 +1,37 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzResilienceManagementDrillRun')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzResilienceManagementDrillRun.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzResilienceManagementDrillRun' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityDrill' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementDrillRunReportDownloadUrl.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementDrillRunReportDownloadUrl.Tests.ps1 new file mode 100644 index 000000000000..afa147fec745 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementDrillRunReportDownloadUrl.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzResilienceManagementDrillRunReportDownloadUrl')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzResilienceManagementDrillRunReportDownloadUrl.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzResilienceManagementDrillRunReportDownloadUrl' { + It 'ListExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ListViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ListViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementDrillRunResource.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementDrillRunResource.Tests.ps1 new file mode 100644 index 000000000000..2e5404496bf1 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementDrillRunResource.Tests.ps1 @@ -0,0 +1,41 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzResilienceManagementDrillRunResource')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzResilienceManagementDrillRunResource.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzResilienceManagementDrillRunResource' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityDrill' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityDrillRun' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementEnrollment.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementEnrollment.Tests.ps1 new file mode 100644 index 000000000000..68cda356a509 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementEnrollment.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzResilienceManagementEnrollment')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzResilienceManagementEnrollment.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzResilienceManagementEnrollment' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityUsagePlan' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementGoalAssignment.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementGoalAssignment.Tests.ps1 new file mode 100644 index 000000000000..09ce3730e1db --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementGoalAssignment.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzResilienceManagementGoalAssignment')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzResilienceManagementGoalAssignment.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzResilienceManagementGoalAssignment' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementGoalResource.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementGoalResource.Tests.ps1 new file mode 100644 index 000000000000..45778e7e24ad --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementGoalResource.Tests.ps1 @@ -0,0 +1,37 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzResilienceManagementGoalResource')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzResilienceManagementGoalResource.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzResilienceManagementGoalResource' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityGoalAssignment' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementGoalTemplate.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementGoalTemplate.Tests.ps1 new file mode 100644 index 000000000000..539c61845150 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementGoalTemplate.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzResilienceManagementGoalTemplate')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzResilienceManagementGoalTemplate.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzResilienceManagementGoalTemplate' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementOperationStatus.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementOperationStatus.Tests.ps1 new file mode 100644 index 000000000000..8ad8d3a32907 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementOperationStatus.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzResilienceManagementOperationStatus')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzResilienceManagementOperationStatus.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzResilienceManagementOperationStatus' { + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityLocation' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementRecoveryJob.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementRecoveryJob.Tests.ps1 new file mode 100644 index 000000000000..9b4d9a180d39 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementRecoveryJob.Tests.ps1 @@ -0,0 +1,37 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzResilienceManagementRecoveryJob')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzResilienceManagementRecoveryJob.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzResilienceManagementRecoveryJob' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityRecoveryPlan' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementRecoveryJobResource.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementRecoveryJobResource.Tests.ps1 new file mode 100644 index 000000000000..331680b2ec35 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementRecoveryJobResource.Tests.ps1 @@ -0,0 +1,41 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzResilienceManagementRecoveryJobResource')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzResilienceManagementRecoveryJobResource.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzResilienceManagementRecoveryJobResource' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityRecoveryPlan' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityRecoveryJob' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementRecoveryPlan.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementRecoveryPlan.Tests.ps1 new file mode 100644 index 000000000000..d72f4379c9a8 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementRecoveryPlan.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzResilienceManagementRecoveryPlan')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzResilienceManagementRecoveryPlan.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzResilienceManagementRecoveryPlan' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementRecoveryResource.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementRecoveryResource.Tests.ps1 new file mode 100644 index 000000000000..ac44da9efb57 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementRecoveryResource.Tests.ps1 @@ -0,0 +1,37 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzResilienceManagementRecoveryResource')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzResilienceManagementRecoveryResource.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzResilienceManagementRecoveryResource' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityRecoveryPlan' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementUnifiedResilienceItem.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementUnifiedResilienceItem.Tests.ps1 new file mode 100644 index 000000000000..4caf4890c4d6 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementUnifiedResilienceItem.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzResilienceManagementUnifiedResilienceItem')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzResilienceManagementUnifiedResilienceItem.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzResilienceManagementUnifiedResilienceItem' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementUsagePlan.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementUsagePlan.Tests.ps1 new file mode 100644 index 000000000000..6217a9159ca8 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Get-AzResilienceManagementUsagePlan.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzResilienceManagementUsagePlan')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzResilienceManagementUsagePlan.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzResilienceManagementUsagePlan' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ListByResourceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Invoke-AzResilienceManagementFinalizeRecoveryPlanAction.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Invoke-AzResilienceManagementFinalizeRecoveryPlanAction.Tests.ps1 new file mode 100644 index 000000000000..d2aaf2322760 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Invoke-AzResilienceManagementFinalizeRecoveryPlanAction.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Invoke-AzResilienceManagementFinalizeRecoveryPlanAction')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Invoke-AzResilienceManagementFinalizeRecoveryPlanAction.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Invoke-AzResilienceManagementFinalizeRecoveryPlanAction' { + It 'Finalize' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'FinalizeViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'FinalizeViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Invoke-AzResilienceManagementMarkDrillRunAsComplete.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Invoke-AzResilienceManagementMarkDrillRunAsComplete.Tests.ps1 new file mode 100644 index 000000000000..761e84b70b0e --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Invoke-AzResilienceManagementMarkDrillRunAsComplete.Tests.ps1 @@ -0,0 +1,57 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Invoke-AzResilienceManagementMarkDrillRunAsComplete')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Invoke-AzResilienceManagementMarkDrillRunAsComplete.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Invoke-AzResilienceManagementMarkDrillRunAsComplete' { + It 'MarkExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'MarkViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'MarkViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'MarkViaIdentityServiceGroupExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'MarkViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Mark' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'MarkViaIdentityDrillExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'MarkViaIdentityDrill' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'MarkViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'MarkViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Invoke-AzResilienceManagementRecommendGoalAssignmentCapacity.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Invoke-AzResilienceManagementRecommendGoalAssignmentCapacity.Tests.ps1 new file mode 100644 index 000000000000..0ef8ec7021f8 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Invoke-AzResilienceManagementRecommendGoalAssignmentCapacity.Tests.ps1 @@ -0,0 +1,49 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Invoke-AzResilienceManagementRecommendGoalAssignmentCapacity')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Invoke-AzResilienceManagementRecommendGoalAssignmentCapacity.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Invoke-AzResilienceManagementRecommendGoalAssignmentCapacity' { + It 'RecommendExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'RecommendViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'RecommendViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'RecommendViaIdentityServiceGroupExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'RecommendViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Recommend' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'RecommendViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'RecommendViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Invoke-AzResilienceManagementRetryRecoveryJob.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Invoke-AzResilienceManagementRetryRecoveryJob.Tests.ps1 new file mode 100644 index 000000000000..d039307844d0 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Invoke-AzResilienceManagementRetryRecoveryJob.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Invoke-AzResilienceManagementRetryRecoveryJob')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Invoke-AzResilienceManagementRetryRecoveryJob.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Invoke-AzResilienceManagementRetryRecoveryJob' { + It 'Retry' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'RetryViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'RetryViaIdentityRecoveryPlan' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'RetryViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/New-AzResilienceManagementDrill.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/New-AzResilienceManagementDrill.Tests.ps1 new file mode 100644 index 000000000000..b813e51bf25b --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/New-AzResilienceManagementDrill.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzResilienceManagementDrill')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzResilienceManagementDrill.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-AzResilienceManagementDrill' { + It 'CreateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaIdentityServiceGroupExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/New-AzResilienceManagementDrillRunReport.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/New-AzResilienceManagementDrillRunReport.Tests.ps1 new file mode 100644 index 000000000000..a372f2dc0741 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/New-AzResilienceManagementDrillRunReport.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzResilienceManagementDrillRunReport')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzResilienceManagementDrillRunReport.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-AzResilienceManagementDrillRunReport' { + It 'Generate' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GenerateViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GenerateViaIdentityDrill' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GenerateViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/New-AzResilienceManagementEnrollment.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/New-AzResilienceManagementEnrollment.Tests.ps1 new file mode 100644 index 000000000000..2bc18c52169f --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/New-AzResilienceManagementEnrollment.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzResilienceManagementEnrollment')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzResilienceManagementEnrollment.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-AzResilienceManagementEnrollment' { + It 'CreateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaIdentityUsagePlanExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/New-AzResilienceManagementGoalAssignment.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/New-AzResilienceManagementGoalAssignment.Tests.ps1 new file mode 100644 index 000000000000..8fb1364f1a8a --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/New-AzResilienceManagementGoalAssignment.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzResilienceManagementGoalAssignment')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzResilienceManagementGoalAssignment.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-AzResilienceManagementGoalAssignment' { + It 'CreateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaIdentityServiceGroupExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/New-AzResilienceManagementGoalTemplate.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/New-AzResilienceManagementGoalTemplate.Tests.ps1 new file mode 100644 index 000000000000..e5ccc98edb05 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/New-AzResilienceManagementGoalTemplate.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzResilienceManagementGoalTemplate')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzResilienceManagementGoalTemplate.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-AzResilienceManagementGoalTemplate' { + It 'CreateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaIdentityServiceGroupExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/New-AzResilienceManagementRecoveryPlan.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/New-AzResilienceManagementRecoveryPlan.Tests.ps1 new file mode 100644 index 000000000000..04ebb3f32c9d --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/New-AzResilienceManagementRecoveryPlan.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzResilienceManagementRecoveryPlan')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzResilienceManagementRecoveryPlan.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-AzResilienceManagementRecoveryPlan' { + It 'CreateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaIdentityServiceGroupExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/New-AzResilienceManagementUsagePlan.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/New-AzResilienceManagementUsagePlan.Tests.ps1 new file mode 100644 index 000000000000..9bb171e43bf0 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/New-AzResilienceManagementUsagePlan.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzResilienceManagementUsagePlan')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzResilienceManagementUsagePlan.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-AzResilienceManagementUsagePlan' { + It 'CreateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/README.md b/src/ResilienceManagement/ResilienceManagement.Autorest/test/README.md new file mode 100644 index 000000000000..7c752b4c8c43 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/README.md @@ -0,0 +1,17 @@ +# Test +This directory contains the [Pester](https://www.powershellgallery.com/packages/Pester) tests to run for the module. We use Pester as it is the unofficial standard for PowerShell unit testing. Test stubs for custom cmdlets (created in `..\custom`) will be generated into this folder when `build-module.ps1` is ran. These test stubs will fail automatically, to indicate that tests should be written for custom cmdlets. + +## Info +- Modifiable: yes +- Generated: partial +- Committed: yes +- Packaged: no + +## Details +We allow three testing modes: *live*, *record*, and *playback*. These can be selected using the `-Live`, `-Record`, and `-Playback` switches respectively on the `test-module.ps1` script. This script will run through any `.Tests.ps1` scripts in the `test` folder. If you choose the *record* mode, it will create a `.Recording.json` file of the REST calls between the client and server. Then, when you choose *playback* mode, it will use the `.Recording.json` file to mock the communication between server and client. The *live* mode runs the same as the *record* mode; however, it doesn't create the `.Recording.json` file. + +## Purpose +Custom cmdlets generally encompass additional functionality not described in the REST specification, or combines functionality generated from the REST spec. To validate this functionality continues to operate as intended, creating tests that can be ran and re-ran against custom cmdlets is part of the framework. + +## Usage +To execute tests, run the `test-module.ps1`. To write tests, [this example](https://github.com/pester/Pester/blob/8b9cf4248315e44f1ac6673be149f7e0d7f10466/Examples/Planets/Get-Planet.Tests.ps1#L1) from the Pester repository is very useful for getting started. \ No newline at end of file diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Remove-AzResilienceManagementDrill.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Remove-AzResilienceManagementDrill.Tests.ps1 new file mode 100644 index 000000000000..69abada95230 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Remove-AzResilienceManagementDrill.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzResilienceManagementDrill')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzResilienceManagementDrill.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Remove-AzResilienceManagementDrill' { + It 'Delete' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Remove-AzResilienceManagementEnrollment.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Remove-AzResilienceManagementEnrollment.Tests.ps1 new file mode 100644 index 000000000000..d25d4f95f7ae --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Remove-AzResilienceManagementEnrollment.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzResilienceManagementEnrollment')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzResilienceManagementEnrollment.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Remove-AzResilienceManagementEnrollment' { + It 'Delete' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentityUsagePlan' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Remove-AzResilienceManagementGoalAssignment.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Remove-AzResilienceManagementGoalAssignment.Tests.ps1 new file mode 100644 index 000000000000..423850534f8f --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Remove-AzResilienceManagementGoalAssignment.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzResilienceManagementGoalAssignment')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzResilienceManagementGoalAssignment.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Remove-AzResilienceManagementGoalAssignment' { + It 'Delete' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Remove-AzResilienceManagementGoalTemplate.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Remove-AzResilienceManagementGoalTemplate.Tests.ps1 new file mode 100644 index 000000000000..4ec401657250 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Remove-AzResilienceManagementGoalTemplate.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzResilienceManagementGoalTemplate')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzResilienceManagementGoalTemplate.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Remove-AzResilienceManagementGoalTemplate' { + It 'Delete' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Remove-AzResilienceManagementRecoveryPlan.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Remove-AzResilienceManagementRecoveryPlan.Tests.ps1 new file mode 100644 index 000000000000..9445d093ae6a --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Remove-AzResilienceManagementRecoveryPlan.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzResilienceManagementRecoveryPlan')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzResilienceManagementRecoveryPlan.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Remove-AzResilienceManagementRecoveryPlan' { + It 'Delete' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Remove-AzResilienceManagementUsagePlan.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Remove-AzResilienceManagementUsagePlan.Tests.ps1 new file mode 100644 index 000000000000..f28ce15aa3b8 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Remove-AzResilienceManagementUsagePlan.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzResilienceManagementUsagePlan')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzResilienceManagementUsagePlan.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Remove-AzResilienceManagementUsagePlan' { + It 'Delete' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Resume-AzResilienceManagementDrillRun.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Resume-AzResilienceManagementDrillRun.Tests.ps1 new file mode 100644 index 000000000000..d6c380f9dfd9 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Resume-AzResilienceManagementDrillRun.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Resume-AzResilienceManagementDrillRun')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Resume-AzResilienceManagementDrillRun.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Resume-AzResilienceManagementDrillRun' { + It 'Resume' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ResumeViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ResumeViaIdentityDrill' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ResumeViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Resume-AzResilienceManagementRecoveryJob.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Resume-AzResilienceManagementRecoveryJob.Tests.ps1 new file mode 100644 index 000000000000..b06d1f4c0ce1 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Resume-AzResilienceManagementRecoveryJob.Tests.ps1 @@ -0,0 +1,57 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Resume-AzResilienceManagementRecoveryJob')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Resume-AzResilienceManagementRecoveryJob.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Resume-AzResilienceManagementRecoveryJob' { + It 'ResumeExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ResumeViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ResumeViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ResumeViaIdentityServiceGroupExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ResumeViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ResumeViaIdentityRecoveryPlanExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ResumeViaIdentityRecoveryPlan' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Resume' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ResumeViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ResumeViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Set-AzResilienceManagementEnrollment.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Set-AzResilienceManagementEnrollment.Tests.ps1 new file mode 100644 index 000000000000..05bbc171c09c --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Set-AzResilienceManagementEnrollment.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Set-AzResilienceManagementEnrollment')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Set-AzResilienceManagementEnrollment.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Set-AzResilienceManagementEnrollment' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Set-AzResilienceManagementGoalAssignment.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Set-AzResilienceManagementGoalAssignment.Tests.ps1 new file mode 100644 index 000000000000..0b8b371ce415 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Set-AzResilienceManagementGoalAssignment.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Set-AzResilienceManagementGoalAssignment')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Set-AzResilienceManagementGoalAssignment.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Set-AzResilienceManagementGoalAssignment' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Set-AzResilienceManagementGoalTemplate.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Set-AzResilienceManagementGoalTemplate.Tests.ps1 new file mode 100644 index 000000000000..b9321a5bc1ed --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Set-AzResilienceManagementGoalTemplate.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Set-AzResilienceManagementGoalTemplate')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Set-AzResilienceManagementGoalTemplate.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Set-AzResilienceManagementGoalTemplate' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Set-AzResilienceManagementRecoveryPlan.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Set-AzResilienceManagementRecoveryPlan.Tests.ps1 new file mode 100644 index 000000000000..53b15b46374a --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Set-AzResilienceManagementRecoveryPlan.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Set-AzResilienceManagementRecoveryPlan')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Set-AzResilienceManagementRecoveryPlan.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Set-AzResilienceManagementRecoveryPlan' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Set-AzResilienceManagementUsagePlan.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Set-AzResilienceManagementUsagePlan.Tests.ps1 new file mode 100644 index 000000000000..67b0f97e5342 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Set-AzResilienceManagementUsagePlan.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Set-AzResilienceManagementUsagePlan')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Set-AzResilienceManagementUsagePlan.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Set-AzResilienceManagementUsagePlan' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementDrill.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementDrill.Tests.ps1 new file mode 100644 index 000000000000..ca643a821108 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementDrill.Tests.ps1 @@ -0,0 +1,49 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Start-AzResilienceManagementDrill')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Start-AzResilienceManagementDrill.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Start-AzResilienceManagementDrill' { + It 'StartExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'StartViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'StartViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'StartViaIdentityServiceGroupExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'StartViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Start' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'StartViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'StartViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementDrillRunFailover.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementDrillRunFailover.Tests.ps1 new file mode 100644 index 000000000000..e3f7a0c39d68 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementDrillRunFailover.Tests.ps1 @@ -0,0 +1,57 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Start-AzResilienceManagementDrillRunFailover')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Start-AzResilienceManagementDrillRunFailover.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Start-AzResilienceManagementDrillRunFailover' { + It 'TriggerExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaIdentityServiceGroupExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Trigger' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaIdentityDrillExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaIdentityDrill' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementDrillRunReprotect.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementDrillRunReprotect.Tests.ps1 new file mode 100644 index 000000000000..b969b7d79b51 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementDrillRunReprotect.Tests.ps1 @@ -0,0 +1,57 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Start-AzResilienceManagementDrillRunReprotect')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Start-AzResilienceManagementDrillRunReprotect.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Start-AzResilienceManagementDrillRunReprotect' { + It 'TriggerExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaIdentityServiceGroupExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Trigger' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaIdentityDrillExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaIdentityDrill' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementRecoveryPlanFailover.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementRecoveryPlanFailover.Tests.ps1 new file mode 100644 index 000000000000..f95b22a879ba --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementRecoveryPlanFailover.Tests.ps1 @@ -0,0 +1,49 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Start-AzResilienceManagementRecoveryPlanFailover')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Start-AzResilienceManagementRecoveryPlanFailover.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Start-AzResilienceManagementRecoveryPlanFailover' { + It 'TriggerExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaIdentityServiceGroupExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Trigger' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementRecoveryPlanFailoverCommit.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementRecoveryPlanFailoverCommit.Tests.ps1 new file mode 100644 index 000000000000..85ac88860878 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementRecoveryPlanFailoverCommit.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Start-AzResilienceManagementRecoveryPlanFailoverCommit')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Start-AzResilienceManagementRecoveryPlanFailoverCommit.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Start-AzResilienceManagementRecoveryPlanFailoverCommit' { + It 'Trigger' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementRecoveryPlanReprotect.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementRecoveryPlanReprotect.Tests.ps1 new file mode 100644 index 000000000000..90ab2aaf4b97 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementRecoveryPlanReprotect.Tests.ps1 @@ -0,0 +1,49 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Start-AzResilienceManagementRecoveryPlanReprotect')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Start-AzResilienceManagementRecoveryPlanReprotect.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Start-AzResilienceManagementRecoveryPlanReprotect' { + It 'TriggerExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaIdentityServiceGroupExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Trigger' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementRecoveryPlanTestFailover.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementRecoveryPlanTestFailover.Tests.ps1 new file mode 100644 index 000000000000..79f479c874b3 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementRecoveryPlanTestFailover.Tests.ps1 @@ -0,0 +1,49 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Start-AzResilienceManagementRecoveryPlanTestFailover')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Start-AzResilienceManagementRecoveryPlanTestFailover.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Start-AzResilienceManagementRecoveryPlanTestFailover' { + It 'TriggerExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaIdentityServiceGroupExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Trigger' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementRecoveryPlanTestFailoverCleanup.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementRecoveryPlanTestFailoverCleanup.Tests.ps1 new file mode 100644 index 000000000000..89ad54b9ea93 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Start-AzResilienceManagementRecoveryPlanTestFailoverCleanup.Tests.ps1 @@ -0,0 +1,49 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Start-AzResilienceManagementRecoveryPlanTestFailoverCleanup')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Start-AzResilienceManagementRecoveryPlanTestFailoverCleanup.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Start-AzResilienceManagementRecoveryPlanTestFailoverCleanup' { + It 'TriggerExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaIdentityServiceGroupExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Trigger' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'TriggerViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Stop-AzResilienceManagementDrill.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Stop-AzResilienceManagementDrill.Tests.ps1 new file mode 100644 index 000000000000..f07889dfb767 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Stop-AzResilienceManagementDrill.Tests.ps1 @@ -0,0 +1,49 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Stop-AzResilienceManagementDrill')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Stop-AzResilienceManagementDrill.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Stop-AzResilienceManagementDrill' { + It 'EndExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'EndViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'EndViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'EndViaIdentityServiceGroupExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'EndViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'End' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'EndViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'EndViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Stop-AzResilienceManagementRecoveryJob.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Stop-AzResilienceManagementRecoveryJob.Tests.ps1 new file mode 100644 index 000000000000..78220dfad7ea --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Stop-AzResilienceManagementRecoveryJob.Tests.ps1 @@ -0,0 +1,57 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Stop-AzResilienceManagementRecoveryJob')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Stop-AzResilienceManagementRecoveryJob.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Stop-AzResilienceManagementRecoveryJob' { + It 'CancelExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CancelViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CancelViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CancelViaIdentityServiceGroupExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CancelViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CancelViaIdentityRecoveryPlanExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CancelViaIdentityRecoveryPlan' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Cancel' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CancelViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CancelViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementDrill.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementDrill.Tests.ps1 new file mode 100644 index 000000000000..f8d69dd7a355 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementDrill.Tests.ps1 @@ -0,0 +1,49 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Test-AzResilienceManagementDrill')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Test-AzResilienceManagementDrill.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Test-AzResilienceManagementDrill' { + It 'ValidateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaIdentityServiceGroupExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Validate' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementDrillResyncReadiness.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementDrillResyncReadiness.Tests.ps1 new file mode 100644 index 000000000000..8c5c1b2653dd --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementDrillResyncReadiness.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Test-AzResilienceManagementDrillResyncReadiness')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Test-AzResilienceManagementDrillResyncReadiness.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Test-AzResilienceManagementDrillResyncReadiness' { + It 'Check' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CheckViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CheckViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementRecoveryPlanActionReadiness.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementRecoveryPlanActionReadiness.Tests.ps1 new file mode 100644 index 000000000000..ef09395ee215 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementRecoveryPlanActionReadiness.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Test-AzResilienceManagementRecoveryPlanActionReadiness')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Test-AzResilienceManagementRecoveryPlanActionReadiness.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Test-AzResilienceManagementRecoveryPlanActionReadiness' { + It 'Check' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CheckViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CheckViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementRecoveryPlanFailoverCommitValidation.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementRecoveryPlanFailoverCommitValidation.Tests.ps1 new file mode 100644 index 000000000000..d51d3395ea12 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementRecoveryPlanFailoverCommitValidation.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Test-AzResilienceManagementRecoveryPlanFailoverCommitValidation')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Test-AzResilienceManagementRecoveryPlanFailoverCommitValidation.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Test-AzResilienceManagementRecoveryPlanFailoverCommitValidation' { + It 'Validate' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementRecoveryPlanFailoverValidation.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementRecoveryPlanFailoverValidation.Tests.ps1 new file mode 100644 index 000000000000..ef9e5483a396 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementRecoveryPlanFailoverValidation.Tests.ps1 @@ -0,0 +1,49 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Test-AzResilienceManagementRecoveryPlanFailoverValidation')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Test-AzResilienceManagementRecoveryPlanFailoverValidation.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Test-AzResilienceManagementRecoveryPlanFailoverValidation' { + It 'ValidateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaIdentityServiceGroupExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Validate' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementRecoveryPlanOperationValidation.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementRecoveryPlanOperationValidation.Tests.ps1 new file mode 100644 index 000000000000..079d83f2b53d --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementRecoveryPlanOperationValidation.Tests.ps1 @@ -0,0 +1,49 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Test-AzResilienceManagementRecoveryPlanOperationValidation')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Test-AzResilienceManagementRecoveryPlanOperationValidation.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Test-AzResilienceManagementRecoveryPlanOperationValidation' { + It 'ValidateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaIdentityServiceGroupExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Validate' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementRecoveryPlanReprotectValidation.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementRecoveryPlanReprotectValidation.Tests.ps1 new file mode 100644 index 000000000000..a9c0af49891b --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementRecoveryPlanReprotectValidation.Tests.ps1 @@ -0,0 +1,49 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Test-AzResilienceManagementRecoveryPlanReprotectValidation')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Test-AzResilienceManagementRecoveryPlanReprotectValidation.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Test-AzResilienceManagementRecoveryPlanReprotectValidation' { + It 'ValidateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaIdentityServiceGroupExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Validate' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementRecoveryPlanTestFailoverCleanupValidation.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementRecoveryPlanTestFailoverCleanupValidation.Tests.ps1 new file mode 100644 index 000000000000..9b2b5997f10d --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementRecoveryPlanTestFailoverCleanupValidation.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Test-AzResilienceManagementRecoveryPlanTestFailoverCleanupValidation')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Test-AzResilienceManagementRecoveryPlanTestFailoverCleanupValidation.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Test-AzResilienceManagementRecoveryPlanTestFailoverCleanupValidation' { + It 'Validate' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementRecoveryPlanTestFailoverValidation.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementRecoveryPlanTestFailoverValidation.Tests.ps1 new file mode 100644 index 000000000000..331cfcaf40b4 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Test-AzResilienceManagementRecoveryPlanTestFailoverValidation.Tests.ps1 @@ -0,0 +1,49 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Test-AzResilienceManagementRecoveryPlanTestFailoverValidation')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Test-AzResilienceManagementRecoveryPlanTestFailoverValidation.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Test-AzResilienceManagementRecoveryPlanTestFailoverValidation' { + It 'ValidateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaIdentityServiceGroupExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Validate' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ValidateViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementDrill.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementDrill.Tests.ps1 new file mode 100644 index 000000000000..180e94336dd4 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementDrill.Tests.ps1 @@ -0,0 +1,37 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzResilienceManagementDrill')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzResilienceManagementDrill.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzResilienceManagementDrill' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityServiceGroupExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementDrillResource.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementDrillResource.Tests.ps1 new file mode 100644 index 000000000000..016c6db0869f --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementDrillResource.Tests.ps1 @@ -0,0 +1,37 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzResilienceManagementDrillResource')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzResilienceManagementDrillResource.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzResilienceManagementDrillResource' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityServiceGroupExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementEnrollment.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementEnrollment.Tests.ps1 new file mode 100644 index 000000000000..e950920dde90 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementEnrollment.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzResilienceManagementEnrollment')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzResilienceManagementEnrollment.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzResilienceManagementEnrollment' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityUsagePlanExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementGoalAssignment.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementGoalAssignment.Tests.ps1 new file mode 100644 index 000000000000..38f6e586e8ed --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementGoalAssignment.Tests.ps1 @@ -0,0 +1,37 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzResilienceManagementGoalAssignment')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzResilienceManagementGoalAssignment.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzResilienceManagementGoalAssignment' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityServiceGroupExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementGoalAssignmentGoalResource.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementGoalAssignmentGoalResource.Tests.ps1 new file mode 100644 index 000000000000..b46edba32dc9 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementGoalAssignmentGoalResource.Tests.ps1 @@ -0,0 +1,49 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzResilienceManagementGoalAssignmentGoalResource')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzResilienceManagementGoalAssignmentGoalResource.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzResilienceManagementGoalAssignmentGoalResource' { + It 'Refresh' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityServiceGroupExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'RefreshViaIdentityServiceGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'RefreshViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementGoalTemplate.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementGoalTemplate.Tests.ps1 new file mode 100644 index 000000000000..524a6cb13a04 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementGoalTemplate.Tests.ps1 @@ -0,0 +1,37 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzResilienceManagementGoalTemplate')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzResilienceManagementGoalTemplate.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzResilienceManagementGoalTemplate' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityServiceGroupExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementRecoveryPlan.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementRecoveryPlan.Tests.ps1 new file mode 100644 index 000000000000..dbb5d0a3cf79 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementRecoveryPlan.Tests.ps1 @@ -0,0 +1,37 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzResilienceManagementRecoveryPlan')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzResilienceManagementRecoveryPlan.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzResilienceManagementRecoveryPlan' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityServiceGroupExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementRecoveryPlanActionResource.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementRecoveryPlanActionResource.Tests.ps1 new file mode 100644 index 000000000000..f1bd59c847ba --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementRecoveryPlanActionResource.Tests.ps1 @@ -0,0 +1,37 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzResilienceManagementRecoveryPlanActionResource')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzResilienceManagementRecoveryPlanActionResource.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzResilienceManagementRecoveryPlanActionResource' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityServiceGroupExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementUsagePlan.Tests.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementUsagePlan.Tests.ps1 new file mode 100644 index 000000000000..6f391744aa69 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/Update-AzResilienceManagementUsagePlan.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzResilienceManagementUsagePlan')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzResilienceManagementUsagePlan.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzResilienceManagementUsagePlan' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/loadEnv.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/loadEnv.ps1 new file mode 100644 index 000000000000..5f079e89615e --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/loadEnv.ps1 @@ -0,0 +1,29 @@ +# ---------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code +# is regenerated. +# ---------------------------------------------------------------------------------- +$envFile = 'env.json' +if ($TestMode -eq 'live') { + $envFile = 'localEnv.json' +} + +if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) { + $envFilePath = Join-Path $PSScriptRoot $envFile +} else { + $envFilePath = Join-Path $PSScriptRoot '..\$envFile' +} +$env = @{} +if (Test-Path -Path $envFilePath) { + $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json + $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant} +} \ No newline at end of file diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/test/utils.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/test/utils.ps1 new file mode 100644 index 000000000000..f8497fbd7da0 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/test/utils.ps1 @@ -0,0 +1,56 @@ +function RandomString([bool]$allChars, [int32]$len) { + if ($allChars) { + return -join ((33..126) | Get-Random -Count $len | % {[char]$_}) + } else { + return -join ((48..57) + (97..122) | Get-Random -Count $len | % {[char]$_}) + } +} +function Start-TestSleep { + [CmdletBinding(DefaultParameterSetName = 'SleepBySeconds')] + param( + [parameter(Mandatory = $true, Position = 0, ParameterSetName = 'SleepBySeconds')] + [ValidateRange(0.0, 2147483.0)] + [double] $Seconds, + + [parameter(Mandatory = $true, ParameterSetName = 'SleepByMilliseconds')] + [ValidateRange('NonNegative')] + [Alias('ms')] + [int] $Milliseconds + ) + + if ($TestMode -ne 'playback') { + switch ($PSCmdlet.ParameterSetName) { + 'SleepBySeconds' { + Start-Sleep -Seconds $Seconds + } + 'SleepByMilliseconds' { + Start-Sleep -Milliseconds $Milliseconds + } + } + } +} + +$env = @{} +if ($UsePreviousConfigForRecord) { + $previousEnv = Get-Content (Join-Path $PSScriptRoot 'env.json') | ConvertFrom-Json + $previousEnv.psobject.properties | Foreach-Object { $env[$_.Name] = $_.Value } +} +# Add script method called AddWithCache to $env, when useCache is set true, it will try to get the value from the $env first. +# example: $val = $env.AddWithCache('key', $val, $true) +$env | Add-Member -Type ScriptMethod -Value { param( [string]$key, [object]$val, [bool]$useCache) if ($this.Contains($key) -and $useCache) { return $this[$key] } else { $this[$key] = $val; return $val } } -Name 'AddWithCache' +function setupEnv() { + # Preload subscriptionId and tenant from context, which will be used in test + # as default. You could change them if needed. + $env.SubscriptionId = (Get-AzContext).Subscription.Id + $env.Tenant = (Get-AzContext).Tenant.Id + # For any resources you created for test, you should add it to $env here. + $envFile = 'env.json' + if ($TestMode -eq 'live') { + $envFile = 'localEnv.json' + } + set-content -Path (Join-Path $PSScriptRoot $envFile) -Value (ConvertTo-Json $env) +} +function cleanupEnv() { + # Clean resources you create for testing +} + diff --git a/src/ResilienceManagement/ResilienceManagement.Autorest/utils/Unprotect-SecureString.ps1 b/src/ResilienceManagement/ResilienceManagement.Autorest/utils/Unprotect-SecureString.ps1 new file mode 100644 index 000000000000..cb05b51a6220 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.Autorest/utils/Unprotect-SecureString.ps1 @@ -0,0 +1,16 @@ +#This script converts securestring to plaintext + +param( + [Parameter(Mandatory, ValueFromPipeline)] + [System.Security.SecureString] + ${SecureString} +) + +$ssPtr = [System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($SecureString) +try { + $plaintext = [System.Runtime.InteropServices.Marshal]::PtrToStringBSTR($ssPtr) +} finally { + [System.Runtime.InteropServices.Marshal]::ZeroFreeBSTR($ssPtr) +} + +return $plaintext \ No newline at end of file diff --git a/src/ResilienceManagement/ResilienceManagement.sln b/src/ResilienceManagement/ResilienceManagement.sln new file mode 100644 index 000000000000..ba27daac6186 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement.sln @@ -0,0 +1,145 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Accounts", "Accounts", "{32836310-FB5E-5A92-56B4-44D826EF11F5}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{BD6199C1-0A33-4BA1-8CF0-91CD90C64EBA}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{797D9F31-36C8-4AD0-BBF1-EFBE37DC9684}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{422121BD-C9D1-44BF-BC2C-3902C59CBA46}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyLoading", "..\Accounts\AssemblyLoading\AssemblyLoading.csproj", "{2A38B3AD-E456-4FB6-A387-4B3EAB2226AB}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{28E40F73-B968-432D-B8A2-9132F71A5F69}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{00E17DEB-AB6B-4214-A89E-8FC1D53585C1}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ResilienceManagement", "ResilienceManagement\ResilienceManagement.csproj", "{B51D4455-E200-48A7-82A8-563B516C0B84}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ResilienceManagement.Autorest", "ResilienceManagement.Autorest", "{B8FEA048-2C06-5AF6-5265-8B9B50FFFCA8}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.ResilienceManagement", "..\..\generated\ResilienceManagement\ResilienceManagement.Autorest\Az.ResilienceManagement.csproj", "{00A115B2-73C6-4009-B7C2-EF36087D981B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|Any CPU = Release|Any CPU + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {BD6199C1-0A33-4BA1-8CF0-91CD90C64EBA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BD6199C1-0A33-4BA1-8CF0-91CD90C64EBA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BD6199C1-0A33-4BA1-8CF0-91CD90C64EBA}.Debug|x64.ActiveCfg = Debug|Any CPU + {BD6199C1-0A33-4BA1-8CF0-91CD90C64EBA}.Debug|x64.Build.0 = Debug|Any CPU + {BD6199C1-0A33-4BA1-8CF0-91CD90C64EBA}.Debug|x86.ActiveCfg = Debug|Any CPU + {BD6199C1-0A33-4BA1-8CF0-91CD90C64EBA}.Debug|x86.Build.0 = Debug|Any CPU + {BD6199C1-0A33-4BA1-8CF0-91CD90C64EBA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BD6199C1-0A33-4BA1-8CF0-91CD90C64EBA}.Release|Any CPU.Build.0 = Release|Any CPU + {BD6199C1-0A33-4BA1-8CF0-91CD90C64EBA}.Release|x64.ActiveCfg = Release|Any CPU + {BD6199C1-0A33-4BA1-8CF0-91CD90C64EBA}.Release|x64.Build.0 = Release|Any CPU + {BD6199C1-0A33-4BA1-8CF0-91CD90C64EBA}.Release|x86.ActiveCfg = Release|Any CPU + {BD6199C1-0A33-4BA1-8CF0-91CD90C64EBA}.Release|x86.Build.0 = Release|Any CPU + {797D9F31-36C8-4AD0-BBF1-EFBE37DC9684}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {797D9F31-36C8-4AD0-BBF1-EFBE37DC9684}.Debug|Any CPU.Build.0 = Debug|Any CPU + {797D9F31-36C8-4AD0-BBF1-EFBE37DC9684}.Debug|x64.ActiveCfg = Debug|Any CPU + {797D9F31-36C8-4AD0-BBF1-EFBE37DC9684}.Debug|x64.Build.0 = Debug|Any CPU + {797D9F31-36C8-4AD0-BBF1-EFBE37DC9684}.Debug|x86.ActiveCfg = Debug|Any CPU + {797D9F31-36C8-4AD0-BBF1-EFBE37DC9684}.Debug|x86.Build.0 = Debug|Any CPU + {797D9F31-36C8-4AD0-BBF1-EFBE37DC9684}.Release|Any CPU.ActiveCfg = Release|Any CPU + {797D9F31-36C8-4AD0-BBF1-EFBE37DC9684}.Release|Any CPU.Build.0 = Release|Any CPU + {797D9F31-36C8-4AD0-BBF1-EFBE37DC9684}.Release|x64.ActiveCfg = Release|Any CPU + {797D9F31-36C8-4AD0-BBF1-EFBE37DC9684}.Release|x64.Build.0 = Release|Any CPU + {797D9F31-36C8-4AD0-BBF1-EFBE37DC9684}.Release|x86.ActiveCfg = Release|Any CPU + {797D9F31-36C8-4AD0-BBF1-EFBE37DC9684}.Release|x86.Build.0 = Release|Any CPU + {422121BD-C9D1-44BF-BC2C-3902C59CBA46}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {422121BD-C9D1-44BF-BC2C-3902C59CBA46}.Debug|Any CPU.Build.0 = Debug|Any CPU + {422121BD-C9D1-44BF-BC2C-3902C59CBA46}.Debug|x64.ActiveCfg = Debug|Any CPU + {422121BD-C9D1-44BF-BC2C-3902C59CBA46}.Debug|x64.Build.0 = Debug|Any CPU + {422121BD-C9D1-44BF-BC2C-3902C59CBA46}.Debug|x86.ActiveCfg = Debug|Any CPU + {422121BD-C9D1-44BF-BC2C-3902C59CBA46}.Debug|x86.Build.0 = Debug|Any CPU + {422121BD-C9D1-44BF-BC2C-3902C59CBA46}.Release|Any CPU.ActiveCfg = Release|Any CPU + {422121BD-C9D1-44BF-BC2C-3902C59CBA46}.Release|Any CPU.Build.0 = Release|Any CPU + {422121BD-C9D1-44BF-BC2C-3902C59CBA46}.Release|x64.ActiveCfg = Release|Any CPU + {422121BD-C9D1-44BF-BC2C-3902C59CBA46}.Release|x64.Build.0 = Release|Any CPU + {422121BD-C9D1-44BF-BC2C-3902C59CBA46}.Release|x86.ActiveCfg = Release|Any CPU + {422121BD-C9D1-44BF-BC2C-3902C59CBA46}.Release|x86.Build.0 = Release|Any CPU + {2A38B3AD-E456-4FB6-A387-4B3EAB2226AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2A38B3AD-E456-4FB6-A387-4B3EAB2226AB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2A38B3AD-E456-4FB6-A387-4B3EAB2226AB}.Debug|x64.ActiveCfg = Debug|Any CPU + {2A38B3AD-E456-4FB6-A387-4B3EAB2226AB}.Debug|x64.Build.0 = Debug|Any CPU + {2A38B3AD-E456-4FB6-A387-4B3EAB2226AB}.Debug|x86.ActiveCfg = Debug|Any CPU + {2A38B3AD-E456-4FB6-A387-4B3EAB2226AB}.Debug|x86.Build.0 = Debug|Any CPU + {2A38B3AD-E456-4FB6-A387-4B3EAB2226AB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2A38B3AD-E456-4FB6-A387-4B3EAB2226AB}.Release|Any CPU.Build.0 = Release|Any CPU + {2A38B3AD-E456-4FB6-A387-4B3EAB2226AB}.Release|x64.ActiveCfg = Release|Any CPU + {2A38B3AD-E456-4FB6-A387-4B3EAB2226AB}.Release|x64.Build.0 = Release|Any CPU + {2A38B3AD-E456-4FB6-A387-4B3EAB2226AB}.Release|x86.ActiveCfg = Release|Any CPU + {2A38B3AD-E456-4FB6-A387-4B3EAB2226AB}.Release|x86.Build.0 = Release|Any CPU + {28E40F73-B968-432D-B8A2-9132F71A5F69}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {28E40F73-B968-432D-B8A2-9132F71A5F69}.Debug|Any CPU.Build.0 = Debug|Any CPU + {28E40F73-B968-432D-B8A2-9132F71A5F69}.Debug|x64.ActiveCfg = Debug|Any CPU + {28E40F73-B968-432D-B8A2-9132F71A5F69}.Debug|x64.Build.0 = Debug|Any CPU + {28E40F73-B968-432D-B8A2-9132F71A5F69}.Debug|x86.ActiveCfg = Debug|Any CPU + {28E40F73-B968-432D-B8A2-9132F71A5F69}.Debug|x86.Build.0 = Debug|Any CPU + {28E40F73-B968-432D-B8A2-9132F71A5F69}.Release|Any CPU.ActiveCfg = Release|Any CPU + {28E40F73-B968-432D-B8A2-9132F71A5F69}.Release|Any CPU.Build.0 = Release|Any CPU + {28E40F73-B968-432D-B8A2-9132F71A5F69}.Release|x64.ActiveCfg = Release|Any CPU + {28E40F73-B968-432D-B8A2-9132F71A5F69}.Release|x64.Build.0 = Release|Any CPU + {28E40F73-B968-432D-B8A2-9132F71A5F69}.Release|x86.ActiveCfg = Release|Any CPU + {28E40F73-B968-432D-B8A2-9132F71A5F69}.Release|x86.Build.0 = Release|Any CPU + {00E17DEB-AB6B-4214-A89E-8FC1D53585C1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {00E17DEB-AB6B-4214-A89E-8FC1D53585C1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {00E17DEB-AB6B-4214-A89E-8FC1D53585C1}.Debug|x64.ActiveCfg = Debug|Any CPU + {00E17DEB-AB6B-4214-A89E-8FC1D53585C1}.Debug|x64.Build.0 = Debug|Any CPU + {00E17DEB-AB6B-4214-A89E-8FC1D53585C1}.Debug|x86.ActiveCfg = Debug|Any CPU + {00E17DEB-AB6B-4214-A89E-8FC1D53585C1}.Debug|x86.Build.0 = Debug|Any CPU + {00E17DEB-AB6B-4214-A89E-8FC1D53585C1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {00E17DEB-AB6B-4214-A89E-8FC1D53585C1}.Release|Any CPU.Build.0 = Release|Any CPU + {00E17DEB-AB6B-4214-A89E-8FC1D53585C1}.Release|x64.ActiveCfg = Release|Any CPU + {00E17DEB-AB6B-4214-A89E-8FC1D53585C1}.Release|x64.Build.0 = Release|Any CPU + {00E17DEB-AB6B-4214-A89E-8FC1D53585C1}.Release|x86.ActiveCfg = Release|Any CPU + {00E17DEB-AB6B-4214-A89E-8FC1D53585C1}.Release|x86.Build.0 = Release|Any CPU + {B51D4455-E200-48A7-82A8-563B516C0B84}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B51D4455-E200-48A7-82A8-563B516C0B84}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B51D4455-E200-48A7-82A8-563B516C0B84}.Debug|x64.ActiveCfg = Debug|Any CPU + {B51D4455-E200-48A7-82A8-563B516C0B84}.Debug|x64.Build.0 = Debug|Any CPU + {B51D4455-E200-48A7-82A8-563B516C0B84}.Debug|x86.ActiveCfg = Debug|Any CPU + {B51D4455-E200-48A7-82A8-563B516C0B84}.Debug|x86.Build.0 = Debug|Any CPU + {B51D4455-E200-48A7-82A8-563B516C0B84}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B51D4455-E200-48A7-82A8-563B516C0B84}.Release|Any CPU.Build.0 = Release|Any CPU + {B51D4455-E200-48A7-82A8-563B516C0B84}.Release|x64.ActiveCfg = Release|Any CPU + {B51D4455-E200-48A7-82A8-563B516C0B84}.Release|x64.Build.0 = Release|Any CPU + {B51D4455-E200-48A7-82A8-563B516C0B84}.Release|x86.ActiveCfg = Release|Any CPU + {B51D4455-E200-48A7-82A8-563B516C0B84}.Release|x86.Build.0 = Release|Any CPU + {00A115B2-73C6-4009-B7C2-EF36087D981B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {00A115B2-73C6-4009-B7C2-EF36087D981B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {00A115B2-73C6-4009-B7C2-EF36087D981B}.Debug|x64.ActiveCfg = Debug|Any CPU + {00A115B2-73C6-4009-B7C2-EF36087D981B}.Debug|x64.Build.0 = Debug|Any CPU + {00A115B2-73C6-4009-B7C2-EF36087D981B}.Debug|x86.ActiveCfg = Debug|Any CPU + {00A115B2-73C6-4009-B7C2-EF36087D981B}.Debug|x86.Build.0 = Debug|Any CPU + {00A115B2-73C6-4009-B7C2-EF36087D981B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {00A115B2-73C6-4009-B7C2-EF36087D981B}.Release|Any CPU.Build.0 = Release|Any CPU + {00A115B2-73C6-4009-B7C2-EF36087D981B}.Release|x64.ActiveCfg = Release|Any CPU + {00A115B2-73C6-4009-B7C2-EF36087D981B}.Release|x64.Build.0 = Release|Any CPU + {00A115B2-73C6-4009-B7C2-EF36087D981B}.Release|x86.ActiveCfg = Release|Any CPU + {00A115B2-73C6-4009-B7C2-EF36087D981B}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {BD6199C1-0A33-4BA1-8CF0-91CD90C64EBA} = {32836310-FB5E-5A92-56B4-44D826EF11F5} + {797D9F31-36C8-4AD0-BBF1-EFBE37DC9684} = {32836310-FB5E-5A92-56B4-44D826EF11F5} + {422121BD-C9D1-44BF-BC2C-3902C59CBA46} = {32836310-FB5E-5A92-56B4-44D826EF11F5} + {2A38B3AD-E456-4FB6-A387-4B3EAB2226AB} = {32836310-FB5E-5A92-56B4-44D826EF11F5} + {28E40F73-B968-432D-B8A2-9132F71A5F69} = {32836310-FB5E-5A92-56B4-44D826EF11F5} + {00E17DEB-AB6B-4214-A89E-8FC1D53585C1} = {32836310-FB5E-5A92-56B4-44D826EF11F5} + {00A115B2-73C6-4009-B7C2-EF36087D981B} = {B8FEA048-2C06-5AF6-5265-8B9B50FFFCA8} + EndGlobalSection +EndGlobal diff --git a/src/ResilienceManagement/ResilienceManagement/Az.ResilienceManagement.psd1 b/src/ResilienceManagement/ResilienceManagement/Az.ResilienceManagement.psd1 new file mode 100644 index 000000000000..5c27f473679a --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement/Az.ResilienceManagement.psd1 @@ -0,0 +1,134 @@ +# +# Module manifest for module 'Az.ResilienceManagement' +# +# Generated by: Microsoft Corporation +# +# Generated on: 9/7/2026 +# + +@{ + +# Script module or binary module file associated with this manifest. +# RootModule = '' + +# Version number of this module. +ModuleVersion = '0.1.0' + +# Supported PSEditions +CompatiblePSEditions = 'Core', 'Desktop' + +# ID used to uniquely identify this module +GUID = 'accceef6-8113-453a-a31c-4f2ce57893d6' + +# Author of this module +Author = 'Microsoft Corporation' + +# Company or vendor of this module +CompanyName = 'Microsoft Corporation' + +# Copyright statement for this module +Copyright = 'Microsoft Corporation. All rights reserved.' + +# Description of the functionality provided by this module +Description = 'Microsoft Azure PowerShell: ResilienceManagement cmdlets' + +# Minimum version of the PowerShell engine required by this module +PowerShellVersion = '5.1' + +# Name of the PowerShell host required by this module +# PowerShellHostName = '' + +# Minimum version of the PowerShell host required by this module +# PowerShellHostVersion = '' + +# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only. +DotNetFrameworkVersion = '4.7.2' + +# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only. +# ClrVersion = '' + +# Processor architecture (None, X86, Amd64) required by this module +# ProcessorArchitecture = '' + +# Modules that must be imported into the global environment prior to importing this module +# RequiredModules = @() + +# Assemblies that must be loaded prior to importing this module +RequiredAssemblies = + 'ResilienceManagement.Autorest/bin/Az.ResilienceManagement.private.dll' + +# Script files (.ps1) that are run in the caller's environment prior to importing this module. +ScriptsToProcess = @() + +# Type files (.ps1xml) to be loaded when importing this module +TypesToProcess = @() + +# Format files (.ps1xml) to be loaded when importing this module +FormatsToProcess = + 'ResilienceManagement.Autorest/Az.ResilienceManagement.format.ps1xml' + +# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess +NestedModules = @('ResilienceManagement.Autorest/Az.ResilienceManagement.psm1') + +# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export. +FunctionsToExport = @() + +# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export. +CmdletsToExport = @() + +# Variables to export from this module +# VariablesToExport = @() + +# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export. +AliasesToExport = @() + +# DSC resources to export from this module +# DscResourcesToExport = @() + +# List of all modules packaged with this module +# ModuleList = @() + +# List of all files packaged with this module +# FileList = @() + +# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell. +PrivateData = @{ + + PSData = @{ + + # Tags applied to this module. These help with module discovery in online galleries. + Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'ResilienceManagement' + + # A URL to the license for this module. + LicenseUri = 'https://aka.ms/azps-license' + + # A URL to the main website for this project. + ProjectUri = 'https://github.com/Azure/azure-powershell' + + # A URL to an icon representing this module. + # IconUri = '' + + # ReleaseNotes of this module + # ReleaseNotes = '' + + # Prerelease string of this module + # Prerelease = '' + + # Flag to indicate whether the module requires explicit user acceptance for install/update/save + # RequireLicenseAcceptance = $false + + # External dependent modules of this module + # ExternalModuleDependencies = @() + + } # End of PSData hashtable + +} # End of PrivateData hashtable + +# HelpInfo URI of this module +# HelpInfoURI = '' + +# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix. +# DefaultCommandPrefix = '' + +} + diff --git a/src/ResilienceManagement/ResilienceManagement/ChangeLog.md b/src/ResilienceManagement/ResilienceManagement/ChangeLog.md new file mode 100644 index 000000000000..05afe54083fe --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement/ChangeLog.md @@ -0,0 +1,24 @@ + +## Upcoming Release + +## Version 0.1.0 +* First preview release for module Az.ResilienceManagement + diff --git a/src/ResilienceManagement/ResilienceManagement/Properties/AssemblyInfo.cs b/src/ResilienceManagement/ResilienceManagement/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..3ab9b9b67f8c --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement/Properties/AssemblyInfo.cs @@ -0,0 +1,28 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Reflection; +using System.Runtime.InteropServices; + +[assembly: AssemblyTitle("Microsoft Azure Powershell - ResilienceManagement")] +[assembly: AssemblyCompany(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCompany)] +[assembly: AssemblyProduct(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyProduct)] +[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)] + +[assembly: ComVisible(false)] +[assembly: CLSCompliant(false)] +[assembly: Guid("3593a211-3e6a-4f88-82ec-69e3e1397b16")] +[assembly: AssemblyVersion("0.1.0")] +[assembly: AssemblyFileVersion("0.1.0")] diff --git a/src/ResilienceManagement/ResilienceManagement/ResilienceManagement.csproj b/src/ResilienceManagement/ResilienceManagement/ResilienceManagement.csproj new file mode 100644 index 000000000000..3714fca5f107 --- /dev/null +++ b/src/ResilienceManagement/ResilienceManagement/ResilienceManagement.csproj @@ -0,0 +1,28 @@ + + + + + + + ResilienceManagement + + + + netstandard2.0 + $(AzAssemblyPrefix)$(PsModuleName) + $(AzAssemblyPrefix)$(PsModuleName) + true + false + $(RepoArtifacts)$(Configuration)\Az.$(PsModuleName)\ + $(OutputPath) + + + + + + + + + + +