diff --git a/sdk/advisor/ci.mgmt.yml b/sdk/advisor/ci.mgmt.yml
index 6b9f8d6952e6..22df99de35f2 100644
--- a/sdk/advisor/ci.mgmt.yml
+++ b/sdk/advisor/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/advisor/ci.mgmt.yml
- sdk/advisor/Azure.ResourceManager.Advisor/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/advisor/ci.mgmt.yml
+ - sdk/advisor/Azure.ResourceManager.Advisor/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/agrifood/ci.mgmt.yml b/sdk/agrifood/ci.mgmt.yml
index ee27d71f9495..03a5f6399ccb 100644
--- a/sdk/agrifood/ci.mgmt.yml
+++ b/sdk/agrifood/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/agrifood/ci.mgmt.yml
- sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/agrifood/ci.mgmt.yml
+ - sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/alertsmanagement/ci.mgmt.yml b/sdk/alertsmanagement/ci.mgmt.yml
index f33a90fffe5c..ad3a8d3d1efd 100644
--- a/sdk/alertsmanagement/ci.mgmt.yml
+++ b/sdk/alertsmanagement/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/alertsmanagement/ci.mgmt.yml
- sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/alertsmanagement/ci.mgmt.yml
+ - sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/analysisservices/ci.mgmt.yml b/sdk/analysisservices/ci.mgmt.yml
index 33729b962d88..d3774b358380 100644
--- a/sdk/analysisservices/ci.mgmt.yml
+++ b/sdk/analysisservices/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/analysisservices/ci.mgmt.yml
- sdk/analysisservices/Azure.ResourceManager.Analysis/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/analysisservices/ci.mgmt.yml
+ - sdk/analysisservices/Azure.ResourceManager.Analysis/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/apicenter/ci.mgmt.yml b/sdk/apicenter/ci.mgmt.yml
index 41c037327e33..4882d4409c0b 100644
--- a/sdk/apicenter/ci.mgmt.yml
+++ b/sdk/apicenter/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/apicenter/ci.mgmt.yml
- sdk/apicenter/Azure.ResourceManager.ApiCenter/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/apicenter/ci.mgmt.yml
+ - sdk/apicenter/Azure.ResourceManager.ApiCenter/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/apimanagement/ci.mgmt.yml b/sdk/apimanagement/ci.mgmt.yml
index b72c80a2e0e6..2f766edb9528 100644
--- a/sdk/apimanagement/ci.mgmt.yml
+++ b/sdk/apimanagement/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/apimanagement/ci.mgmt.yml
- sdk/apimanagement/Azure.ResourceManager.ApiManagement/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/apimanagement/ci.mgmt.yml
+ - sdk/apimanagement/Azure.ResourceManager.ApiManagement/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/appcomplianceautomation/ci.mgmt.yml b/sdk/appcomplianceautomation/ci.mgmt.yml
index d8a31e0139a8..7c3b00d97c17 100644
--- a/sdk/appcomplianceautomation/ci.mgmt.yml
+++ b/sdk/appcomplianceautomation/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/appcomplianceautomation/ci.mgmt.yml
- sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/appcomplianceautomation/ci.mgmt.yml
+ - sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/appconfiguration/ci.mgmt.yml b/sdk/appconfiguration/ci.mgmt.yml
index a883eaefcd59..e53dd63aca0f 100644
--- a/sdk/appconfiguration/ci.mgmt.yml
+++ b/sdk/appconfiguration/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/appconfiguration/ci.mgmt.yml
- sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/appconfiguration/ci.mgmt.yml
+ - sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/
+
# These comments should stay.
extends:
diff --git a/sdk/applicationinsights/ci.mgmt.yml b/sdk/applicationinsights/ci.mgmt.yml
index af82b66e6952..361f4019d322 100644
--- a/sdk/applicationinsights/ci.mgmt.yml
+++ b/sdk/applicationinsights/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/applicationinsights/ci.mgmt.yml
- sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/applicationinsights/ci.mgmt.yml
+ - sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/appplatform/ci.mgmt.yml b/sdk/appplatform/ci.mgmt.yml
index 1d28b9352b6c..023cebeb8d71 100644
--- a/sdk/appplatform/ci.mgmt.yml
+++ b/sdk/appplatform/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/appplatform/ci.mgmt.yml
- sdk/appplatform/Azure.ResourceManager.AppPlatform/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/appplatform/ci.mgmt.yml
+ - sdk/appplatform/Azure.ResourceManager.AppPlatform/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/arc-scvmm/ci.mgmt.yml b/sdk/arc-scvmm/ci.mgmt.yml
index bbc2db0c9f63..53438df9d332 100644
--- a/sdk/arc-scvmm/ci.mgmt.yml
+++ b/sdk/arc-scvmm/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/arc-scvmm/ci.mgmt.yml
- sdk/arc-scvmm/Azure.ResourceManager.ScVmm/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/arc-scvmm/ci.mgmt.yml
+ - sdk/arc-scvmm/Azure.ResourceManager.ScVmm/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/astronomer/ci.mgmt.yml b/sdk/astronomer/ci.mgmt.yml
index f6099036651c..d0de6d52b29a 100644
--- a/sdk/astronomer/ci.mgmt.yml
+++ b/sdk/astronomer/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/astronomer/ci.mgmt.yml
- sdk/astronomer/Azure.ResourceManager.Astro/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/astronomer/ci.mgmt.yml
+ - sdk/astronomer/Azure.ResourceManager.Astro/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/attestation/ci.mgmt.yml b/sdk/attestation/ci.mgmt.yml
index 51d1ac0c8240..595f887b2c35 100644
--- a/sdk/attestation/ci.mgmt.yml
+++ b/sdk/attestation/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/attestation/ci.mgmt.yml
- sdk/attestation/Azure.ResourceManager.Attestation/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/attestation/ci.mgmt.yml
+ - sdk/attestation/Azure.ResourceManager.Attestation/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/authorization/ci.mgmt.yml b/sdk/authorization/ci.mgmt.yml
index 7ac32fcc5543..9c9d9638348d 100644
--- a/sdk/authorization/ci.mgmt.yml
+++ b/sdk/authorization/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/authorization/ci.mgmt.yml
- sdk/authorization/Azure.ResourceManager.Authorization/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/authorization/ci.mgmt.yml
+ - sdk/authorization/Azure.ResourceManager.Authorization/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/automanage/ci.mgmt.yml b/sdk/automanage/ci.mgmt.yml
index 5a2467820b85..8e45b6506aa8 100644
--- a/sdk/automanage/ci.mgmt.yml
+++ b/sdk/automanage/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/automanage/ci.mgmt.yml
- sdk/automanage/Azure.ResourceManager.Automanage/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/automanage/ci.mgmt.yml
+ - sdk/automanage/Azure.ResourceManager.Automanage/
+
extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/automation/ci.mgmt.yml b/sdk/automation/ci.mgmt.yml
index 45bec5d1c196..b2cb0f44bf22 100644
--- a/sdk/automation/ci.mgmt.yml
+++ b/sdk/automation/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/automation/ci.mgmt.yml
- sdk/automation/Azure.ResourceManager.Automation/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/automation/ci.mgmt.yml
+ - sdk/automation/Azure.ResourceManager.Automation/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/avs/ci.mgmt.yml b/sdk/avs/ci.mgmt.yml
index 6404a2ba34ce..7030303dc9f4 100644
--- a/sdk/avs/ci.mgmt.yml
+++ b/sdk/avs/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/avs/ci.mgmt.yml
- sdk/avs/Azure.ResourceManager.Avs/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/avs/ci.mgmt.yml
+ - sdk/avs/Azure.ResourceManager.Avs/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/azurelargeinstance/ci.mgmt.yml b/sdk/azurelargeinstance/ci.mgmt.yml
index fbe98927ef15..d9425419d2c3 100644
--- a/sdk/azurelargeinstance/ci.mgmt.yml
+++ b/sdk/azurelargeinstance/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/azurelargeinstance/ci.mgmt.yml
- sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/azurelargeinstance/ci.mgmt.yml
+ - sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/azurestackhci/ci.mgmt.yml b/sdk/azurestackhci/ci.mgmt.yml
index 89c22080e00c..167241c22e36 100644
--- a/sdk/azurestackhci/ci.mgmt.yml
+++ b/sdk/azurestackhci/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/azurestackhci/ci.mgmt.yml
- sdk/azurestackhci/Azure.ResourceManager.Hci/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/azurestackhci/ci.mgmt.yml
+ - sdk/azurestackhci/Azure.ResourceManager.Hci/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/batch/ci.mgmt.yml b/sdk/batch/ci.mgmt.yml
index fdb37873525c..57a9135b3c71 100644
--- a/sdk/batch/ci.mgmt.yml
+++ b/sdk/batch/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/batch/ci.mgmt.yml
- sdk/batch/Azure.ResourceManager.Batch/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/batch/ci.mgmt.yml
+ - sdk/batch/Azure.ResourceManager.Batch/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/billing/ci.mgmt.yml b/sdk/billing/ci.mgmt.yml
index 67cf904850c6..0efcab4a9c90 100644
--- a/sdk/billing/ci.mgmt.yml
+++ b/sdk/billing/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/billing/ci.mgmt.yml
- sdk/billing/Azure.ResourceManager.Billing/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/billing/ci.mgmt.yml
+ - sdk/billing/Azure.ResourceManager.Billing/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/billingbenefits/ci.mgmt.yml b/sdk/billingbenefits/ci.mgmt.yml
index 9900a842be4f..d2d1e939d8cd 100644
--- a/sdk/billingbenefits/ci.mgmt.yml
+++ b/sdk/billingbenefits/ci.mgmt.yml
@@ -2,6 +2,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -14,6 +15,18 @@ pr:
- sdk/billingbenefits/ci.mgmt.yml
- sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/billingbenefits/ci.mgmt.yml
+ - sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/blueprint/ci.mgmt.yml b/sdk/blueprint/ci.mgmt.yml
index 65bd23b77f51..6524937da4ee 100644
--- a/sdk/blueprint/ci.mgmt.yml
+++ b/sdk/blueprint/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/blueprint/ci.mgmt.yml
- sdk/blueprint/Azure.ResourceManager.Blueprint/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/blueprint/ci.mgmt.yml
+ - sdk/blueprint/Azure.ResourceManager.Blueprint/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/botservice/ci.mgmt.yml b/sdk/botservice/ci.mgmt.yml
index 8e5444ff3f9a..3e991a6ebab1 100644
--- a/sdk/botservice/ci.mgmt.yml
+++ b/sdk/botservice/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/botservice/ci.mgmt.yml
- sdk/botservice/Azure.ResourceManager.BotService/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/botservice/ci.mgmt.yml
+ - sdk/botservice/Azure.ResourceManager.BotService/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/cdn/ci.mgmt.yml b/sdk/cdn/ci.mgmt.yml
index ac2ea82249d1..f1932c6d31b9 100644
--- a/sdk/cdn/ci.mgmt.yml
+++ b/sdk/cdn/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/cdn/ci.mgmt.yml
- sdk/cdn/Azure.ResourceManager.Cdn/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/cdn/ci.mgmt.yml
+ - sdk/cdn/Azure.ResourceManager.Cdn/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/changeanalysis/ci.mgmt.yml b/sdk/changeanalysis/ci.mgmt.yml
index 65c6e90d195a..aee7612c339f 100644
--- a/sdk/changeanalysis/ci.mgmt.yml
+++ b/sdk/changeanalysis/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/changeanalysis/ci.mgmt.yml
- sdk/changeanalysis/Azure.ResourceManager.ChangeAnalysis/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/changeanalysis/ci.mgmt.yml
+ - sdk/changeanalysis/Azure.ResourceManager.ChangeAnalysis/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/chaos/ci.mgmt.yml b/sdk/chaos/ci.mgmt.yml
index 585591bcb6bd..a74922d27932 100644
--- a/sdk/chaos/ci.mgmt.yml
+++ b/sdk/chaos/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/chaos/ci.mgmt.yml
- sdk/chaos/Azure.ResourceManager.Chaos/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/chaos/ci.mgmt.yml
+ - sdk/chaos/Azure.ResourceManager.Chaos/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/cognitiveservices/ci.mgmt.yml b/sdk/cognitiveservices/ci.mgmt.yml
index ddeb32b868ce..79dda70912e2 100644
--- a/sdk/cognitiveservices/ci.mgmt.yml
+++ b/sdk/cognitiveservices/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/cognitiveservices/ci.mgmt.yml
- sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/cognitiveservices/ci.mgmt.yml
+ - sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/communication/ci.mgmt.yml b/sdk/communication/ci.mgmt.yml
index 8fc73e107745..be0c8b4b5903 100644
--- a/sdk/communication/ci.mgmt.yml
+++ b/sdk/communication/ci.mgmt.yml
@@ -1,5 +1,6 @@
trigger: none
+
pr:
branches:
include:
@@ -12,6 +13,18 @@ pr:
- sdk/communication/ci.mgmt.yml
- sdk/communication/Azure.ResourceManager.Communication/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/communication/ci.mgmt.yml
+ - sdk/communication/Azure.ResourceManager.Communication/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/compute/ci.mgmt.yml b/sdk/compute/ci.mgmt.yml
index d9520f58d12c..9736fea82d63 100644
--- a/sdk/compute/ci.mgmt.yml
+++ b/sdk/compute/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/compute/ci.mgmt.yml
- sdk/compute/Azure.ResourceManager.Compute/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/compute/ci.mgmt.yml
+ - sdk/compute/Azure.ResourceManager.Compute/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/computefleet/ci.mgmt.yml b/sdk/computefleet/ci.mgmt.yml
index de169e18c599..58fc15347c98 100644
--- a/sdk/computefleet/ci.mgmt.yml
+++ b/sdk/computefleet/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/computefleet/ci.mgmt.yml
- sdk/computefleet/Azure.ResourceManager.ComputeFleet/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/computefleet/ci.mgmt.yml
+ - sdk/computefleet/Azure.ResourceManager.ComputeFleet/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/computeschedule/ci.mgmt.yml b/sdk/computeschedule/ci.mgmt.yml
index d3a367f82551..01d026ef37ea 100644
--- a/sdk/computeschedule/ci.mgmt.yml
+++ b/sdk/computeschedule/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/computeschedule/ci.mgmt.yml
- sdk/computeschedule/Azure.ResourceManager.ComputeSchedule/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/computeschedule/ci.mgmt.yml
+ - sdk/computeschedule/Azure.ResourceManager.ComputeSchedule/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/confidentialledger/ci.mgmt.yml b/sdk/confidentialledger/ci.mgmt.yml
index 7343d843f2ee..b61c498ed14a 100644
--- a/sdk/confidentialledger/ci.mgmt.yml
+++ b/sdk/confidentialledger/ci.mgmt.yml
@@ -1,5 +1,6 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -12,6 +13,18 @@ pr:
- sdk/confidentialledger/ci.mgmt.yml
- sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/confidentialledger/ci.mgmt.yml
+ - sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/confluent/ci.mgmt.yml b/sdk/confluent/ci.mgmt.yml
index 12d37aa41bd2..757508d306f9 100644
--- a/sdk/confluent/ci.mgmt.yml
+++ b/sdk/confluent/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/confluent/ci.mgmt.yml
- sdk/confluent/Azure.ResourceManager.Confluent/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/confluent/ci.mgmt.yml
+ - sdk/confluent/Azure.ResourceManager.Confluent/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/connectedvmwarevsphere/ci.mgmt.yml b/sdk/connectedvmwarevsphere/ci.mgmt.yml
index a9d0db85cf82..f8990a206c45 100644
--- a/sdk/connectedvmwarevsphere/ci.mgmt.yml
+++ b/sdk/connectedvmwarevsphere/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/connectedvmwarevsphere/ci.mgmt.yml
- sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/connectedvmwarevsphere/ci.mgmt.yml
+ - sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/consumption/ci.mgmt.yml b/sdk/consumption/ci.mgmt.yml
index 6b0ebe2b2fa7..ccda85ce5789 100644
--- a/sdk/consumption/ci.mgmt.yml
+++ b/sdk/consumption/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/consumption/ci.mgmt.yml
- sdk/consumption/Azure.ResourceManager.Consumption/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/consumption/ci.mgmt.yml
+ - sdk/consumption/Azure.ResourceManager.Consumption/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/containerapps/ci.mgmt.yml b/sdk/containerapps/ci.mgmt.yml
index 7715d499fa59..69564e2f1920 100644
--- a/sdk/containerapps/ci.mgmt.yml
+++ b/sdk/containerapps/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/containerapps/ci.mgmt.yml
- sdk/containerapps/Azure.ResourceManager.AppContainers/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/containerapps/ci.mgmt.yml
+ - sdk/containerapps/Azure.ResourceManager.AppContainers/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/containerinstance/ci.mgmt.yml b/sdk/containerinstance/ci.mgmt.yml
index 0b4d90bf6d1c..865705313c2c 100644
--- a/sdk/containerinstance/ci.mgmt.yml
+++ b/sdk/containerinstance/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/containerinstance/ci.mgmt.yml
- sdk/containerinstance/Azure.ResourceManager.ContainerInstance/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/containerinstance/ci.mgmt.yml
+ - sdk/containerinstance/Azure.ResourceManager.ContainerInstance/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/containerorchestratorruntime/ci.mgmt.yml b/sdk/containerorchestratorruntime/ci.mgmt.yml
index 0a036386143b..98ade1bcf8c6 100644
--- a/sdk/containerorchestratorruntime/ci.mgmt.yml
+++ b/sdk/containerorchestratorruntime/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/containerorchestratorruntime/ci.mgmt.yml
- sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/containerorchestratorruntime/ci.mgmt.yml
+ - sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/containerregistry/ci.mgmt.yml b/sdk/containerregistry/ci.mgmt.yml
index e3f0cfb5bfa5..5fa9fce02790 100644
--- a/sdk/containerregistry/ci.mgmt.yml
+++ b/sdk/containerregistry/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/containerregistry/ci.mgmt.yml
- sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/containerregistry/ci.mgmt.yml
+ - sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/containerservice/ci.mgmt.yml b/sdk/containerservice/ci.mgmt.yml
index 9eb58047b02e..8eb615e701f7 100644
--- a/sdk/containerservice/ci.mgmt.yml
+++ b/sdk/containerservice/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/containerservice/ci.mgmt.yml
- sdk/containerservice/Azure.ResourceManager.ContainerService/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/containerservice/ci.mgmt.yml
+ - sdk/containerservice/Azure.ResourceManager.ContainerService/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/cosmosdb/ci.mgmt.yml b/sdk/cosmosdb/ci.mgmt.yml
index 1eab24b3bbf9..ac1fce954c2a 100644
--- a/sdk/cosmosdb/ci.mgmt.yml
+++ b/sdk/cosmosdb/ci.mgmt.yml
@@ -2,6 +2,7 @@
# This file is generated automatically and any changes will be lost.
trigger: none
+
pr:
branches:
include:
@@ -14,6 +15,18 @@ pr:
- sdk/cosmosdb/ci.mgmt.yml
- sdk/cosmosdb/Azure.ResourceManager.CosmosDB/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/cosmosdb/ci.mgmt.yml
+ - sdk/cosmosdb/Azure.ResourceManager.CosmosDB/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/cosmosdbforpostgresql/ci.mgmt.yml b/sdk/cosmosdbforpostgresql/ci.mgmt.yml
index ef6098c3999f..bfe2761181a8 100644
--- a/sdk/cosmosdbforpostgresql/ci.mgmt.yml
+++ b/sdk/cosmosdbforpostgresql/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/cosmosdbforpostgresql/ci.mgmt.yml
- sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/cosmosdbforpostgresql/ci.mgmt.yml
+ - sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/costmanagement/ci.mgmt.yml b/sdk/costmanagement/ci.mgmt.yml
index e59280ba6be2..cee9459831fb 100644
--- a/sdk/costmanagement/ci.mgmt.yml
+++ b/sdk/costmanagement/ci.mgmt.yml
@@ -2,6 +2,7 @@
# This file is generated automatically and any changes will be lost.
trigger: none
+
pr:
branches:
include:
@@ -14,6 +15,18 @@ pr:
- sdk/costmanagement/ci.mgmt.yml
- sdk/costmanagement/Azure.ResourceManager.CostManagement/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/costmanagement/ci.mgmt.yml
+ - sdk/costmanagement/Azure.ResourceManager.CostManagement/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/customer-insights/ci.mgmt.yml b/sdk/customer-insights/ci.mgmt.yml
index 124af418dcfa..a5d4f1a60cb5 100644
--- a/sdk/customer-insights/ci.mgmt.yml
+++ b/sdk/customer-insights/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/customer-insights/ci.mgmt.yml
- sdk/customer-insights/Azure.ResourceManager.CustomerInsights/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/customer-insights/ci.mgmt.yml
+ - sdk/customer-insights/Azure.ResourceManager.CustomerInsights/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/databox/ci.mgmt.yml b/sdk/databox/ci.mgmt.yml
index edd63a701700..6525b0b436cc 100644
--- a/sdk/databox/ci.mgmt.yml
+++ b/sdk/databox/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/databox/ci.mgmt.yml
- sdk/databox/Azure.ResourceManager.DataBox/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/databox/ci.mgmt.yml
+ - sdk/databox/Azure.ResourceManager.DataBox/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/databoxedge/ci.mgmt.yml b/sdk/databoxedge/ci.mgmt.yml
index 29e3b1537c78..3cf952bd82f3 100644
--- a/sdk/databoxedge/ci.mgmt.yml
+++ b/sdk/databoxedge/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/databoxedge/ci.mgmt.yml
- sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/databoxedge/ci.mgmt.yml
+ - sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/datadog/ci.mgmt.yml b/sdk/datadog/ci.mgmt.yml
index 9e9d6825d8b0..c1b66f6edb09 100644
--- a/sdk/datadog/ci.mgmt.yml
+++ b/sdk/datadog/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/datadog/ci.mgmt.yml
- sdk/datadog/Azure.ResourceManager.Datadog/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/datadog/ci.mgmt.yml
+ - sdk/datadog/Azure.ResourceManager.Datadog/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/datafactory/ci.mgmt.yml b/sdk/datafactory/ci.mgmt.yml
index 85d246a5d4e7..1f1a4ba295cd 100644
--- a/sdk/datafactory/ci.mgmt.yml
+++ b/sdk/datafactory/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/datafactory/ci.mgmt.yml
- sdk/datafactory/Azure.ResourceManager.DataFactory/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/datafactory/ci.mgmt.yml
+ - sdk/datafactory/Azure.ResourceManager.DataFactory/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/datalake-analytics/ci.mgmt.yml b/sdk/datalake-analytics/ci.mgmt.yml
index b8794cd18f9e..44823b2f9444 100644
--- a/sdk/datalake-analytics/ci.mgmt.yml
+++ b/sdk/datalake-analytics/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/datalake-analytics/ci.mgmt.yml
- sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/datalake-analytics/ci.mgmt.yml
+ - sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/datalake-store/ci.mgmt.yml b/sdk/datalake-store/ci.mgmt.yml
index 469839fd3024..27295ad1c28c 100644
--- a/sdk/datalake-store/ci.mgmt.yml
+++ b/sdk/datalake-store/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/datalake-store/ci.mgmt.yml
- sdk/datalake-store/Azure.ResourceManager.DataLakeStore/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/datalake-store/ci.mgmt.yml
+ - sdk/datalake-store/Azure.ResourceManager.DataLakeStore/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/datamigration/ci.mgmt.yml b/sdk/datamigration/ci.mgmt.yml
index 1e64024fed17..f26452e1de48 100644
--- a/sdk/datamigration/ci.mgmt.yml
+++ b/sdk/datamigration/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/datamigration/ci.mgmt.yml
- sdk/datamigration/Azure.ResourceManager.DataMigration/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/datamigration/ci.mgmt.yml
+ - sdk/datamigration/Azure.ResourceManager.DataMigration/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/dataprotection/ci.mgmt.yml b/sdk/dataprotection/ci.mgmt.yml
index 25637090aedb..0b74e9436cc7 100644
--- a/sdk/dataprotection/ci.mgmt.yml
+++ b/sdk/dataprotection/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/dataprotection/ci.mgmt.yml
- sdk/dataprotection/Azure.ResourceManager.DataProtectionBackup/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/dataprotection/ci.mgmt.yml
+ - sdk/dataprotection/Azure.ResourceManager.DataProtectionBackup/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/datashare/ci.mgmt.yml b/sdk/datashare/ci.mgmt.yml
index f6dd41e0f37f..dcb3801e3f58 100644
--- a/sdk/datashare/ci.mgmt.yml
+++ b/sdk/datashare/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/datashare/ci.mgmt.yml
- sdk/datashare/Azure.ResourceManager.DataShare/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/datashare/ci.mgmt.yml
+ - sdk/datashare/Azure.ResourceManager.DataShare/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/defendereasm/ci.mgmt.yml b/sdk/defendereasm/ci.mgmt.yml
index dd90e5a46690..2dc5c04ec007 100644
--- a/sdk/defendereasm/ci.mgmt.yml
+++ b/sdk/defendereasm/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/defendereasm/ci.mgmt.yml
- sdk/defendereasm/Azure.ResourceManager.DefenderEasm/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/defendereasm/ci.mgmt.yml
+ - sdk/defendereasm/Azure.ResourceManager.DefenderEasm/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/desktopvirtualization/ci.mgmt.yml b/sdk/desktopvirtualization/ci.mgmt.yml
index 3d6f40025c77..b6af32cc15c3 100644
--- a/sdk/desktopvirtualization/ci.mgmt.yml
+++ b/sdk/desktopvirtualization/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/desktopvirtualization/ci.mgmt.yml
- sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/desktopvirtualization/ci.mgmt.yml
+ - sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/devcenter/ci.mgmt.yml b/sdk/devcenter/ci.mgmt.yml
index 136d77bbba6d..cfa8320239dd 100644
--- a/sdk/devcenter/ci.mgmt.yml
+++ b/sdk/devcenter/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/devcenter/ci.mgmt.yml
- sdk/devcenter/Azure.ResourceManager.DevCenter/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/devcenter/ci.mgmt.yml
+ - sdk/devcenter/Azure.ResourceManager.DevCenter/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/deviceprovisioningservices/ci.mgmt.yml b/sdk/deviceprovisioningservices/ci.mgmt.yml
index f9c94973a324..733989d927dc 100644
--- a/sdk/deviceprovisioningservices/ci.mgmt.yml
+++ b/sdk/deviceprovisioningservices/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/deviceprovisioningservices/ci.mgmt.yml
- sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/deviceprovisioningservices/ci.mgmt.yml
+ - sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/deviceregistry/ci.mgmt.yml b/sdk/deviceregistry/ci.mgmt.yml
index 05fffe301114..271e718d8676 100644
--- a/sdk/deviceregistry/ci.mgmt.yml
+++ b/sdk/deviceregistry/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/deviceregistry/ci.mgmt.yml
- sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/deviceregistry/ci.mgmt.yml
+ - sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/deviceupdate/ci.mgmt.yml b/sdk/deviceupdate/ci.mgmt.yml
index c1315e462bb9..d8abd00a2256 100644
--- a/sdk/deviceupdate/ci.mgmt.yml
+++ b/sdk/deviceupdate/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/deviceupdate/ci.mgmt.yml
- sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/deviceupdate/ci.mgmt.yml
+ - sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/devopsinfrastructure/ci.mgmt.yml b/sdk/devopsinfrastructure/ci.mgmt.yml
index 0f2db1225cf0..8e463b9f3794 100644
--- a/sdk/devopsinfrastructure/ci.mgmt.yml
+++ b/sdk/devopsinfrastructure/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/devopsinfrastructure/ci.mgmt.yml
- sdk/devopsinfrastructure/Azure.ResourceManager.DevOpsInfrastructure/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/devopsinfrastructure/ci.mgmt.yml
+ - sdk/devopsinfrastructure/Azure.ResourceManager.DevOpsInfrastructure/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/devspaces/ci.mgmt.yml b/sdk/devspaces/ci.mgmt.yml
index b63234a64555..248d3c3143f0 100644
--- a/sdk/devspaces/ci.mgmt.yml
+++ b/sdk/devspaces/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/devspaces/ci.mgmt.yml
- sdk/devspaces/Azure.ResourceManager.DevSpaces/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/devspaces/ci.mgmt.yml
+ - sdk/devspaces/Azure.ResourceManager.DevSpaces/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/devtestlabs/ci.mgmt.yml b/sdk/devtestlabs/ci.mgmt.yml
index 1946409a6b75..7ee994de378b 100644
--- a/sdk/devtestlabs/ci.mgmt.yml
+++ b/sdk/devtestlabs/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/devtestlabs/ci.mgmt.yml
- sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/devtestlabs/ci.mgmt.yml
+ - sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/digitaltwins/ci.mgmt.yml b/sdk/digitaltwins/ci.mgmt.yml
index a0e8233a36cf..a8766e215b7c 100644
--- a/sdk/digitaltwins/ci.mgmt.yml
+++ b/sdk/digitaltwins/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/digitaltwins/ci.mgmt.yml
- sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/digitaltwins/ci.mgmt.yml
+ - sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/dns/ci.mgmt.yml b/sdk/dns/ci.mgmt.yml
index 8357809b4e6f..ec6edfb21775 100644
--- a/sdk/dns/ci.mgmt.yml
+++ b/sdk/dns/ci.mgmt.yml
@@ -2,6 +2,7 @@
# This file is generated automatically and any changes will be lost.
trigger: none
+
pr:
branches:
include:
@@ -14,6 +15,18 @@ pr:
- sdk/dns/ci.mgmt.yml
- sdk/dns/Azure.ResourceManager.Dns/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/dns/ci.mgmt.yml
+ - sdk/dns/Azure.ResourceManager.Dns/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/dnsresolver/ci.mgmt.yml b/sdk/dnsresolver/ci.mgmt.yml
index afa270cdc600..6b2569c11c49 100644
--- a/sdk/dnsresolver/ci.mgmt.yml
+++ b/sdk/dnsresolver/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/dnsresolver/ci.mgmt.yml
- sdk/dnsresolver/Azure.ResourceManager.DnsResolver/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/dnsresolver/ci.mgmt.yml
+ - sdk/dnsresolver/Azure.ResourceManager.DnsResolver/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/dynatrace/ci.mgmt.yml b/sdk/dynatrace/ci.mgmt.yml
index f76bf3a316af..fe97a3c1f612 100644
--- a/sdk/dynatrace/ci.mgmt.yml
+++ b/sdk/dynatrace/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/dynatrace/ci.mgmt.yml
- sdk/dynatrace/Azure.ResourceManager.Dynatrace/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/dynatrace/ci.mgmt.yml
+ - sdk/dynatrace/Azure.ResourceManager.Dynatrace/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/edgeorder/ci.mgmt.yml b/sdk/edgeorder/ci.mgmt.yml
index 4d1fbaa121f9..cb4d87c29a1b 100644
--- a/sdk/edgeorder/ci.mgmt.yml
+++ b/sdk/edgeorder/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/edgeorder/ci.mgmt.yml
- sdk/edgeorder/Azure.ResourceManager.EdgeOrder/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/edgeorder/ci.mgmt.yml
+ - sdk/edgeorder/Azure.ResourceManager.EdgeOrder/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/edgezones/ci.mgmt.yml b/sdk/edgezones/ci.mgmt.yml
index 9dc8d79aab30..ebed00842581 100644
--- a/sdk/edgezones/ci.mgmt.yml
+++ b/sdk/edgezones/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/edgezones/ci.mgmt.yml
- sdk/edgezones/Azure.ResourceManager.EdgeZones/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/edgezones/ci.mgmt.yml
+ - sdk/edgezones/Azure.ResourceManager.EdgeZones/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/elastic/ci.mgmt.yml b/sdk/elastic/ci.mgmt.yml
index 76ecd8b3923d..2e29070fce4a 100644
--- a/sdk/elastic/ci.mgmt.yml
+++ b/sdk/elastic/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/elastic/ci.mgmt.yml
- sdk/elastic/Azure.ResourceManager.Elastic/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/elastic/ci.mgmt.yml
+ - sdk/elastic/Azure.ResourceManager.Elastic/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/elasticsan/ci.mgmt.yml b/sdk/elasticsan/ci.mgmt.yml
index 7e2bb35dde21..dba4416415e9 100644
--- a/sdk/elasticsan/ci.mgmt.yml
+++ b/sdk/elasticsan/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/elasticsan/ci.mgmt.yml
- sdk/elasticsan/Azure.ResourceManager.ElasticSan/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/elasticsan/ci.mgmt.yml
+ - sdk/elasticsan/Azure.ResourceManager.ElasticSan/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/eventgrid/ci.mgmt.yml b/sdk/eventgrid/ci.mgmt.yml
index cb02a1b84e8b..1b2eaffc0fdd 100644
--- a/sdk/eventgrid/ci.mgmt.yml
+++ b/sdk/eventgrid/ci.mgmt.yml
@@ -2,6 +2,7 @@
# This is for Track 2 managment plane SDK
trigger: none
+
pr:
branches:
include:
@@ -14,6 +15,18 @@ pr:
- sdk/eventgrid/ci.mgmt.yml
- sdk/eventgrid/Azure.ResourceManager.EventGrid/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/eventgrid/ci.mgmt.yml
+ - sdk/eventgrid/Azure.ResourceManager.EventGrid/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/eventhub/ci.mgmt.yml b/sdk/eventhub/ci.mgmt.yml
index b7c0045fffb3..dadda2db6dc5 100644
--- a/sdk/eventhub/ci.mgmt.yml
+++ b/sdk/eventhub/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/eventhub/ci.mgmt.yml
- sdk/eventhub/Azure.ResourceManager.EventHubs/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/eventhub/ci.mgmt.yml
+ - sdk/eventhub/Azure.ResourceManager.EventHubs/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/extendedlocation/ci.mgmt.yml b/sdk/extendedlocation/ci.mgmt.yml
index 4fb53374be74..e9c6939e2b1d 100644
--- a/sdk/extendedlocation/ci.mgmt.yml
+++ b/sdk/extendedlocation/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/extendedlocation/ci.mgmt.yml
- sdk/extendedlocation/Azure.ResourceManager.ExtendedLocations/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/extendedlocation/ci.mgmt.yml
+ - sdk/extendedlocation/Azure.ResourceManager.ExtendedLocations/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/fabric/ci.mgmt.yml b/sdk/fabric/ci.mgmt.yml
index d0bc6cea6eb9..5cc91d0c8722 100644
--- a/sdk/fabric/ci.mgmt.yml
+++ b/sdk/fabric/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/fabric/ci.mgmt.yml
- sdk/fabric/Azure.ResourceManager.Fabric/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/fabric/ci.mgmt.yml
+ - sdk/fabric/Azure.ResourceManager.Fabric/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/fleet/ci.mgmt.yml b/sdk/fleet/ci.mgmt.yml
index 09a225882401..469d40cad619 100644
--- a/sdk/fleet/ci.mgmt.yml
+++ b/sdk/fleet/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/fleet/ci.mgmt.yml
- sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/fleet/ci.mgmt.yml
+ - sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/fluidrelay/ci.mgmt.yml b/sdk/fluidrelay/ci.mgmt.yml
index d43dfe94d729..1673db3a9f26 100644
--- a/sdk/fluidrelay/ci.mgmt.yml
+++ b/sdk/fluidrelay/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/fluidrelay/ci.mgmt.yml
- sdk/fluidrelay/Azure.ResourceManager.FluidRelay/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/fluidrelay/ci.mgmt.yml
+ - sdk/fluidrelay/Azure.ResourceManager.FluidRelay/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/frontdoor/ci.mgmt.yml b/sdk/frontdoor/ci.mgmt.yml
index bff9dbcae78c..f19923a1b43d 100644
--- a/sdk/frontdoor/ci.mgmt.yml
+++ b/sdk/frontdoor/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/frontdoor/ci.mgmt.yml
- sdk/frontdoor/Azure.ResourceManager.FrontDoor/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/frontdoor/ci.mgmt.yml
+ - sdk/frontdoor/Azure.ResourceManager.FrontDoor/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/grafana/ci.mgmt.yml b/sdk/grafana/ci.mgmt.yml
index a2f22e6ee33b..848173351b4d 100644
--- a/sdk/grafana/ci.mgmt.yml
+++ b/sdk/grafana/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/grafana/ci.mgmt.yml
- sdk/grafana/Azure.ResourceManager.Grafana/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/grafana/ci.mgmt.yml
+ - sdk/grafana/Azure.ResourceManager.Grafana/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/graphservices/ci.mgmt.yml b/sdk/graphservices/ci.mgmt.yml
index 717a9a4a1963..ccd14b614b43 100644
--- a/sdk/graphservices/ci.mgmt.yml
+++ b/sdk/graphservices/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/graphservices/ci.mgmt.yml
- sdk/graphservices/Azure.ResourceManager.GraphServices/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/graphservices/ci.mgmt.yml
+ - sdk/graphservices/Azure.ResourceManager.GraphServices/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/guestconfiguration/ci.mgmt.yml b/sdk/guestconfiguration/ci.mgmt.yml
index 5ebc59550f58..c2d2526d488b 100644
--- a/sdk/guestconfiguration/ci.mgmt.yml
+++ b/sdk/guestconfiguration/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/guestconfiguration/ci.mgmt.yml
- sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/guestconfiguration/ci.mgmt.yml
+ - sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/hardwaresecuritymodules/ci.mgmt.yml b/sdk/hardwaresecuritymodules/ci.mgmt.yml
index 21778711f99e..d94eea966253 100644
--- a/sdk/hardwaresecuritymodules/ci.mgmt.yml
+++ b/sdk/hardwaresecuritymodules/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/hardwaresecuritymodules/ci.mgmt.yml
- sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/hardwaresecuritymodules/ci.mgmt.yml
+ - sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/hdinsight/ci.mgmt.yml b/sdk/hdinsight/ci.mgmt.yml
index 4df0a02f5c80..29d3b404c76a 100644
--- a/sdk/hdinsight/ci.mgmt.yml
+++ b/sdk/hdinsight/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/hdinsight/ci.mgmt.yml
- sdk/hdinsight/Azure.ResourceManager.HDInsight/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/hdinsight/ci.mgmt.yml
+ - sdk/hdinsight/Azure.ResourceManager.HDInsight/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/hdinsightcontainers/ci.mgmt.yml b/sdk/hdinsightcontainers/ci.mgmt.yml
index 69a7566e0caa..66a879d8fbcd 100644
--- a/sdk/hdinsightcontainers/ci.mgmt.yml
+++ b/sdk/hdinsightcontainers/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/hdinsightcontainers/ci.mgmt.yml
- sdk/hdinsightcontainers/Azure.ResourceManager.HDInsight.Containers/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/hdinsightcontainers/ci.mgmt.yml
+ - sdk/hdinsightcontainers/Azure.ResourceManager.HDInsight.Containers/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/healthbot/ci.mgmt.yml b/sdk/healthbot/ci.mgmt.yml
index 14bfc7f855e6..4c2698659502 100644
--- a/sdk/healthbot/ci.mgmt.yml
+++ b/sdk/healthbot/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/healthbot/ci.mgmt.yml
- sdk/healthbot/Azure.ResourceManager.HealthBot/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/healthbot/ci.mgmt.yml
+ - sdk/healthbot/Azure.ResourceManager.HealthBot/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/healthcareapis/ci.mgmt.yml b/sdk/healthcareapis/ci.mgmt.yml
index 57030df35e56..6f02ac8fd023 100644
--- a/sdk/healthcareapis/ci.mgmt.yml
+++ b/sdk/healthcareapis/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/healthcareapis/ci.mgmt.yml
- sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/healthcareapis/ci.mgmt.yml
+ - sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/healthdataaiservices/ci.mgmt.yml b/sdk/healthdataaiservices/ci.mgmt.yml
index 016a917c1e19..45857afa5722 100644
--- a/sdk/healthdataaiservices/ci.mgmt.yml
+++ b/sdk/healthdataaiservices/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/healthdataaiservices/ci.mgmt.yml
- sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/healthdataaiservices/ci.mgmt.yml
+ - sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/hybridaks/ci.mgmt.yml b/sdk/hybridaks/ci.mgmt.yml
index 552eb3298d3a..af3d82703d11 100644
--- a/sdk/hybridaks/ci.mgmt.yml
+++ b/sdk/hybridaks/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/hybridaks/ci.mgmt.yml
- sdk/hybridaks/Azure.ResourceManager.HybridContainerService/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/hybridaks/ci.mgmt.yml
+ - sdk/hybridaks/Azure.ResourceManager.HybridContainerService/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/hybridcompute/ci.mgmt.yml b/sdk/hybridcompute/ci.mgmt.yml
index d163a966512d..15f8656c399e 100644
--- a/sdk/hybridcompute/ci.mgmt.yml
+++ b/sdk/hybridcompute/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/hybridcompute/ci.mgmt.yml
- sdk/hybridcompute/Azure.ResourceManager.HybridCompute/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/hybridcompute/ci.mgmt.yml
+ - sdk/hybridcompute/Azure.ResourceManager.HybridCompute/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/hybridconnectivity/ci.mgmt.yml b/sdk/hybridconnectivity/ci.mgmt.yml
index 9ccca42ef557..8d809d4d9633 100644
--- a/sdk/hybridconnectivity/ci.mgmt.yml
+++ b/sdk/hybridconnectivity/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/hybridconnectivity/ci.mgmt.yml
- sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/hybridconnectivity/ci.mgmt.yml
+ - sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/hybridkubernetes/ci.mgmt.yml b/sdk/hybridkubernetes/ci.mgmt.yml
index fff768430c9d..bb98635a8e1c 100644
--- a/sdk/hybridkubernetes/ci.mgmt.yml
+++ b/sdk/hybridkubernetes/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/hybridkubernetes/ci.mgmt.yml
- sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/hybridkubernetes/ci.mgmt.yml
+ - sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/hybridnetwork/ci.mgmt.yml b/sdk/hybridnetwork/ci.mgmt.yml
index 35f71f8ae870..39412ff81f05 100644
--- a/sdk/hybridnetwork/ci.mgmt.yml
+++ b/sdk/hybridnetwork/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/hybridnetwork/ci.mgmt.yml
- sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/hybridnetwork/ci.mgmt.yml
+ - sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/informaticadatamanagement/ci.mgmt.yml b/sdk/informaticadatamanagement/ci.mgmt.yml
index 03013cc9c90b..82d3bafd3f7f 100644
--- a/sdk/informaticadatamanagement/ci.mgmt.yml
+++ b/sdk/informaticadatamanagement/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/informaticadatamanagement/ci.mgmt.yml
- sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/informaticadatamanagement/ci.mgmt.yml
+ - sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/iot/ci.mgmt.yml b/sdk/iot/ci.mgmt.yml
index 6260cd0d71f2..199578b03331 100644
--- a/sdk/iot/ci.mgmt.yml
+++ b/sdk/iot/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/iot/ci.mgmt.yml
- sdk/iot/Azure.ResourceManager.IotFirmwareDefense/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/iot/ci.mgmt.yml
+ - sdk/iot/Azure.ResourceManager.IotFirmwareDefense/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/iotcentral/ci.mgmt.yml b/sdk/iotcentral/ci.mgmt.yml
index 1702fd71c6dd..1225f99c37fd 100644
--- a/sdk/iotcentral/ci.mgmt.yml
+++ b/sdk/iotcentral/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/iotcentral/ci.mgmt.yml
- sdk/iotcentral/Azure.ResourceManager.IotCentral/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/iotcentral/ci.mgmt.yml
+ - sdk/iotcentral/Azure.ResourceManager.IotCentral/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/iothub/ci.mgmt.yml b/sdk/iothub/ci.mgmt.yml
index 5eb9e999a89c..63fb10994eac 100644
--- a/sdk/iothub/ci.mgmt.yml
+++ b/sdk/iothub/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/iothub/ci.mgmt.yml
- sdk/iothub/Azure.ResourceManager.IotHub/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/iothub/ci.mgmt.yml
+ - sdk/iothub/Azure.ResourceManager.IotHub/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/keyvault/ci.mgmt.yml b/sdk/keyvault/ci.mgmt.yml
index b48c2f8d4ff4..8ad905079a0a 100644
--- a/sdk/keyvault/ci.mgmt.yml
+++ b/sdk/keyvault/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/keyvault/ci.mgmt.yml
- sdk/keyvault/Azure.ResourceManager.KeyVault/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/keyvault/ci.mgmt.yml
+ - sdk/keyvault/Azure.ResourceManager.KeyVault/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/kubernetesconfiguration/ci.mgmt.yml b/sdk/kubernetesconfiguration/ci.mgmt.yml
index 4249ef57fa6e..d3fb470a7b6e 100644
--- a/sdk/kubernetesconfiguration/ci.mgmt.yml
+++ b/sdk/kubernetesconfiguration/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/kubernetesconfiguration/ci.mgmt.yml
- sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/kubernetesconfiguration/ci.mgmt.yml
+ - sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/kusto/ci.mgmt.yml b/sdk/kusto/ci.mgmt.yml
index 374cf1f0cb81..c410d1487d18 100644
--- a/sdk/kusto/ci.mgmt.yml
+++ b/sdk/kusto/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/kusto/ci.mgmt.yml
- sdk/kusto/Azure.ResourceManager.Kusto/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/kusto/ci.mgmt.yml
+ - sdk/kusto/Azure.ResourceManager.Kusto/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/labservices/ci.mgmt.yml b/sdk/labservices/ci.mgmt.yml
index 48f80379ab14..f8a982072965 100644
--- a/sdk/labservices/ci.mgmt.yml
+++ b/sdk/labservices/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/labservices/ci.mgmt.yml
- sdk/labservices/Azure.ResourceManager.LabServices/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/labservices/ci.mgmt.yml
+ - sdk/labservices/Azure.ResourceManager.LabServices/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/loadtestservice/ci.mgmt.yml b/sdk/loadtestservice/ci.mgmt.yml
index 4e3d99d42979..dfc32939e497 100644
--- a/sdk/loadtestservice/ci.mgmt.yml
+++ b/sdk/loadtestservice/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/loadtestservice/ci.mgmt.yml
- sdk/loadtestservice/Azure.ResourceManager.LoadTesting/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/loadtestservice/ci.mgmt.yml
+ - sdk/loadtestservice/Azure.ResourceManager.LoadTesting/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/logic/ci.mgmt.yml b/sdk/logic/ci.mgmt.yml
index b89b224082ee..5bed51facd34 100644
--- a/sdk/logic/ci.mgmt.yml
+++ b/sdk/logic/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/logic/ci.mgmt.yml
- sdk/logic/Azure.ResourceManager.Logic/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/logic/ci.mgmt.yml
+ - sdk/logic/Azure.ResourceManager.Logic/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/machinelearningcompute/ci.mgmt.yml b/sdk/machinelearningcompute/ci.mgmt.yml
index 9ea84fdf4d15..5ea619231191 100644
--- a/sdk/machinelearningcompute/ci.mgmt.yml
+++ b/sdk/machinelearningcompute/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/machinelearningcompute/ci.mgmt.yml
- sdk/machinelearningcompute/Azure.ResourceManager.MachineLearningCompute/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/machinelearningcompute/ci.mgmt.yml
+ - sdk/machinelearningcompute/Azure.ResourceManager.MachineLearningCompute/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/machinelearningservices/ci.mgmt.yml b/sdk/machinelearningservices/ci.mgmt.yml
index 457299ab20b9..3a99ed224fc2 100644
--- a/sdk/machinelearningservices/ci.mgmt.yml
+++ b/sdk/machinelearningservices/ci.mgmt.yml
@@ -1,5 +1,6 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -12,6 +13,18 @@ pr:
- sdk/machinelearningservices/ci.mgmt.yml
- sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/machinelearningservices/ci.mgmt.yml
+ - sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/maintenance/ci.mgmt.yml b/sdk/maintenance/ci.mgmt.yml
index c49cc1565d6d..94c552b69f26 100644
--- a/sdk/maintenance/ci.mgmt.yml
+++ b/sdk/maintenance/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/maintenance/ci.mgmt.yml
- sdk/maintenance/Azure.ResourceManager.Maintenance/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/maintenance/ci.mgmt.yml
+ - sdk/maintenance/Azure.ResourceManager.Maintenance/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/managednetwork/ci.mgmt.yml b/sdk/managednetwork/ci.mgmt.yml
index 431d66d1245b..08c9f3d0ce55 100644
--- a/sdk/managednetwork/ci.mgmt.yml
+++ b/sdk/managednetwork/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/managednetwork/ci.mgmt.yml
- sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/managednetwork/ci.mgmt.yml
+ - sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/managednetworkfabric/ci.mgmt.yml b/sdk/managednetworkfabric/ci.mgmt.yml
index aa6b571b04e2..3212ad45bbde 100644
--- a/sdk/managednetworkfabric/ci.mgmt.yml
+++ b/sdk/managednetworkfabric/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/managednetworkfabric/ci.mgmt.yml
- sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/managednetworkfabric/ci.mgmt.yml
+ - sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/managedserviceidentity/ci.mgmt.yml b/sdk/managedserviceidentity/ci.mgmt.yml
index c8f3a187f918..c9cd4b0f235a 100644
--- a/sdk/managedserviceidentity/ci.mgmt.yml
+++ b/sdk/managedserviceidentity/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/managedserviceidentity/ci.mgmt.yml
- sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/managedserviceidentity/ci.mgmt.yml
+ - sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/
+
extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/managedservices/ci.mgmt.yml b/sdk/managedservices/ci.mgmt.yml
index d6c0ccd16eef..88360bb2defa 100644
--- a/sdk/managedservices/ci.mgmt.yml
+++ b/sdk/managedservices/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/managedservices/ci.mgmt.yml
- sdk/managedservices/Azure.ResourceManager.ManagedServices/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/managedservices/ci.mgmt.yml
+ - sdk/managedservices/Azure.ResourceManager.ManagedServices/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/managementpartner/ci.mgmt.yml b/sdk/managementpartner/ci.mgmt.yml
index 52c8e762088e..6fdd0118e1b9 100644
--- a/sdk/managementpartner/ci.mgmt.yml
+++ b/sdk/managementpartner/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/managementpartner/ci.mgmt.yml
- sdk/managementpartner/Azure.ResourceManager.ManagementPartner/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/managementpartner/ci.mgmt.yml
+ - sdk/managementpartner/Azure.ResourceManager.ManagementPartner/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/maps/ci.mgmt.yml b/sdk/maps/ci.mgmt.yml
index 2f16079cab2e..7ee4f1ddad3c 100644
--- a/sdk/maps/ci.mgmt.yml
+++ b/sdk/maps/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/maps/ci.mgmt.yml
- sdk/maps/Azure.ResourceManager.Maps/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/maps/ci.mgmt.yml
+ - sdk/maps/Azure.ResourceManager.Maps/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/marketplace/ci.mgmt.yml b/sdk/marketplace/ci.mgmt.yml
index e6574bdb3039..42bc8a147b30 100644
--- a/sdk/marketplace/ci.mgmt.yml
+++ b/sdk/marketplace/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/marketplace/ci.mgmt.yml
- sdk/marketplace/Azure.ResourceManager.Marketplace/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/marketplace/ci.mgmt.yml
+ - sdk/marketplace/Azure.ResourceManager.Marketplace/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/marketplaceordering/ci.mgmt.yml b/sdk/marketplaceordering/ci.mgmt.yml
index 2b1f8721902e..c602647fb32d 100644
--- a/sdk/marketplaceordering/ci.mgmt.yml
+++ b/sdk/marketplaceordering/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/marketplaceordering/ci.mgmt.yml
- sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/marketplaceordering/ci.mgmt.yml
+ - sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/mediaservices/ci.mgmt.yml b/sdk/mediaservices/ci.mgmt.yml
index 55656f3ae48b..201ecc9d995d 100644
--- a/sdk/mediaservices/ci.mgmt.yml
+++ b/sdk/mediaservices/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/mediaservices/ci.mgmt.yml
- sdk/mediaservices/Azure.ResourceManager.Media/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/mediaservices/ci.mgmt.yml
+ - sdk/mediaservices/Azure.ResourceManager.Media/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/migrationdiscoverysap/ci.mgmt.yml b/sdk/migrationdiscoverysap/ci.mgmt.yml
index f5eb354d28e7..26c079f3d6f5 100644
--- a/sdk/migrationdiscoverysap/ci.mgmt.yml
+++ b/sdk/migrationdiscoverysap/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/migrationdiscoverysap/ci.mgmt.yml
- sdk/migrationdiscoverysap/Azure.ResourceManager.MigrationDiscoverySap/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/migrationdiscoverysap/ci.mgmt.yml
+ - sdk/migrationdiscoverysap/Azure.ResourceManager.MigrationDiscoverySap/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/mixedreality/ci.mgmt.yml b/sdk/mixedreality/ci.mgmt.yml
index 81c0c2744232..d342a10a32e0 100644
--- a/sdk/mixedreality/ci.mgmt.yml
+++ b/sdk/mixedreality/ci.mgmt.yml
@@ -1,5 +1,6 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -12,6 +13,18 @@ pr:
- sdk/mixedreality/ci.mgmt.yml
- sdk/mixedreality/Azure.ResourceManager.MixedReality/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/mixedreality/ci.mgmt.yml
+ - sdk/mixedreality/Azure.ResourceManager.MixedReality/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/mobilenetwork/ci.mgmt.yml b/sdk/mobilenetwork/ci.mgmt.yml
index 8a68e6749ba7..325154bfbfb7 100644
--- a/sdk/mobilenetwork/ci.mgmt.yml
+++ b/sdk/mobilenetwork/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/mobilenetwork/ci.mgmt.yml
- sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/mobilenetwork/ci.mgmt.yml
+ - sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/
+
extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/mongocluster/ci.mgmt.yml b/sdk/mongocluster/ci.mgmt.yml
index d2eafe7877dd..10f6e93db8bc 100644
--- a/sdk/mongocluster/ci.mgmt.yml
+++ b/sdk/mongocluster/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/mongocluster/ci.mgmt.yml
- sdk/mongocluster/Azure.ResourceManager.MongoCluster/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/mongocluster/ci.mgmt.yml
+ - sdk/mongocluster/Azure.ResourceManager.MongoCluster/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/monitor/ci.mgmt.yml b/sdk/monitor/ci.mgmt.yml
index 8beeded4e3b9..5933fd35d9e5 100644
--- a/sdk/monitor/ci.mgmt.yml
+++ b/sdk/monitor/ci.mgmt.yml
@@ -2,6 +2,7 @@
# This file is generated automatically and any changes will be lost.
trigger: none
+
pr:
branches:
include:
@@ -14,6 +15,18 @@ pr:
- sdk/monitor/ci.mgmt.yml
- sdk/monitor/Azure.ResourceManager.Monitor/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/monitor/ci.mgmt.yml
+ - sdk/monitor/Azure.ResourceManager.Monitor/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/mysql/ci.mgmt.yml b/sdk/mysql/ci.mgmt.yml
index e1521b4ed568..2ba5627ae3fc 100644
--- a/sdk/mysql/ci.mgmt.yml
+++ b/sdk/mysql/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/mysql/ci.mgmt.yml
- sdk/mysql/Azure.ResourceManager.MySql/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/mysql/ci.mgmt.yml
+ - sdk/mysql/Azure.ResourceManager.MySql/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/netapp/ci.mgmt.yml b/sdk/netapp/ci.mgmt.yml
index 05a683e910f5..5d0a3e741513 100644
--- a/sdk/netapp/ci.mgmt.yml
+++ b/sdk/netapp/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/netapp/ci.mgmt.yml
- sdk/netapp/Azure.ResourceManager.NetApp/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/netapp/ci.mgmt.yml
+ - sdk/netapp/Azure.ResourceManager.NetApp/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/network/ci.mgmt.yml b/sdk/network/ci.mgmt.yml
index edf77de02a49..f69378e6c236 100644
--- a/sdk/network/ci.mgmt.yml
+++ b/sdk/network/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/network/ci.mgmt.yml
- sdk/network/Azure.ResourceManager.Network/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/network/ci.mgmt.yml
+ - sdk/network/Azure.ResourceManager.Network/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/networkanalytics/ci.mgmt.yml b/sdk/networkanalytics/ci.mgmt.yml
index 9ece072ce867..52934a1bad24 100644
--- a/sdk/networkanalytics/ci.mgmt.yml
+++ b/sdk/networkanalytics/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/networkanalytics/ci.mgmt.yml
- sdk/networkanalytics/Azure.ResourceManager.NetworkAnalytics/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/networkanalytics/ci.mgmt.yml
+ - sdk/networkanalytics/Azure.ResourceManager.NetworkAnalytics/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/networkcloud/ci.mgmt.yml b/sdk/networkcloud/ci.mgmt.yml
index f6c281af22a9..940f908b8c75 100644
--- a/sdk/networkcloud/ci.mgmt.yml
+++ b/sdk/networkcloud/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/networkcloud/ci.mgmt.yml
- sdk/networkcloud/Azure.ResourceManager.NetworkCloud/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/networkcloud/ci.mgmt.yml
+ - sdk/networkcloud/Azure.ResourceManager.NetworkCloud/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/networkfunction/ci.mgmt.yml b/sdk/networkfunction/ci.mgmt.yml
index a3c743ef532a..b05cf6e5e1cc 100644
--- a/sdk/networkfunction/ci.mgmt.yml
+++ b/sdk/networkfunction/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/networkfunction/ci.mgmt.yml
- sdk/networkfunction/Azure.ResourceManager.NetworkFunction/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/networkfunction/ci.mgmt.yml
+ - sdk/networkfunction/Azure.ResourceManager.NetworkFunction/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/newrelicobservability/ci.mgmt.yml b/sdk/newrelicobservability/ci.mgmt.yml
index d01ef74cd749..599cfd845f2c 100644
--- a/sdk/newrelicobservability/ci.mgmt.yml
+++ b/sdk/newrelicobservability/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/newrelicobservability/ci.mgmt.yml
- sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/newrelicobservability/ci.mgmt.yml
+ - sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/nginx/ci.mgmt.yml b/sdk/nginx/ci.mgmt.yml
index f701b26a561a..39e047ce0015 100644
--- a/sdk/nginx/ci.mgmt.yml
+++ b/sdk/nginx/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/nginx/ci.mgmt.yml
- sdk/nginx/Azure.ResourceManager.Nginx/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/nginx/ci.mgmt.yml
+ - sdk/nginx/Azure.ResourceManager.Nginx/
+
extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/notificationhubs/ci.mgmt.yml b/sdk/notificationhubs/ci.mgmt.yml
index ba5a26631dd4..8d9f15f7758b 100644
--- a/sdk/notificationhubs/ci.mgmt.yml
+++ b/sdk/notificationhubs/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/notificationhubs/ci.mgmt.yml
- sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/notificationhubs/ci.mgmt.yml
+ - sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/openenergyplatform/ci.mgmt.yml b/sdk/openenergyplatform/ci.mgmt.yml
index 1ab74128b4db..f2394b80f6b9 100644
--- a/sdk/openenergyplatform/ci.mgmt.yml
+++ b/sdk/openenergyplatform/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/openenergyplatform/ci.mgmt.yml
- sdk/openenergyplatform/Azure.ResourceManager.EnergyServices/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/openenergyplatform/ci.mgmt.yml
+ - sdk/openenergyplatform/Azure.ResourceManager.EnergyServices/
+
extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/operationalinsights/ci.mgmt.yml b/sdk/operationalinsights/ci.mgmt.yml
index d4c3b61dac40..9e588305c901 100644
--- a/sdk/operationalinsights/ci.mgmt.yml
+++ b/sdk/operationalinsights/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/operationalinsights/ci.mgmt.yml
- sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/operationalinsights/ci.mgmt.yml
+ - sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/oracle/ci.mgmt.yml b/sdk/oracle/ci.mgmt.yml
index ccbd7c096ecf..760950dbd58a 100644
--- a/sdk/oracle/ci.mgmt.yml
+++ b/sdk/oracle/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/oracle/ci.mgmt.yml
- sdk/oracle/Azure.ResourceManager.OracleDatabase/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/oracle/ci.mgmt.yml
+ - sdk/oracle/Azure.ResourceManager.OracleDatabase/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/orbital/ci.mgmt.yml b/sdk/orbital/ci.mgmt.yml
index 701576d2fa62..2b2102df1da3 100644
--- a/sdk/orbital/ci.mgmt.yml
+++ b/sdk/orbital/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/orbital/ci.mgmt.yml
- sdk/orbital/Azure.ResourceManager.Orbital/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/orbital/ci.mgmt.yml
+ - sdk/orbital/Azure.ResourceManager.Orbital/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/paloaltonetworks.ngfw/ci.mgmt.yml b/sdk/paloaltonetworks.ngfw/ci.mgmt.yml
index 77dca48de9ef..6348d3109683 100644
--- a/sdk/paloaltonetworks.ngfw/ci.mgmt.yml
+++ b/sdk/paloaltonetworks.ngfw/ci.mgmt.yml
@@ -1,4 +1,5 @@
trigger: none
+
pr:
branches:
include:
@@ -11,6 +12,18 @@ pr:
- sdk/paloaltonetworks.ngfw/ci.mgmt.yml
- sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/paloaltonetworks.ngfw/ci.mgmt.yml
+ - sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/peering/ci.mgmt.yml b/sdk/peering/ci.mgmt.yml
index 4d3d67e73949..cfef409531ee 100644
--- a/sdk/peering/ci.mgmt.yml
+++ b/sdk/peering/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/peering/ci.mgmt.yml
- sdk/peering/Azure.ResourceManager.Peering/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/peering/ci.mgmt.yml
+ - sdk/peering/Azure.ResourceManager.Peering/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/playwrighttesting/ci.mgmt.yml b/sdk/playwrighttesting/ci.mgmt.yml
index 79addf69162c..b6422b373563 100644
--- a/sdk/playwrighttesting/ci.mgmt.yml
+++ b/sdk/playwrighttesting/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/playwrighttesting/ci.mgmt.yml
- sdk/playwrighttesting/Azure.ResourceManager.PlaywrightTesting/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/playwrighttesting/ci.mgmt.yml
+ - sdk/playwrighttesting/Azure.ResourceManager.PlaywrightTesting/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/policyinsights/ci.mgmt.yml b/sdk/policyinsights/ci.mgmt.yml
index 56fa5c3ead85..c0fa9e7dd917 100644
--- a/sdk/policyinsights/ci.mgmt.yml
+++ b/sdk/policyinsights/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/policyinsights/ci.mgmt.yml
- sdk/policyinsights/Azure.ResourceManager.PolicyInsights/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/policyinsights/ci.mgmt.yml
+ - sdk/policyinsights/Azure.ResourceManager.PolicyInsights/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/postgresql/ci.mgmt.yml b/sdk/postgresql/ci.mgmt.yml
index 77dbaed301ba..08dff06cd11f 100644
--- a/sdk/postgresql/ci.mgmt.yml
+++ b/sdk/postgresql/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/postgresql/ci.mgmt.yml
- sdk/postgresql/Azure.ResourceManager.PostgreSql/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/postgresql/ci.mgmt.yml
+ - sdk/postgresql/Azure.ResourceManager.PostgreSql/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/powerbidedicated/ci.mgmt.yml b/sdk/powerbidedicated/ci.mgmt.yml
index 414f2b8ef0a9..951d3e8d0434 100644
--- a/sdk/powerbidedicated/ci.mgmt.yml
+++ b/sdk/powerbidedicated/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/powerbidedicated/ci.mgmt.yml
- sdk/powerbidedicated/Azure.ResourceManager.PowerBIDedicated/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/powerbidedicated/ci.mgmt.yml
+ - sdk/powerbidedicated/Azure.ResourceManager.PowerBIDedicated/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/privatedns/ci.mgmt.yml b/sdk/privatedns/ci.mgmt.yml
index 86401f2f9675..31c567bfe408 100644
--- a/sdk/privatedns/ci.mgmt.yml
+++ b/sdk/privatedns/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/privatedns/ci.mgmt.yml
- sdk/privatedns/Azure.ResourceManager.PrivateDns/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/privatedns/ci.mgmt.yml
+ - sdk/privatedns/Azure.ResourceManager.PrivateDns/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/providerhub/ci.mgmt.yml b/sdk/providerhub/ci.mgmt.yml
index 2c7f6ca61d3f..3de6a7f30b80 100644
--- a/sdk/providerhub/ci.mgmt.yml
+++ b/sdk/providerhub/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/providerhub/ci.mgmt.yml
- sdk/providerhub/Azure.ResourceManager.ProviderHub/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/providerhub/ci.mgmt.yml
+ - sdk/providerhub/Azure.ResourceManager.ProviderHub/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/purview/ci.mgmt.yml b/sdk/purview/ci.mgmt.yml
index 226718ca583c..d5961aa8833a 100644
--- a/sdk/purview/ci.mgmt.yml
+++ b/sdk/purview/ci.mgmt.yml
@@ -1,5 +1,6 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -12,6 +13,18 @@ pr:
- sdk/purview/ci.mgmt.yml
- sdk/purview/Azure.ResourceManager.Purview/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/purview/ci.mgmt.yml
+ - sdk/purview/Azure.ResourceManager.Purview/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/quantum/ci.mgmt.yml b/sdk/quantum/ci.mgmt.yml
index 8562320fa7c7..6ee02d7799bd 100644
--- a/sdk/quantum/ci.mgmt.yml
+++ b/sdk/quantum/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/quantum/ci.mgmt.yml
- sdk/quantum/Azure.ResourceManager.Quantum/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/quantum/ci.mgmt.yml
+ - sdk/quantum/Azure.ResourceManager.Quantum/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/qumulo/ci.mgmt.yml b/sdk/qumulo/ci.mgmt.yml
index e89c4bea0e70..fe6e1fa253d3 100644
--- a/sdk/qumulo/ci.mgmt.yml
+++ b/sdk/qumulo/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/qumulo/ci.mgmt.yml
- sdk/qumulo/Azure.ResourceManager.Qumulo/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/qumulo/ci.mgmt.yml
+ - sdk/qumulo/Azure.ResourceManager.Qumulo/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/quota/ci.mgmt.yml b/sdk/quota/ci.mgmt.yml
index f1f545ad13f1..9409730d342e 100644
--- a/sdk/quota/ci.mgmt.yml
+++ b/sdk/quota/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/quota/ci.mgmt.yml
- sdk/quota/Azure.ResourceManager.Quota/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/quota/ci.mgmt.yml
+ - sdk/quota/Azure.ResourceManager.Quota/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/recoveryservices-backup/ci.mgmt.yml b/sdk/recoveryservices-backup/ci.mgmt.yml
index 5edfd823e3c0..402121c0f72c 100644
--- a/sdk/recoveryservices-backup/ci.mgmt.yml
+++ b/sdk/recoveryservices-backup/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/recoveryservices-backup/ci.mgmt.yml
- sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/recoveryservices-backup/ci.mgmt.yml
+ - sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/recoveryservices-datareplication/ci.mgmt.yml b/sdk/recoveryservices-datareplication/ci.mgmt.yml
index 2e3966d67a88..143f2e0317c3 100644
--- a/sdk/recoveryservices-datareplication/ci.mgmt.yml
+++ b/sdk/recoveryservices-datareplication/ci.mgmt.yml
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
+
pr:
branches:
include:
@@ -13,6 +14,18 @@ pr:
- sdk/recoveryservices-datareplication/ci.mgmt.yml
- sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/
+
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/recoveryservices-datareplication/ci.mgmt.yml
+ - sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/
+
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ClusterRecoveryPointCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ClusterRecoveryPointCollection.cs
new file mode 100644
index 000000000000..bb74977c0583
--- /dev/null
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ClusterRecoveryPointCollection.cs
@@ -0,0 +1,175 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Threading.Tasks;
+using Azure.Core;
+using Azure.Identity;
+
+namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples
+{
+ public partial class Sample_ClusterRecoveryPointCollection
+ {
+ // Gets the list of cluster recovery points.
+ [NUnit.Framework.Test]
+ [NUnit.Framework.Ignore("Only verifying that the sample builds")]
+ public async Task GetAll_GetsTheListOfClusterRecoveryPoints()
+ {
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ClusterRecoveryPoints_ListByReplicationProtectionCluster.json
+ // this example is just showing the usage of "ClusterRecoveryPoints_ListByReplicationProtectionCluster" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource created on azure
+ // for more information of creating VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource, please refer to the document of VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource
+ string subscriptionId = "7c943c1b-5122-4097-90c8-861411bdd574";
+ string resourceGroupName = "resourceGroupPS1";
+ string resourceName = "vault1";
+ string fabricName = "fabric-pri-eastus";
+ string protectionContainerName = "pri-cloud-eastus";
+ string replicationProtectionClusterName = "testcluster";
+ ResourceIdentifier vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId = VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, resourceName, fabricName, protectionContainerName, replicationProtectionClusterName);
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster = client.GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource(vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId);
+
+ // get the collection of this ClusterRecoveryPointResource
+ ClusterRecoveryPointCollection collection = vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster.GetClusterRecoveryPoints();
+
+ // invoke the operation and iterate over the result
+ await foreach (ClusterRecoveryPointResource item in collection.GetAllAsync())
+ {
+ // the variable item is a resource, you could call other operations on this instance as well
+ // but just for demo, we get its data from this resource instance
+ ClusterRecoveryPointData resourceData = item.Data;
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {resourceData.Id}");
+ }
+
+ Console.WriteLine($"Succeeded");
+ }
+
+ // Gets a recovery point.
+ [NUnit.Framework.Test]
+ [NUnit.Framework.Ignore("Only verifying that the sample builds")]
+ public async Task Get_GetsARecoveryPoint()
+ {
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ClusterRecoveryPoint_Get.json
+ // this example is just showing the usage of "ClusterRecoveryPoint_Get" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource created on azure
+ // for more information of creating VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource, please refer to the document of VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource
+ string subscriptionId = "7c943c1b-5122-4097-90c8-861411bdd574";
+ string resourceGroupName = "resourceGroupPS1";
+ string resourceName = "vault1";
+ string fabricName = "fabric-pri-eastus";
+ string protectionContainerName = "pri-cloud-eastus";
+ string replicationProtectionClusterName = "testcluster";
+ ResourceIdentifier vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId = VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, resourceName, fabricName, protectionContainerName, replicationProtectionClusterName);
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster = client.GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource(vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId);
+
+ // get the collection of this ClusterRecoveryPointResource
+ ClusterRecoveryPointCollection collection = vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster.GetClusterRecoveryPoints();
+
+ // invoke the operation
+ string recoveryPointName = "06b9ae7f-f21d-4a76-9897-5cf5d6004d80";
+ ClusterRecoveryPointResource result = await collection.GetAsync(recoveryPointName);
+
+ // the variable result is a resource, you could call other operations on this instance as well
+ // but just for demo, we get its data from this resource instance
+ ClusterRecoveryPointData resourceData = result.Data;
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {resourceData.Id}");
+ }
+
+ // Gets a recovery point.
+ [NUnit.Framework.Test]
+ [NUnit.Framework.Ignore("Only verifying that the sample builds")]
+ public async Task Exists_GetsARecoveryPoint()
+ {
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ClusterRecoveryPoint_Get.json
+ // this example is just showing the usage of "ClusterRecoveryPoint_Get" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource created on azure
+ // for more information of creating VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource, please refer to the document of VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource
+ string subscriptionId = "7c943c1b-5122-4097-90c8-861411bdd574";
+ string resourceGroupName = "resourceGroupPS1";
+ string resourceName = "vault1";
+ string fabricName = "fabric-pri-eastus";
+ string protectionContainerName = "pri-cloud-eastus";
+ string replicationProtectionClusterName = "testcluster";
+ ResourceIdentifier vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId = VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, resourceName, fabricName, protectionContainerName, replicationProtectionClusterName);
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster = client.GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource(vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId);
+
+ // get the collection of this ClusterRecoveryPointResource
+ ClusterRecoveryPointCollection collection = vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster.GetClusterRecoveryPoints();
+
+ // invoke the operation
+ string recoveryPointName = "06b9ae7f-f21d-4a76-9897-5cf5d6004d80";
+ bool result = await collection.ExistsAsync(recoveryPointName);
+
+ Console.WriteLine($"Succeeded: {result}");
+ }
+
+ // Gets a recovery point.
+ [NUnit.Framework.Test]
+ [NUnit.Framework.Ignore("Only verifying that the sample builds")]
+ public async Task GetIfExists_GetsARecoveryPoint()
+ {
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ClusterRecoveryPoint_Get.json
+ // this example is just showing the usage of "ClusterRecoveryPoint_Get" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource created on azure
+ // for more information of creating VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource, please refer to the document of VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource
+ string subscriptionId = "7c943c1b-5122-4097-90c8-861411bdd574";
+ string resourceGroupName = "resourceGroupPS1";
+ string resourceName = "vault1";
+ string fabricName = "fabric-pri-eastus";
+ string protectionContainerName = "pri-cloud-eastus";
+ string replicationProtectionClusterName = "testcluster";
+ ResourceIdentifier vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId = VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, resourceName, fabricName, protectionContainerName, replicationProtectionClusterName);
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster = client.GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource(vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId);
+
+ // get the collection of this ClusterRecoveryPointResource
+ ClusterRecoveryPointCollection collection = vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster.GetClusterRecoveryPoints();
+
+ // invoke the operation
+ string recoveryPointName = "06b9ae7f-f21d-4a76-9897-5cf5d6004d80";
+ NullableResponse response = await collection.GetIfExistsAsync(recoveryPointName);
+ ClusterRecoveryPointResource result = response.HasValue ? response.Value : null;
+
+ if (result == null)
+ {
+ Console.WriteLine($"Succeeded with null as result");
+ }
+ else
+ {
+ // the variable result is a resource, you could call other operations on this instance as well
+ // but just for demo, we get its data from this resource instance
+ ClusterRecoveryPointData resourceData = result.Data;
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {resourceData.Id}");
+ }
+ }
+ }
+}
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ClusterRecoveryPointResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ClusterRecoveryPointResource.cs
new file mode 100644
index 000000000000..1ec772cc1280
--- /dev/null
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ClusterRecoveryPointResource.cs
@@ -0,0 +1,52 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Threading.Tasks;
+using Azure.Core;
+using Azure.Identity;
+
+namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples
+{
+ public partial class Sample_ClusterRecoveryPointResource
+ {
+ // Gets a recovery point.
+ [NUnit.Framework.Test]
+ [NUnit.Framework.Ignore("Only verifying that the sample builds")]
+ public async Task Get_GetsARecoveryPoint()
+ {
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ClusterRecoveryPoint_Get.json
+ // this example is just showing the usage of "ClusterRecoveryPoint_Get" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this ClusterRecoveryPointResource created on azure
+ // for more information of creating ClusterRecoveryPointResource, please refer to the document of ClusterRecoveryPointResource
+ string subscriptionId = "7c943c1b-5122-4097-90c8-861411bdd574";
+ string resourceGroupName = "resourceGroupPS1";
+ string resourceName = "vault1";
+ string fabricName = "fabric-pri-eastus";
+ string protectionContainerName = "pri-cloud-eastus";
+ string replicationProtectionClusterName = "testcluster";
+ string recoveryPointName = "06b9ae7f-f21d-4a76-9897-5cf5d6004d80";
+ ResourceIdentifier clusterRecoveryPointResourceId = ClusterRecoveryPointResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, resourceName, fabricName, protectionContainerName, replicationProtectionClusterName, recoveryPointName);
+ ClusterRecoveryPointResource clusterRecoveryPoint = client.GetClusterRecoveryPointResource(clusterRecoveryPointResourceId);
+
+ // invoke the operation
+ ClusterRecoveryPointResource result = await clusterRecoveryPoint.GetAsync();
+
+ // the variable result is a resource, you could call other operations on this instance as well
+ // but just for demo, we get its data from this resource instance
+ ClusterRecoveryPointData resourceData = result.Data;
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {resourceData.Id}");
+ }
+ }
+}
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_MigrationRecoveryPointCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_MigrationRecoveryPointCollection.cs
index a9c456d15a08..772969ec0506 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_MigrationRecoveryPointCollection.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_MigrationRecoveryPointCollection.cs
@@ -19,7 +19,7 @@ public partial class Sample_MigrationRecoveryPointCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_GetsTheRecoveryPointsForAMigrationItem()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/MigrationRecoveryPoints_ListByReplicationMigrationItems.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/MigrationRecoveryPoints_ListByReplicationMigrationItems.json
// this example is just showing the usage of "MigrationRecoveryPoints_ListByReplicationMigrationItems" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -59,7 +59,7 @@ public async Task GetAll_GetsTheRecoveryPointsForAMigrationItem()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsARecoveryPointForAMigrationItem()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/MigrationRecoveryPoints_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/MigrationRecoveryPoints_Get.json
// this example is just showing the usage of "MigrationRecoveryPoints_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -97,7 +97,7 @@ public async Task Get_GetsARecoveryPointForAMigrationItem()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetsARecoveryPointForAMigrationItem()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/MigrationRecoveryPoints_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/MigrationRecoveryPoints_Get.json
// this example is just showing the usage of "MigrationRecoveryPoints_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -131,7 +131,7 @@ public async Task Exists_GetsARecoveryPointForAMigrationItem()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetsARecoveryPointForAMigrationItem()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/MigrationRecoveryPoints_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/MigrationRecoveryPoints_Get.json
// this example is just showing the usage of "MigrationRecoveryPoints_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_MigrationRecoveryPointResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_MigrationRecoveryPointResource.cs
index 8533a7b05729..861e76e50863 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_MigrationRecoveryPointResource.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_MigrationRecoveryPointResource.cs
@@ -19,7 +19,7 @@ public partial class Sample_MigrationRecoveryPointResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsARecoveryPointForAMigrationItem()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/MigrationRecoveryPoints_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/MigrationRecoveryPoints_Get.json
// this example is just showing the usage of "MigrationRecoveryPoints_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ProtectionContainerMappingCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ProtectionContainerMappingCollection.cs
index 1fe12a5743e7..e4b56bcc5963 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ProtectionContainerMappingCollection.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ProtectionContainerMappingCollection.cs
@@ -19,7 +19,7 @@ public partial class Sample_ProtectionContainerMappingCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_GetsTheListOfProtectionContainerMappingsForAProtectionContainer()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainerMappings_ListByReplicationProtectionContainers.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionContainerMappings_ListByReplicationProtectionContainers.json
// this example is just showing the usage of "ReplicationProtectionContainerMappings_ListByReplicationProtectionContainers" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -58,7 +58,7 @@ public async Task GetAll_GetsTheListOfProtectionContainerMappingsForAProtectionC
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsAProtectionContainerMapping()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainerMappings_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionContainerMappings_Get.json
// this example is just showing the usage of "ReplicationProtectionContainerMappings_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -95,7 +95,7 @@ public async Task Get_GetsAProtectionContainerMapping()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetsAProtectionContainerMapping()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainerMappings_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionContainerMappings_Get.json
// this example is just showing the usage of "ReplicationProtectionContainerMappings_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -128,7 +128,7 @@ public async Task Exists_GetsAProtectionContainerMapping()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetsAProtectionContainerMapping()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainerMappings_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionContainerMappings_Get.json
// this example is just showing the usage of "ReplicationProtectionContainerMappings_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ProtectionContainerMappingResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ProtectionContainerMappingResource.cs
index c66e3ae45705..4b6302666fde 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ProtectionContainerMappingResource.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ProtectionContainerMappingResource.cs
@@ -21,7 +21,7 @@ public partial class Sample_ProtectionContainerMappingResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsAProtectionContainerMapping()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainerMappings_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionContainerMappings_Get.json
// this example is just showing the usage of "ReplicationProtectionContainerMappings_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -55,7 +55,7 @@ public async Task Get_GetsAProtectionContainerMapping()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_PurgeProtectionContainerMapping()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainerMappings_Purge.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionContainerMappings_Purge.json
// this example is just showing the usage of "ReplicationProtectionContainerMappings_Purge" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -85,7 +85,7 @@ public async Task Delete_PurgeProtectionContainerMapping()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdateProtectionContainerMapping()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainerMappings_Update.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionContainerMappings_Update.json
// this example is just showing the usage of "ReplicationProtectionContainerMappings_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -128,7 +128,7 @@ public async Task Update_UpdateProtectionContainerMapping()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_RemoveProtectionContainerMapping()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainerMappings_Delete.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionContainerMappings_Delete.json
// this example is just showing the usage of "ReplicationProtectionContainerMappings_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -159,7 +159,7 @@ public async Task Delete_RemoveProtectionContainerMapping()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetProtectionContainerMappings_GetsTheListOfAllProtectionContainerMappingsInAVault()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainerMappings_List.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionContainerMappings_List.json
// this example is just showing the usage of "ReplicationProtectionContainerMappings_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationEligibilityResultCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationEligibilityResultCollection.cs
index f50f8e83688b..7f3c57e81d82 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationEligibilityResultCollection.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationEligibilityResultCollection.cs
@@ -20,7 +20,7 @@ public partial class Sample_ReplicationEligibilityResultCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_GetsTheValidationErrorsInCaseTheVMIsUnsuitableForProtection()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationEligibilityResults_List.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationEligibilityResults_List.json
// this example is just showing the usage of "ReplicationEligibilityResults_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -57,7 +57,7 @@ public async Task GetAll_GetsTheValidationErrorsInCaseTheVMIsUnsuitableForProtec
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsTheValidationErrorsInCaseTheVMIsUnsuitableForProtection()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationEligibilityResults_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationEligibilityResults_Get.json
// this example is just showing the usage of "ReplicationEligibilityResults_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -91,7 +91,7 @@ public async Task Get_GetsTheValidationErrorsInCaseTheVMIsUnsuitableForProtectio
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetsTheValidationErrorsInCaseTheVMIsUnsuitableForProtection()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationEligibilityResults_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationEligibilityResults_Get.json
// this example is just showing the usage of "ReplicationEligibilityResults_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -121,7 +121,7 @@ public async Task Exists_GetsTheValidationErrorsInCaseTheVMIsUnsuitableForProtec
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetsTheValidationErrorsInCaseTheVMIsUnsuitableForProtection()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationEligibilityResults_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationEligibilityResults_Get.json
// this example is just showing the usage of "ReplicationEligibilityResults_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationEligibilityResultResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationEligibilityResultResource.cs
index aa2fa59dfa85..78c9f18b4fbd 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationEligibilityResultResource.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationEligibilityResultResource.cs
@@ -19,7 +19,7 @@ public partial class Sample_ReplicationEligibilityResultResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsTheValidationErrorsInCaseTheVMIsUnsuitableForProtection()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationEligibilityResults_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationEligibilityResults_Get.json
// this example is just showing the usage of "ReplicationEligibilityResults_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectedItemCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectedItemCollection.cs
index 1e09fa51cbf5..17a65796fe2a 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectedItemCollection.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectedItemCollection.cs
@@ -20,7 +20,7 @@ public partial class Sample_ReplicationProtectedItemCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_GetsTheListOfReplicationProtectedItems()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_ListByReplicationProtectionContainers.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectedItems_ListByReplicationProtectionContainers.json
// this example is just showing the usage of "ReplicationProtectedItems_ListByReplicationProtectionContainers" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -59,7 +59,7 @@ public async Task GetAll_GetsTheListOfReplicationProtectedItems()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsTheDetailsOfAReplicationProtectedItem()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectedItems_Get.json
// this example is just showing the usage of "ReplicationProtectedItems_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -96,7 +96,7 @@ public async Task Get_GetsTheDetailsOfAReplicationProtectedItem()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetsTheDetailsOfAReplicationProtectedItem()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectedItems_Get.json
// this example is just showing the usage of "ReplicationProtectedItems_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -129,7 +129,7 @@ public async Task Exists_GetsTheDetailsOfAReplicationProtectedItem()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetsTheDetailsOfAReplicationProtectedItem()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectedItems_Get.json
// this example is just showing the usage of "ReplicationProtectedItems_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -174,7 +174,7 @@ public async Task GetIfExists_GetsTheDetailsOfAReplicationProtectedItem()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_EnablesProtection()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_Create.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectedItems_Create.json
// this example is just showing the usage of "ReplicationProtectedItems_Create" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectedItemResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectedItemResource.cs
index d5680ae70262..cccf3d3d085c 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectedItemResource.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectedItemResource.cs
@@ -22,7 +22,7 @@ public partial class Sample_ReplicationProtectedItemResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsTheDetailsOfAReplicationProtectedItem()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectedItems_Get.json
// this example is just showing the usage of "ReplicationProtectedItems_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -56,7 +56,7 @@ public async Task Get_GetsTheDetailsOfAReplicationProtectedItem()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_PurgesProtection()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_Purge.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectedItems_Purge.json
// this example is just showing the usage of "ReplicationProtectedItems_Purge" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -86,7 +86,7 @@ public async Task Delete_PurgesProtection()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdatesTheReplicationProtectedItemSettings()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_Update.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectedItems_Update.json
// this example is just showing the usage of "ReplicationProtectedItems_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -150,7 +150,7 @@ public async Task Update_UpdatesTheReplicationProtectedItemSettings()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task AddDisks_AddDiskSForProtection()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_AddDisks.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectedItems_AddDisks.json
// this example is just showing the usage of "ReplicationProtectedItems_AddDisks" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -195,7 +195,7 @@ public async Task AddDisks_AddDiskSForProtection()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task ApplyRecoveryPoint_ChangeOrApplyRecoveryPoint()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_ApplyRecoveryPoint.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectedItems_ApplyRecoveryPoint.json
// this example is just showing the usage of "ReplicationProtectedItems_ApplyRecoveryPoint" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -234,7 +234,7 @@ public async Task ApplyRecoveryPoint_ChangeOrApplyRecoveryPoint()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task FailoverCancel_ExecuteCancelFailover()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_FailoverCancel.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectedItems_FailoverCancel.json
// this example is just showing the usage of "ReplicationProtectedItems_FailoverCancel" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -269,7 +269,7 @@ public async Task FailoverCancel_ExecuteCancelFailover()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task FailoverCommit_ExecuteCommitFailover()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_FailoverCommit.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectedItems_FailoverCommit.json
// this example is just showing the usage of "ReplicationProtectedItems_FailoverCommit" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -304,7 +304,7 @@ public async Task FailoverCommit_ExecuteCommitFailover()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task PlannedFailover_ExecutePlannedFailover()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_PlannedFailover.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectedItems_PlannedFailover.json
// this example is just showing the usage of "ReplicationProtectedItems_PlannedFailover" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -347,7 +347,7 @@ public async Task PlannedFailover_ExecutePlannedFailover()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task RemoveDisks_RemovesDiskS()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_RemoveDisks.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectedItems_RemoveDisks.json
// this example is just showing the usage of "ReplicationProtectedItems_RemoveDisks" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -392,7 +392,7 @@ public async Task RemoveDisks_RemovesDiskS()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task RepairReplication_ResynchronizeOrRepairReplication()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_RepairReplication.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectedItems_RepairReplication.json
// this example is just showing the usage of "ReplicationProtectedItems_RepairReplication" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -427,7 +427,7 @@ public async Task RepairReplication_ResynchronizeOrRepairReplication()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Reprotect_ExecuteReverseReplicationReprotect()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_Reprotect.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectedItems_Reprotect.json
// this example is just showing the usage of "ReplicationProtectedItems_Reprotect" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -470,7 +470,7 @@ public async Task Reprotect_ExecuteReverseReplicationReprotect()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task ResolveHealthErrors_ResolveHealthErrors()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_ResolveHealthErrors.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectedItems_ResolveHealthErrors.json
// this example is just showing the usage of "ReplicationProtectedItems_ResolveHealthErrors" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -515,7 +515,7 @@ public async Task ResolveHealthErrors_ResolveHealthErrors()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task SwitchProvider_ExecuteSwitchProvider()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_SwitchProvider.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectedItems_SwitchProvider.json
// this example is just showing the usage of "ReplicationProtectedItems_SwitchProvider" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -558,7 +558,7 @@ public async Task SwitchProvider_ExecuteSwitchProvider()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task TestFailover_ExecuteTestFailover()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_TestFailover.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectedItems_TestFailover.json
// this example is just showing the usage of "ReplicationProtectedItems_TestFailover" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -600,7 +600,7 @@ public async Task TestFailover_ExecuteTestFailover()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task TestFailoverCleanup_ExecuteTestFailoverCleanup()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_TestFailoverCleanup.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectedItems_TestFailoverCleanup.json
// this example is just showing the usage of "ReplicationProtectedItems_TestFailoverCleanup" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -639,7 +639,7 @@ public async Task TestFailoverCleanup_ExecuteTestFailoverCleanup()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task UnplannedFailover_ExecuteUnplannedFailover()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_UnplannedFailover.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectedItems_UnplannedFailover.json
// this example is just showing the usage of "ReplicationProtectedItems_UnplannedFailover" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -680,7 +680,7 @@ public async Task UnplannedFailover_ExecuteUnplannedFailover()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task UpdateAppliance_UpdatesApplianceForReplicationProtectedItem()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_UpdateAppliance.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectedItems_UpdateAppliance.json
// this example is just showing the usage of "ReplicationProtectedItems_UpdateAppliance" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -719,7 +719,7 @@ public async Task UpdateAppliance_UpdatesApplianceForReplicationProtectedItem()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task UpdateMobilityService_UpdateTheMobilityServiceOnAProtectedItem()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_UpdateMobilityService.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectedItems_UpdateMobilityService.json
// this example is just showing the usage of "ReplicationProtectedItems_UpdateMobilityService" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -758,7 +758,7 @@ public async Task UpdateMobilityService_UpdateTheMobilityServiceOnAProtectedItem
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetReplicationProtectedItems_GetsTheListOfReplicationProtectedItems()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_List.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectedItems_List.json
// this example is just showing the usage of "ReplicationProtectedItems_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -792,7 +792,7 @@ public async Task GetReplicationProtectedItems_GetsTheListOfReplicationProtected
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetTargetComputeSizesByReplicationProtectedItems_GetsTheListOfTargetComputeSizesForTheReplicationProtectedItem()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/TargetComputeSizes_ListByReplicationProtectedItems.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/TargetComputeSizes_ListByReplicationProtectedItems.json
// this example is just showing the usage of "TargetComputeSizes_ListByReplicationProtectedItems" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectionIntentCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectionIntentCollection.cs
index 90d28c2d7f52..1c219d5e5acd 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectionIntentCollection.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectionIntentCollection.cs
@@ -21,7 +21,7 @@ public partial class Sample_ReplicationProtectionIntentCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_GetsTheListOfReplicationProtectionIntentObjects()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionIntents_List.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionIntents_List.json
// this example is just showing the usage of "ReplicationProtectionIntents_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -58,7 +58,7 @@ public async Task GetAll_GetsTheListOfReplicationProtectionIntentObjects()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsTheDetailsOfAReplicationProtectionIntentItem()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionIntents_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionIntents_Get.json
// this example is just showing the usage of "ReplicationProtectionIntents_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -93,7 +93,7 @@ public async Task Get_GetsTheDetailsOfAReplicationProtectionIntentItem()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetsTheDetailsOfAReplicationProtectionIntentItem()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionIntents_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionIntents_Get.json
// this example is just showing the usage of "ReplicationProtectionIntents_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -124,7 +124,7 @@ public async Task Exists_GetsTheDetailsOfAReplicationProtectionIntentItem()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetsTheDetailsOfAReplicationProtectionIntentItem()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionIntents_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionIntents_Get.json
// this example is just showing the usage of "ReplicationProtectionIntents_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -167,7 +167,7 @@ public async Task GetIfExists_GetsTheDetailsOfAReplicationProtectionIntentItem()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateProtectionIntentResource()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionIntents_Create.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionIntents_Create.json
// this example is just showing the usage of "ReplicationProtectionIntents_Create" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectionIntentResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectionIntentResource.cs
index 480c23c1e929..88b3bcbf6ef1 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectionIntentResource.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectionIntentResource.cs
@@ -20,7 +20,7 @@ public partial class Sample_ReplicationProtectionIntentResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsTheDetailsOfAReplicationProtectionIntentItem()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionIntents_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionIntents_Get.json
// this example is just showing the usage of "ReplicationProtectionIntents_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -52,7 +52,7 @@ public async Task Get_GetsTheDetailsOfAReplicationProtectionIntentItem()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_CreateProtectionIntentResource()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionIntents_Create.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionIntents_Create.json
// this example is just showing the usage of "ReplicationProtectionIntents_Create" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs
index 02ea729a1093..147558d5cb81 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs
@@ -21,7 +21,7 @@ public partial class Sample_ResourceGroupResourceExtensions
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetReplicationAppliances_GetsTheListOfAppliances()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationAppliances_List.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationAppliances_List.json
// this example is just showing the usage of "ReplicationAppliances_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -46,12 +46,43 @@ public async Task GetReplicationAppliances_GetsTheListOfAppliances()
Console.WriteLine($"Succeeded");
}
+ // Gets the list of Replication protection clusters in vault.
+ [NUnit.Framework.Test]
+ [NUnit.Framework.Ignore("Only verifying that the sample builds")]
+ public async Task GetReplicationProtectionClusters_GetsTheListOfReplicationProtectionClustersInVault()
+ {
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionClusters_List.json
+ // this example is just showing the usage of "ReplicationProtectionClusters_List" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this ResourceGroupResource created on azure
+ // for more information of creating ResourceGroupResource, please refer to the document of ResourceGroupResource
+ string subscriptionId = "c183865e-6077-46f2-a3b1-deb0f4f4650a";
+ string resourceGroupName = "resourceGroupPS1";
+ ResourceIdentifier resourceGroupResourceId = ResourceGroupResource.CreateResourceIdentifier(subscriptionId, resourceGroupName);
+ ResourceGroupResource resourceGroupResource = client.GetResourceGroupResource(resourceGroupResourceId);
+
+ // invoke the operation and iterate over the result
+ string resourceName = "vault1";
+ await foreach (ReplicationProtectionClusterData item in resourceGroupResource.GetReplicationProtectionClustersAsync(resourceName))
+ {
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {item.Id}");
+ }
+
+ Console.WriteLine($"Succeeded");
+ }
+
// Gets the data of supported operating systems by SRS.
[NUnit.Framework.Test]
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetSupportedOperatingSystem_GetsTheDataOfSupportedOperatingSystemsBySRS()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/SupportedOperatingSystems_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/SupportedOperatingSystems_Get.json
// this example is just showing the usage of "SupportedOperatingSystems_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -78,7 +109,7 @@ public async Task GetSupportedOperatingSystem_GetsTheDataOfSupportedOperatingSys
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetReplicationVaultHealth_GetsTheHealthSummaryForTheVault()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationVaultHealth_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationVaultHealth_Get.json
// this example is just showing the usage of "ReplicationVaultHealth_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -105,7 +136,7 @@ public async Task GetReplicationVaultHealth_GetsTheHealthSummaryForTheVault()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task RefreshReplicationVaultHealth_RefreshesHealthSummaryOfTheVault()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationVaultHealth_Refresh.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationVaultHealth_Refresh.json
// this example is just showing the usage of "ReplicationVaultHealth_Refresh" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryAlertCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryAlertCollection.cs
index a74b60d6650d..93aba96b98a2 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryAlertCollection.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryAlertCollection.cs
@@ -21,7 +21,7 @@ public partial class Sample_SiteRecoveryAlertCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_GetsTheListOfConfiguredEmailNotificationAlertConfigurations()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationAlertSettings_List.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationAlertSettings_List.json
// this example is just showing the usage of "ReplicationAlertSettings_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -58,7 +58,7 @@ public async Task GetAll_GetsTheListOfConfiguredEmailNotificationAlertConfigurat
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsAnEmailNotificationAlertConfiguration()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationAlertSettings_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationAlertSettings_Get.json
// this example is just showing the usage of "ReplicationAlertSettings_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -93,7 +93,7 @@ public async Task Get_GetsAnEmailNotificationAlertConfiguration()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetsAnEmailNotificationAlertConfiguration()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationAlertSettings_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationAlertSettings_Get.json
// this example is just showing the usage of "ReplicationAlertSettings_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -124,7 +124,7 @@ public async Task Exists_GetsAnEmailNotificationAlertConfiguration()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetsAnEmailNotificationAlertConfiguration()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationAlertSettings_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationAlertSettings_Get.json
// this example is just showing the usage of "ReplicationAlertSettings_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -167,7 +167,7 @@ public async Task GetIfExists_GetsAnEmailNotificationAlertConfiguration()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_ConfiguresEmailNotificationsForThisVault()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationAlertSettings_Create.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationAlertSettings_Create.json
// this example is just showing the usage of "ReplicationAlertSettings_Create" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryAlertResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryAlertResource.cs
index 953d7d9bfd17..b7790ad341c2 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryAlertResource.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryAlertResource.cs
@@ -20,7 +20,7 @@ public partial class Sample_SiteRecoveryAlertResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsAnEmailNotificationAlertConfiguration()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationAlertSettings_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationAlertSettings_Get.json
// this example is just showing the usage of "ReplicationAlertSettings_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -52,7 +52,7 @@ public async Task Get_GetsAnEmailNotificationAlertConfiguration()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_ConfiguresEmailNotificationsForThisVault()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationAlertSettings_Create.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationAlertSettings_Create.json
// this example is just showing the usage of "ReplicationAlertSettings_Create" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryEventCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryEventCollection.cs
index 0b04911a6750..ed167a18a535 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryEventCollection.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryEventCollection.cs
@@ -20,7 +20,7 @@ public partial class Sample_SiteRecoveryEventCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_GetsTheListOfAzureSiteRecoveryEvents()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationEvents_List.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationEvents_List.json
// this example is just showing the usage of "ReplicationEvents_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -57,7 +57,7 @@ public async Task GetAll_GetsTheListOfAzureSiteRecoveryEvents()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetTheDetailsOfAnAzureSiteRecoveryEvent()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationEvents_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationEvents_Get.json
// this example is just showing the usage of "ReplicationEvents_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -92,7 +92,7 @@ public async Task Get_GetTheDetailsOfAnAzureSiteRecoveryEvent()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetTheDetailsOfAnAzureSiteRecoveryEvent()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationEvents_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationEvents_Get.json
// this example is just showing the usage of "ReplicationEvents_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -123,7 +123,7 @@ public async Task Exists_GetTheDetailsOfAnAzureSiteRecoveryEvent()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetTheDetailsOfAnAzureSiteRecoveryEvent()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationEvents_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationEvents_Get.json
// this example is just showing the usage of "ReplicationEvents_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryEventResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryEventResource.cs
index b7cfcf40432b..1727ebdad731 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryEventResource.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryEventResource.cs
@@ -19,7 +19,7 @@ public partial class Sample_SiteRecoveryEventResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetTheDetailsOfAnAzureSiteRecoveryEvent()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationEvents_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationEvents_Get.json
// this example is just showing the usage of "ReplicationEvents_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryFabricCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryFabricCollection.cs
index 1e47d47bdfe6..7e9fb9d484fa 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryFabricCollection.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryFabricCollection.cs
@@ -20,7 +20,7 @@ public partial class Sample_SiteRecoveryFabricCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_GetsTheListOfASRFabrics()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationFabrics_List.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationFabrics_List.json
// this example is just showing the usage of "ReplicationFabrics_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -57,7 +57,7 @@ public async Task GetAll_GetsTheListOfASRFabrics()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsTheDetailsOfAnASRFabric()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationFabrics_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationFabrics_Get.json
// this example is just showing the usage of "ReplicationFabrics_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -92,7 +92,7 @@ public async Task Get_GetsTheDetailsOfAnASRFabric()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetsTheDetailsOfAnASRFabric()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationFabrics_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationFabrics_Get.json
// this example is just showing the usage of "ReplicationFabrics_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -123,7 +123,7 @@ public async Task Exists_GetsTheDetailsOfAnASRFabric()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetsTheDetailsOfAnASRFabric()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationFabrics_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationFabrics_Get.json
// this example is just showing the usage of "ReplicationFabrics_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryFabricResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryFabricResource.cs
index d95695c036e3..1e41c6c19d57 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryFabricResource.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryFabricResource.cs
@@ -20,7 +20,7 @@ public partial class Sample_SiteRecoveryFabricResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsTheDetailsOfAnASRFabric()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationFabrics_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationFabrics_Get.json
// this example is just showing the usage of "ReplicationFabrics_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -52,7 +52,7 @@ public async Task Get_GetsTheDetailsOfAnASRFabric()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CheckConsistency_ChecksTheConsistencyOfTheASRFabric()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationFabrics_CheckConsistency.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationFabrics_CheckConsistency.json
// this example is just showing the usage of "ReplicationFabrics_CheckConsistency" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -85,7 +85,7 @@ public async Task CheckConsistency_ChecksTheConsistencyOfTheASRFabric()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task MigrateToAad_MigratesTheSiteToAAD()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationFabrics_MigrateToAad.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationFabrics_MigrateToAad.json
// this example is just showing the usage of "ReplicationFabrics_MigrateToAad" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -113,7 +113,7 @@ public async Task MigrateToAad_MigratesTheSiteToAAD()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task ReassociateGateway_PerformFailoverOfTheProcessServer()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationFabrics_ReassociateGateway.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationFabrics_ReassociateGateway.json
// this example is just showing the usage of "ReplicationFabrics_ReassociateGateway" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -160,7 +160,7 @@ public async Task ReassociateGateway_PerformFailoverOfTheProcessServer()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_DeletesTheSite()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationFabrics_Delete.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationFabrics_Delete.json
// this example is just showing the usage of "ReplicationFabrics_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -188,7 +188,7 @@ public async Task Delete_DeletesTheSite()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task RenewCertificate_RenewsCertificateForTheFabric()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationFabrics_RenewCertificate.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationFabrics_RenewCertificate.json
// this example is just showing the usage of "ReplicationFabrics_RenewCertificate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -225,7 +225,7 @@ public async Task RenewCertificate_RenewsCertificateForTheFabric()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task RemoveInfra_RemovesTheApplianceSInfrastructureUnderTheFabric()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationInfrastructure_Delete.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationInfrastructure_Delete.json
// this example is just showing the usage of "ReplicationFabrics_RemoveInfra" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryJobCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryJobCollection.cs
index 917e0dd073d1..832f4bef15c3 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryJobCollection.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryJobCollection.cs
@@ -20,7 +20,7 @@ public partial class Sample_SiteRecoveryJobCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_GetsTheListOfJobs()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationJobs_List.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationJobs_List.json
// this example is just showing the usage of "ReplicationJobs_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -57,7 +57,7 @@ public async Task GetAll_GetsTheListOfJobs()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsTheJobDetails()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationJobs_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationJobs_Get.json
// this example is just showing the usage of "ReplicationJobs_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -92,7 +92,7 @@ public async Task Get_GetsTheJobDetails()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetsTheJobDetails()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationJobs_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationJobs_Get.json
// this example is just showing the usage of "ReplicationJobs_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -123,7 +123,7 @@ public async Task Exists_GetsTheJobDetails()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetsTheJobDetails()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationJobs_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationJobs_Get.json
// this example is just showing the usage of "ReplicationJobs_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryJobResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryJobResource.cs
index bcee6831f714..7fd42d094427 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryJobResource.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryJobResource.cs
@@ -20,7 +20,7 @@ public partial class Sample_SiteRecoveryJobResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsTheJobDetails()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationJobs_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationJobs_Get.json
// this example is just showing the usage of "ReplicationJobs_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -52,7 +52,7 @@ public async Task Get_GetsTheJobDetails()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Cancel_CancelsTheSpecifiedJob()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationJobs_Cancel.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationJobs_Cancel.json
// this example is just showing the usage of "ReplicationJobs_Cancel" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -85,7 +85,7 @@ public async Task Cancel_CancelsTheSpecifiedJob()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Restart_RestartsTheSpecifiedJob()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationJobs_Restart.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationJobs_Restart.json
// this example is just showing the usage of "ReplicationJobs_Restart" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -118,7 +118,7 @@ public async Task Restart_RestartsTheSpecifiedJob()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Resume_ResumesTheSpecifiedJob()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationJobs_Resume.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationJobs_Resume.json
// this example is just showing the usage of "ReplicationJobs_Resume" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryLogicalNetworkCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryLogicalNetworkCollection.cs
index d5f052f6f697..814c95524bf1 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryLogicalNetworkCollection.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryLogicalNetworkCollection.cs
@@ -19,7 +19,7 @@ public partial class Sample_SiteRecoveryLogicalNetworkCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_GetsTheListOfLogicalNetworksUnderAFabric()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationLogicalNetworks_ListByReplicationFabrics.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationLogicalNetworks_ListByReplicationFabrics.json
// this example is just showing the usage of "ReplicationLogicalNetworks_ListByReplicationFabrics" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -57,7 +57,7 @@ public async Task GetAll_GetsTheListOfLogicalNetworksUnderAFabric()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsALogicalNetworkWithSpecifiedServerIdAndLogicalNetworkName()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationLogicalNetworks_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationLogicalNetworks_Get.json
// this example is just showing the usage of "ReplicationLogicalNetworks_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -93,7 +93,7 @@ public async Task Get_GetsALogicalNetworkWithSpecifiedServerIdAndLogicalNetworkN
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetsALogicalNetworkWithSpecifiedServerIdAndLogicalNetworkName()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationLogicalNetworks_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationLogicalNetworks_Get.json
// this example is just showing the usage of "ReplicationLogicalNetworks_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -125,7 +125,7 @@ public async Task Exists_GetsALogicalNetworkWithSpecifiedServerIdAndLogicalNetwo
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetsALogicalNetworkWithSpecifiedServerIdAndLogicalNetworkName()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationLogicalNetworks_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationLogicalNetworks_Get.json
// this example is just showing the usage of "ReplicationLogicalNetworks_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryLogicalNetworkResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryLogicalNetworkResource.cs
index 4ee8aa29a3dd..d0eaa2a1fef5 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryLogicalNetworkResource.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryLogicalNetworkResource.cs
@@ -19,7 +19,7 @@ public partial class Sample_SiteRecoveryLogicalNetworkResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsALogicalNetworkWithSpecifiedServerIdAndLogicalNetworkName()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationLogicalNetworks_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationLogicalNetworks_Get.json
// this example is just showing the usage of "ReplicationLogicalNetworks_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryMigrationItemCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryMigrationItemCollection.cs
index 86896c871525..630bbb161bd7 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryMigrationItemCollection.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryMigrationItemCollection.cs
@@ -20,7 +20,7 @@ public partial class Sample_SiteRecoveryMigrationItemCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_GetsTheListOfMigrationItemsInTheProtectionContainer()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_ListByReplicationProtectionContainers.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationMigrationItems_ListByReplicationProtectionContainers.json
// this example is just showing the usage of "ReplicationMigrationItems_ListByReplicationProtectionContainers" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -59,7 +59,7 @@ public async Task GetAll_GetsTheListOfMigrationItemsInTheProtectionContainer()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsTheDetailsOfAMigrationItem()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationMigrationItems_Get.json
// this example is just showing the usage of "ReplicationMigrationItems_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -96,7 +96,7 @@ public async Task Get_GetsTheDetailsOfAMigrationItem()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetsTheDetailsOfAMigrationItem()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationMigrationItems_Get.json
// this example is just showing the usage of "ReplicationMigrationItems_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -129,7 +129,7 @@ public async Task Exists_GetsTheDetailsOfAMigrationItem()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetsTheDetailsOfAMigrationItem()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationMigrationItems_Get.json
// this example is just showing the usage of "ReplicationMigrationItems_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -174,7 +174,7 @@ public async Task GetIfExists_GetsTheDetailsOfAMigrationItem()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_EnablesMigration()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_Create.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationMigrationItems_Create.json
// this example is just showing the usage of "ReplicationMigrationItems_Create" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryMigrationItemResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryMigrationItemResource.cs
index d0139c6528ee..fd1357149199 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryMigrationItemResource.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryMigrationItemResource.cs
@@ -21,7 +21,7 @@ public partial class Sample_SiteRecoveryMigrationItemResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsTheDetailsOfAMigrationItem()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationMigrationItems_Get.json
// this example is just showing the usage of "ReplicationMigrationItems_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -55,7 +55,7 @@ public async Task Get_GetsTheDetailsOfAMigrationItem()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_DeleteTheMigrationItem()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_Delete.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationMigrationItems_Delete.json
// this example is just showing the usage of "ReplicationMigrationItems_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -85,7 +85,7 @@ public async Task Delete_DeleteTheMigrationItem()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdatesMigrationItem()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_Update.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationMigrationItems_Update.json
// this example is just showing the usage of "ReplicationMigrationItems_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -124,7 +124,7 @@ public async Task Update_UpdatesMigrationItem()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Migrate_MigrateItem()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_Migrate.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationMigrationItems_Migrate.json
// this example is just showing the usage of "ReplicationMigrationItems_Migrate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -160,7 +160,7 @@ public async Task Migrate_MigrateItem()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task PauseReplication_PauseReplication()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_PauseReplication.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationMigrationItems_PauseReplication.json
// this example is just showing the usage of "ReplicationMigrationItems_PauseReplication" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -196,7 +196,7 @@ public async Task PauseReplication_PauseReplication()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task ResumeReplication_ResumeReplication()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_ResumeReplication.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationMigrationItems_ResumeReplication.json
// this example is just showing the usage of "ReplicationMigrationItems_ResumeReplication" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -235,7 +235,7 @@ public async Task ResumeReplication_ResumeReplication()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Resync_ResynchronizesReplication()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_Resync.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationMigrationItems_Resync.json
// this example is just showing the usage of "ReplicationMigrationItems_Resync" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -271,7 +271,7 @@ public async Task Resync_ResynchronizesReplication()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task TestMigrate_TestMigrateItem()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_TestMigrate.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationMigrationItems_TestMigrate.json
// this example is just showing the usage of "ReplicationMigrationItems_TestMigrate" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -291,7 +291,10 @@ public async Task TestMigrate_TestMigrateItem()
SiteRecoveryMigrationItemResource siteRecoveryMigrationItem = client.GetSiteRecoveryMigrationItemResource(siteRecoveryMigrationItemResourceId);
// invoke the operation
- TestMigrateContent content = new TestMigrateContent(new TestMigrateProperties(new VMwareCbtTestMigrateContent(new ResourceIdentifier("/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationFabrics/vmwarefabric1/replicationProtectionContainers/vmwareContainer1/replicationMigrationItems/virtualmachine1/migrationRecoveryPoints/9e737191-317e-43d0-8c83-e32ac3b34686"), new ResourceIdentifier("/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1"))));
+ TestMigrateContent content = new TestMigrateContent(new TestMigrateProperties(new VMwareCbtTestMigrateContent(new ResourceIdentifier("/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationFabrics/vmwarefabric1/replicationProtectionContainers/vmwareContainer1/replicationMigrationItems/virtualmachine1/migrationRecoveryPoints/9e737191-317e-43d0-8c83-e32ac3b34686"), new ResourceIdentifier("/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1"))
+ {
+ OSUpgradeVersion = "Microsoft Windows Server 2019 (64-bit)",
+ }));
ArmOperation lro = await siteRecoveryMigrationItem.TestMigrateAsync(WaitUntil.Completed, content);
SiteRecoveryMigrationItemResource result = lro.Value;
@@ -307,7 +310,7 @@ public async Task TestMigrate_TestMigrateItem()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task TestMigrateCleanup_TestMigrateCleanup()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_TestMigrateCleanup.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationMigrationItems_TestMigrateCleanup.json
// this example is just showing the usage of "ReplicationMigrationItems_TestMigrateCleanup" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -346,7 +349,7 @@ public async Task TestMigrateCleanup_TestMigrateCleanup()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetSiteRecoveryMigrationItems_GetsTheListOfMigrationItemsInTheVault()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_List.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationMigrationItems_List.json
// this example is just showing the usage of "ReplicationMigrationItems_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkCollection.cs
index 9e538c4844a6..b385ca0300a7 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkCollection.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkCollection.cs
@@ -19,7 +19,7 @@ public partial class Sample_SiteRecoveryNetworkCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_GetsTheListOfNetworksUnderAFabric()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationNetworks_ListByReplicationFabrics.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationNetworks_ListByReplicationFabrics.json
// this example is just showing the usage of "ReplicationNetworks_ListByReplicationFabrics" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -57,7 +57,7 @@ public async Task GetAll_GetsTheListOfNetworksUnderAFabric()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsANetworkWithSpecifiedServerIdAndNetworkName()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationNetworks_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationNetworks_Get.json
// this example is just showing the usage of "ReplicationNetworks_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -93,7 +93,7 @@ public async Task Get_GetsANetworkWithSpecifiedServerIdAndNetworkName()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetsANetworkWithSpecifiedServerIdAndNetworkName()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationNetworks_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationNetworks_Get.json
// this example is just showing the usage of "ReplicationNetworks_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -125,7 +125,7 @@ public async Task Exists_GetsANetworkWithSpecifiedServerIdAndNetworkName()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetsANetworkWithSpecifiedServerIdAndNetworkName()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationNetworks_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationNetworks_Get.json
// this example is just showing the usage of "ReplicationNetworks_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkMappingCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkMappingCollection.cs
index 7cf757797ce2..084832035538 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkMappingCollection.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkMappingCollection.cs
@@ -20,7 +20,7 @@ public partial class Sample_SiteRecoveryNetworkMappingCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_GetsAllTheNetworkMappingsUnderANetwork()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationNetworkMappings_ListByReplicationNetworks.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationNetworkMappings_ListByReplicationNetworks.json
// this example is just showing the usage of "ReplicationNetworkMappings_ListByReplicationNetworks" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -59,7 +59,7 @@ public async Task GetAll_GetsAllTheNetworkMappingsUnderANetwork()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsNetworkMappingByName()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationNetworkMappings_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationNetworkMappings_Get.json
// this example is just showing the usage of "ReplicationNetworkMappings_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -96,7 +96,7 @@ public async Task Get_GetsNetworkMappingByName()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetsNetworkMappingByName()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationNetworkMappings_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationNetworkMappings_Get.json
// this example is just showing the usage of "ReplicationNetworkMappings_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -129,7 +129,7 @@ public async Task Exists_GetsNetworkMappingByName()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetsNetworkMappingByName()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationNetworkMappings_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationNetworkMappings_Get.json
// this example is just showing the usage of "ReplicationNetworkMappings_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -174,7 +174,7 @@ public async Task GetIfExists_GetsNetworkMappingByName()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreatesNetworkMapping()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationNetworkMappings_Create.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationNetworkMappings_Create.json
// this example is just showing the usage of "ReplicationNetworkMappings_Create" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkMappingResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkMappingResource.cs
index b92fabd3e922..65de4cfa1b9d 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkMappingResource.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkMappingResource.cs
@@ -21,7 +21,7 @@ public partial class Sample_SiteRecoveryNetworkMappingResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsNetworkMappingByName()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationNetworkMappings_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationNetworkMappings_Get.json
// this example is just showing the usage of "ReplicationNetworkMappings_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -55,7 +55,7 @@ public async Task Get_GetsNetworkMappingByName()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_DeleteNetworkMapping()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationNetworkMappings_Delete.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationNetworkMappings_Delete.json
// this example is just showing the usage of "ReplicationNetworkMappings_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -85,7 +85,7 @@ public async Task Delete_DeleteNetworkMapping()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdatesNetworkMapping()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationNetworkMappings_Update.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationNetworkMappings_Update.json
// this example is just showing the usage of "ReplicationNetworkMappings_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -129,7 +129,7 @@ public async Task Update_UpdatesNetworkMapping()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetSiteRecoveryNetworkMappings_GetsAllTheNetworkMappingsUnderAVault()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationNetworkMappings_List.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationNetworkMappings_List.json
// this example is just showing the usage of "ReplicationNetworkMappings_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkResource.cs
index 8c6d1f0ff455..d9ce6bff3d73 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkResource.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkResource.cs
@@ -20,7 +20,7 @@ public partial class Sample_SiteRecoveryNetworkResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsANetworkWithSpecifiedServerIdAndNetworkName()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationNetworks_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationNetworks_Get.json
// this example is just showing the usage of "ReplicationNetworks_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -53,7 +53,7 @@ public async Task Get_GetsANetworkWithSpecifiedServerIdAndNetworkName()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetSiteRecoveryNetworks_GetsTheListOfNetworksViewOnlyAPI()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationNetworks_List.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationNetworks_List.json
// this example is just showing the usage of "ReplicationNetworks_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPointCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPointCollection.cs
index d46cfda0bece..353a7a6bbe81 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPointCollection.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPointCollection.cs
@@ -19,7 +19,7 @@ public partial class Sample_SiteRecoveryPointCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_GetsTheListOfRecoveryPointsForAReplicationProtectedItem()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/RecoveryPoints_ListByReplicationProtectedItems.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/RecoveryPoints_ListByReplicationProtectedItems.json
// this example is just showing the usage of "RecoveryPoints_ListByReplicationProtectedItems" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -59,7 +59,7 @@ public async Task GetAll_GetsTheListOfRecoveryPointsForAReplicationProtectedItem
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsARecoveryPoint()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/RecoveryPoints_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/RecoveryPoints_Get.json
// this example is just showing the usage of "RecoveryPoints_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -97,7 +97,7 @@ public async Task Get_GetsARecoveryPoint()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetsARecoveryPoint()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/RecoveryPoints_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/RecoveryPoints_Get.json
// this example is just showing the usage of "RecoveryPoints_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -131,7 +131,7 @@ public async Task Exists_GetsARecoveryPoint()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetsARecoveryPoint()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/RecoveryPoints_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/RecoveryPoints_Get.json
// this example is just showing the usage of "RecoveryPoints_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPointResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPointResource.cs
index 5375ef9b5912..8c0e15fe4aa2 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPointResource.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPointResource.cs
@@ -19,7 +19,7 @@ public partial class Sample_SiteRecoveryPointResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsARecoveryPoint()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/RecoveryPoints_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/RecoveryPoints_Get.json
// this example is just showing the usage of "RecoveryPoints_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPolicyCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPolicyCollection.cs
index c69602a60fb6..1968566af009 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPolicyCollection.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPolicyCollection.cs
@@ -21,7 +21,7 @@ public partial class Sample_SiteRecoveryPolicyCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_GetsTheListOfReplicationPolicies()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationPolicies_List.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationPolicies_List.json
// this example is just showing the usage of "ReplicationPolicies_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -58,7 +58,7 @@ public async Task GetAll_GetsTheListOfReplicationPolicies()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsTheRequestedPolicy()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationPolicies_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationPolicies_Get.json
// this example is just showing the usage of "ReplicationPolicies_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -93,7 +93,7 @@ public async Task Get_GetsTheRequestedPolicy()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetsTheRequestedPolicy()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationPolicies_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationPolicies_Get.json
// this example is just showing the usage of "ReplicationPolicies_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -124,7 +124,7 @@ public async Task Exists_GetsTheRequestedPolicy()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetsTheRequestedPolicy()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationPolicies_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationPolicies_Get.json
// this example is just showing the usage of "ReplicationPolicies_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -167,7 +167,7 @@ public async Task GetIfExists_GetsTheRequestedPolicy()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreatesThePolicy()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationPolicies_Create.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationPolicies_Create.json
// this example is just showing the usage of "ReplicationPolicies_Create" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPolicyResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPolicyResource.cs
index 1548d626e237..84f5f79bb2a4 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPolicyResource.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPolicyResource.cs
@@ -20,7 +20,7 @@ public partial class Sample_SiteRecoveryPolicyResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsTheRequestedPolicy()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationPolicies_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationPolicies_Get.json
// this example is just showing the usage of "ReplicationPolicies_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -52,7 +52,7 @@ public async Task Get_GetsTheRequestedPolicy()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_DeleteThePolicy()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationPolicies_Delete.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationPolicies_Delete.json
// this example is just showing the usage of "ReplicationPolicies_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -80,7 +80,7 @@ public async Task Delete_DeleteThePolicy()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdatesThePolicy()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationPolicies_Update.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationPolicies_Update.json
// this example is just showing the usage of "ReplicationPolicies_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectableItemCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectableItemCollection.cs
index 73198c3f6640..8a2b3bedb23d 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectableItemCollection.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectableItemCollection.cs
@@ -19,7 +19,7 @@ public partial class Sample_SiteRecoveryProtectableItemCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_GetsTheListOfProtectableItems()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectableItems_ListByReplicationProtectionContainers.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectableItems_ListByReplicationProtectionContainers.json
// this example is just showing the usage of "ReplicationProtectableItems_ListByReplicationProtectionContainers" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -58,7 +58,7 @@ public async Task GetAll_GetsTheListOfProtectableItems()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsTheDetailsOfAProtectableItem()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectableItems_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectableItems_Get.json
// this example is just showing the usage of "ReplicationProtectableItems_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -95,7 +95,7 @@ public async Task Get_GetsTheDetailsOfAProtectableItem()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetsTheDetailsOfAProtectableItem()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectableItems_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectableItems_Get.json
// this example is just showing the usage of "ReplicationProtectableItems_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -128,7 +128,7 @@ public async Task Exists_GetsTheDetailsOfAProtectableItem()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetsTheDetailsOfAProtectableItem()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectableItems_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectableItems_Get.json
// this example is just showing the usage of "ReplicationProtectableItems_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectableItemResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectableItemResource.cs
index e7c4126970f4..48f2eecbd097 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectableItemResource.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectableItemResource.cs
@@ -19,7 +19,7 @@ public partial class Sample_SiteRecoveryProtectableItemResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsTheDetailsOfAProtectableItem()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectableItems_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectableItems_Get.json
// this example is just showing the usage of "ReplicationProtectableItems_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectionContainerCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectionContainerCollection.cs
index 16e7ab8a075a..fbea2b283b70 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectionContainerCollection.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectionContainerCollection.cs
@@ -19,7 +19,7 @@ public partial class Sample_SiteRecoveryProtectionContainerCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_GetsTheListOfProtectionContainerForAFabric()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainers_ListByReplicationFabrics.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionContainers_ListByReplicationFabrics.json
// this example is just showing the usage of "ReplicationProtectionContainers_ListByReplicationFabrics" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -57,7 +57,7 @@ public async Task GetAll_GetsTheListOfProtectionContainerForAFabric()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsTheProtectionContainerDetails()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainers_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionContainers_Get.json
// this example is just showing the usage of "ReplicationProtectionContainers_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -93,7 +93,7 @@ public async Task Get_GetsTheProtectionContainerDetails()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetsTheProtectionContainerDetails()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainers_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionContainers_Get.json
// this example is just showing the usage of "ReplicationProtectionContainers_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -125,7 +125,7 @@ public async Task Exists_GetsTheProtectionContainerDetails()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetsTheProtectionContainerDetails()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainers_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionContainers_Get.json
// this example is just showing the usage of "ReplicationProtectionContainers_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectionContainerResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectionContainerResource.cs
index 2eebfc897f4c..18010f06efeb 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectionContainerResource.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectionContainerResource.cs
@@ -22,7 +22,7 @@ public partial class Sample_SiteRecoveryProtectionContainerResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsTheProtectionContainerDetails()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainers_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionContainers_Get.json
// this example is just showing the usage of "ReplicationProtectionContainers_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -55,7 +55,7 @@ public async Task Get_GetsTheProtectionContainerDetails()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task DiscoverProtectableItem_AddsAProtectableItemToTheReplicationProtectionContainer()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainers_DiscoverProtectableItem.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionContainers_DiscoverProtectableItem.json
// this example is just showing the usage of "ReplicationProtectionContainers_DiscoverProtectableItem" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -98,7 +98,7 @@ public async Task DiscoverProtectableItem_AddsAProtectableItemToTheReplicationPr
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_RemovesAProtectionContainer()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainers_Delete.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionContainers_Delete.json
// this example is just showing the usage of "ReplicationProtectionContainers_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -122,12 +122,78 @@ public async Task Delete_RemovesAProtectionContainer()
Console.WriteLine($"Succeeded");
}
+ // Switches protection from one container to another or one replication provider to another.
+ [NUnit.Framework.Test]
+ [NUnit.Framework.Ignore("Only verifying that the sample builds")]
+ public async Task SwitchClusterProtection_SwitchesProtectionFromOneContainerToAnotherOrOneReplicationProviderToAnother()
+ {
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionContainers_SwitchClusterProtection.json
+ // this example is just showing the usage of "ReplicationProtectionContainers_SwitchClusterProtection" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this SiteRecoveryProtectionContainerResource created on azure
+ // for more information of creating SiteRecoveryProtectionContainerResource, please refer to the document of SiteRecoveryProtectionContainerResource
+ string subscriptionId = "7c943c1b-5122-4097-90c8-861411bdd574";
+ string resourceGroupName = "resourceGroupPS1";
+ string resourceName = "vault1";
+ string fabricName = "fabric-pri-eastus";
+ string protectionContainerName = "pri-cloud-eastus";
+ ResourceIdentifier siteRecoveryProtectionContainerResourceId = SiteRecoveryProtectionContainerResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, resourceName, fabricName, protectionContainerName);
+ SiteRecoveryProtectionContainerResource siteRecoveryProtectionContainer = client.GetSiteRecoveryProtectionContainerResource(siteRecoveryProtectionContainerResourceId);
+
+ // invoke the operation
+ SwitchClusterProtectionContent content = new SwitchClusterProtectionContent()
+ {
+ Properties = new SwitchClusterProtectionContentProperties()
+ {
+ ReplicationProtectionClusterName = "testcluster",
+ ProviderSpecificDetails = new A2ASwitchClusterProtectionContent()
+ {
+ RecoveryContainerId = new ResourceIdentifier("/Subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/fabric-rec-westus/replicationProtectionContainers/rec-cloud-westus"),
+ PolicyId = new ResourceIdentifier("/Subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationPolicies/klncksan"),
+ ProtectedItemsDetail =
+{
+new A2AProtectedItemDetail()
+{
+VmManagedDisks =
+{
+new A2AVmManagedDiskDetails("/subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourcegroups/clustertestrg-19-01/providers/microsoft.compute/disks/sdgql0-osdisk",new ResourceIdentifier("/subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourceGroups/clustertestrg-19-01/providers/Microsoft.Storage/storageAccounts/ix701lvaasrcache"),new ResourceIdentifier("/subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourceGroups/ClusterTestRG-19-01-asr"))
+},
+RecoveryResourceGroupId = new ResourceIdentifier("/subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourceGroups/ClusterTestRG-19-01-asr"),
+ReplicationProtectedItemName = "yNdYnDYKZ7hYU7zyVeBychFBCyAbEkrJcJNUarDrXio",
+},new A2AProtectedItemDetail()
+{
+VmManagedDisks =
+{
+new A2AVmManagedDiskDetails("/subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourcegroups/clustertestrg-19-01/providers/microsoft.compute/disks/sdgql1-osdisk",new ResourceIdentifier("/subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourceGroups/clustertestrg-19-01/providers/Microsoft.Storage/storageAccounts/ix701lvaasrcache"),new ResourceIdentifier("/subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourceGroups/ClusterTestRG-19-01-asr"))
+},
+RecoveryResourceGroupId = new ResourceIdentifier("/subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourceGroups/ClusterTestRG-19-01-asr"),
+ReplicationProtectedItemName = "kdUdWvpVnm3QgOQPHoVMX8YAtAO8OC4kKNjt40ERSr4",
+}
+},
+ },
+ },
+ };
+ ArmOperation lro = await siteRecoveryProtectionContainer.SwitchClusterProtectionAsync(WaitUntil.Completed, content);
+ SiteRecoveryProtectionContainerResource result = lro.Value;
+
+ // the variable result is a resource, you could call other operations on this instance as well
+ // but just for demo, we get its data from this resource instance
+ SiteRecoveryProtectionContainerData resourceData = result.Data;
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {resourceData.Id}");
+ }
+
// Switches protection from one container to another or one replication provider to another.
[NUnit.Framework.Test]
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task SwitchProtection_SwitchesProtectionFromOneContainerToAnotherOrOneReplicationProviderToAnother()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainers_SwitchProtection.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionContainers_SwitchProtection.json
// this example is just showing the usage of "ReplicationProtectionContainers_SwitchProtection" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -169,7 +235,7 @@ public async Task SwitchProtection_SwitchesProtectionFromOneContainerToAnotherOr
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetSiteRecoveryProtectionContainers_GetsTheListOfAllProtectionContainersInAVault()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainers_List.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionContainers_List.json
// this example is just showing the usage of "ReplicationProtectionContainers_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryRecoveryPlanCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryRecoveryPlanCollection.cs
index dc8fb190c82b..66271d272dc8 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryRecoveryPlanCollection.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryRecoveryPlanCollection.cs
@@ -21,7 +21,7 @@ public partial class Sample_SiteRecoveryRecoveryPlanCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_GetsTheListOfRecoveryPlans()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryPlans_List.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationRecoveryPlans_List.json
// this example is just showing the usage of "ReplicationRecoveryPlans_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -58,7 +58,7 @@ public async Task GetAll_GetsTheListOfRecoveryPlans()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsTheRequestedRecoveryPlan()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryPlans_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationRecoveryPlans_Get.json
// this example is just showing the usage of "ReplicationRecoveryPlans_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -93,7 +93,7 @@ public async Task Get_GetsTheRequestedRecoveryPlan()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetsTheRequestedRecoveryPlan()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryPlans_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationRecoveryPlans_Get.json
// this example is just showing the usage of "ReplicationRecoveryPlans_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -124,7 +124,7 @@ public async Task Exists_GetsTheRequestedRecoveryPlan()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetsTheRequestedRecoveryPlan()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryPlans_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationRecoveryPlans_Get.json
// this example is just showing the usage of "ReplicationRecoveryPlans_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -167,7 +167,7 @@ public async Task GetIfExists_GetsTheRequestedRecoveryPlan()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreatesARecoveryPlanWithTheGivenDetails()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryPlans_Create.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationRecoveryPlans_Create.json
// this example is just showing the usage of "ReplicationRecoveryPlans_Create" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryRecoveryPlanResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryRecoveryPlanResource.cs
index a00942c0eab5..6d4f1f3115c4 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryRecoveryPlanResource.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryRecoveryPlanResource.cs
@@ -20,7 +20,7 @@ public partial class Sample_SiteRecoveryRecoveryPlanResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsTheRequestedRecoveryPlan()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryPlans_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationRecoveryPlans_Get.json
// this example is just showing the usage of "ReplicationRecoveryPlans_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -52,7 +52,7 @@ public async Task Get_GetsTheRequestedRecoveryPlan()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_DeletesTheSpecifiedRecoveryPlan()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryPlans_Delete.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationRecoveryPlans_Delete.json
// this example is just showing the usage of "ReplicationRecoveryPlans_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -80,7 +80,7 @@ public async Task Delete_DeletesTheSpecifiedRecoveryPlan()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdatesTheGivenRecoveryPlan()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryPlans_Update.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationRecoveryPlans_Update.json
// this example is just showing the usage of "ReplicationRecoveryPlans_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -174,7 +174,7 @@ public async Task Update_UpdatesTheGivenRecoveryPlan()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task FailoverCancel_ExecuteCancelFailoverOfTheRecoveryPlan()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryPlans_FailoverCancel.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationRecoveryPlans_FailoverCancel.json
// this example is just showing the usage of "ReplicationRecoveryPlans_FailoverCancel" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -207,7 +207,7 @@ public async Task FailoverCancel_ExecuteCancelFailoverOfTheRecoveryPlan()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task FailoverCommit_ExecuteCommitFailoverOfTheRecoveryPlan()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryPlans_FailoverCommit.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationRecoveryPlans_FailoverCommit.json
// this example is just showing the usage of "ReplicationRecoveryPlans_FailoverCommit" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -240,7 +240,7 @@ public async Task FailoverCommit_ExecuteCommitFailoverOfTheRecoveryPlan()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task PlannedFailover_ExecutePlannedFailoverOfTheRecoveryPlan()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryPlans_PlannedFailover.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationRecoveryPlans_PlannedFailover.json
// this example is just showing the usage of "ReplicationRecoveryPlans_PlannedFailover" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -280,7 +280,7 @@ public async Task PlannedFailover_ExecutePlannedFailoverOfTheRecoveryPlan()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Reprotect_ExecuteReprotectOfTheRecoveryPlan()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryPlans_Reprotect.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationRecoveryPlans_Reprotect.json
// this example is just showing the usage of "ReplicationRecoveryPlans_Reprotect" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -313,7 +313,7 @@ public async Task Reprotect_ExecuteReprotectOfTheRecoveryPlan()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task TestFailover_ExecuteTestFailoverOfTheRecoveryPlan()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryPlans_TestFailover.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationRecoveryPlans_TestFailover.json
// this example is just showing the usage of "ReplicationRecoveryPlans_TestFailover" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -354,7 +354,7 @@ public async Task TestFailover_ExecuteTestFailoverOfTheRecoveryPlan()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task TestFailoverCleanup_ExecuteTestFailoverCleanupOfTheRecoveryPlan()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryPlans_TestFailoverCleanup.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationRecoveryPlans_TestFailoverCleanup.json
// this example is just showing the usage of "ReplicationRecoveryPlans_TestFailoverCleanup" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -391,7 +391,7 @@ public async Task TestFailoverCleanup_ExecuteTestFailoverCleanupOfTheRecoveryPla
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task UnplannedFailover_ExecuteUnplannedFailoverOfTheRecoveryPlan()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryPlans_UnplannedFailover.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationRecoveryPlans_UnplannedFailover.json
// this example is just showing the usage of "ReplicationRecoveryPlans_UnplannedFailover" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryServicesProviderCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryServicesProviderCollection.cs
index 68e14782db2d..16252486bb03 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryServicesProviderCollection.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryServicesProviderCollection.cs
@@ -20,7 +20,7 @@ public partial class Sample_SiteRecoveryServicesProviderCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_GetsTheListOfRegisteredRecoveryServicesProvidersForTheFabric()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryServicesProviders_ListByReplicationFabrics.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationRecoveryServicesProviders_ListByReplicationFabrics.json
// this example is just showing the usage of "ReplicationRecoveryServicesProviders_ListByReplicationFabrics" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -58,7 +58,7 @@ public async Task GetAll_GetsTheListOfRegisteredRecoveryServicesProvidersForTheF
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsTheDetailsOfARecoveryServicesProvider()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryServicesProviders_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationRecoveryServicesProviders_Get.json
// this example is just showing the usage of "ReplicationRecoveryServicesProviders_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -94,7 +94,7 @@ public async Task Get_GetsTheDetailsOfARecoveryServicesProvider()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetsTheDetailsOfARecoveryServicesProvider()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryServicesProviders_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationRecoveryServicesProviders_Get.json
// this example is just showing the usage of "ReplicationRecoveryServicesProviders_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -126,7 +126,7 @@ public async Task Exists_GetsTheDetailsOfARecoveryServicesProvider()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetsTheDetailsOfARecoveryServicesProvider()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryServicesProviders_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationRecoveryServicesProviders_Get.json
// this example is just showing the usage of "ReplicationRecoveryServicesProviders_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -170,7 +170,7 @@ public async Task GetIfExists_GetsTheDetailsOfARecoveryServicesProvider()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_AddsARecoveryServicesProvider()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryServicesProviders_Create.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationRecoveryServicesProviders_Create.json
// this example is just showing the usage of "ReplicationRecoveryServicesProviders_Create" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryServicesProviderResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryServicesProviderResource.cs
index bd7add214c99..ea232d29efd8 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryServicesProviderResource.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryServicesProviderResource.cs
@@ -21,7 +21,7 @@ public partial class Sample_SiteRecoveryServicesProviderResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsTheDetailsOfARecoveryServicesProvider()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryServicesProviders_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationRecoveryServicesProviders_Get.json
// this example is just showing the usage of "ReplicationRecoveryServicesProviders_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -54,7 +54,7 @@ public async Task Get_GetsTheDetailsOfARecoveryServicesProvider()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_AddsARecoveryServicesProvider()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryServicesProviders_Create.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationRecoveryServicesProviders_Create.json
// this example is just showing the usage of "ReplicationRecoveryServicesProviders_Create" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -89,7 +89,7 @@ public async Task Update_AddsARecoveryServicesProvider()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task RefreshProvider_RefreshDetailsFromTheRecoveryServicesProvider()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryServicesProviders_RefreshProvider.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationRecoveryServicesProviders_RefreshProvider.json
// this example is just showing the usage of "ReplicationRecoveryServicesProviders_RefreshProvider" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -123,7 +123,7 @@ public async Task RefreshProvider_RefreshDetailsFromTheRecoveryServicesProvider(
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_DeletesProviderFromFabricNoteDeletingProviderForAnyFabricOtherThanSingleHostIsUnsupportedToMaintainBackwardCompatibilityForReleasedClientsTheObjectDeleteRspInputIsUsedIfTheObjectIsEmptyWeAssumeThatItIsOldClientAndContinueTheOldBehavior()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryServicesProviders_Delete.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationRecoveryServicesProviders_Delete.json
// this example is just showing the usage of "ReplicationRecoveryServicesProviders_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -152,7 +152,7 @@ public async Task Delete_DeletesProviderFromFabricNoteDeletingProviderForAnyFabr
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetSiteRecoveryServicesProviders_GetsTheListOfRegisteredRecoveryServicesProvidersInTheVaultThisIsAViewOnlyApi()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryServicesProviders_List.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationRecoveryServicesProviders_List.json
// this example is just showing the usage of "ReplicationRecoveryServicesProviders_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVCenterCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVCenterCollection.cs
index dbf2dc25746b..db9b47461f72 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVCenterCollection.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVCenterCollection.cs
@@ -21,7 +21,7 @@ public partial class Sample_SiteRecoveryVCenterCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_GetsTheListOfVCenterRegisteredUnderAFabric()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationvCenters_ListByReplicationFabrics.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationvCenters_ListByReplicationFabrics.json
// this example is just showing the usage of "ReplicationvCenters_ListByReplicationFabrics" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -59,7 +59,7 @@ public async Task GetAll_GetsTheListOfVCenterRegisteredUnderAFabric()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsTheDetailsOfAVCenter()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationvCenters_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationvCenters_Get.json
// this example is just showing the usage of "ReplicationvCenters_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -95,7 +95,7 @@ public async Task Get_GetsTheDetailsOfAVCenter()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetsTheDetailsOfAVCenter()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationvCenters_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationvCenters_Get.json
// this example is just showing the usage of "ReplicationvCenters_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -127,7 +127,7 @@ public async Task Exists_GetsTheDetailsOfAVCenter()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetsTheDetailsOfAVCenter()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationvCenters_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationvCenters_Get.json
// this example is just showing the usage of "ReplicationvCenters_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -171,7 +171,7 @@ public async Task GetIfExists_GetsTheDetailsOfAVCenter()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_AddVCenter()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationvCenters_Create.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationvCenters_Create.json
// this example is just showing the usage of "ReplicationvCenters_Create" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVCenterResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVCenterResource.cs
index 01f603455463..58330232fa35 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVCenterResource.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVCenterResource.cs
@@ -22,7 +22,7 @@ public partial class Sample_SiteRecoveryVCenterResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsTheDetailsOfAVCenter()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationvCenters_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationvCenters_Get.json
// this example is just showing the usage of "ReplicationvCenters_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -55,7 +55,7 @@ public async Task Get_GetsTheDetailsOfAVCenter()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_RemoveVCenterOperation()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationvCenters_Delete.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationvCenters_Delete.json
// this example is just showing the usage of "ReplicationvCenters_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -84,7 +84,7 @@ public async Task Delete_RemoveVCenterOperation()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdateVCenterOperation()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationvCenters_Update.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationvCenters_Update.json
// this example is just showing the usage of "ReplicationvCenters_Update" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -125,7 +125,7 @@ public async Task Update_UpdateVCenterOperation()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetSiteRecoveryVCenters_GetsTheListOfVCenterRegisteredUnderTheVault()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationvCenters_List.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationvCenters_List.json
// this example is just showing the usage of "ReplicationvCenters_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVaultSettingCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVaultSettingCollection.cs
index 0867f734de6a..121632b06ed0 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVaultSettingCollection.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVaultSettingCollection.cs
@@ -21,7 +21,7 @@ public partial class Sample_SiteRecoveryVaultSettingCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_GetsTheListOfVaultSetting()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationVaultSetting_List.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationVaultSetting_List.json
// this example is just showing the usage of "ReplicationVaultSetting_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -58,7 +58,7 @@ public async Task GetAll_GetsTheListOfVaultSetting()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsTheVaultSetting()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationVaultSetting_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationVaultSetting_Get.json
// this example is just showing the usage of "ReplicationVaultSetting_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -93,7 +93,7 @@ public async Task Get_GetsTheVaultSetting()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetsTheVaultSetting()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationVaultSetting_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationVaultSetting_Get.json
// this example is just showing the usage of "ReplicationVaultSetting_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -124,7 +124,7 @@ public async Task Exists_GetsTheVaultSetting()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetsTheVaultSetting()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationVaultSetting_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationVaultSetting_Get.json
// this example is just showing the usage of "ReplicationVaultSetting_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -167,7 +167,7 @@ public async Task GetIfExists_GetsTheVaultSetting()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_UpdatesVaultSettingAVaultSettingObjectIsASingletonPerVaultAndItIsAlwaysPresentByDefault()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationVaultSetting_Create.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationVaultSetting_Create.json
// this example is just showing the usage of "ReplicationVaultSetting_Create" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVaultSettingResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVaultSettingResource.cs
index bc9ab9156af2..06f71de7d7eb 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVaultSettingResource.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVaultSettingResource.cs
@@ -20,7 +20,7 @@ public partial class Sample_SiteRecoveryVaultSettingResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsTheVaultSetting()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationVaultSetting_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationVaultSetting_Get.json
// this example is just showing the usage of "ReplicationVaultSetting_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -52,7 +52,7 @@ public async Task Get_GetsTheVaultSetting()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_UpdatesVaultSettingAVaultSettingObjectIsASingletonPerVaultAndItIsAlwaysPresentByDefault()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationVaultSetting_Create.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationVaultSetting_Create.json
// this example is just showing the usage of "ReplicationVaultSetting_Create" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationCollection.cs
index a93e15bf9adb..b99792f27d3c 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationCollection.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationCollection.cs
@@ -19,7 +19,7 @@ public partial class Sample_StorageClassificationCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_GetsTheListOfStorageClassificationObjectsUnderAFabric()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationStorageClassifications_ListByReplicationFabrics.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationStorageClassifications_ListByReplicationFabrics.json
// this example is just showing the usage of "ReplicationStorageClassifications_ListByReplicationFabrics" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -57,7 +57,7 @@ public async Task GetAll_GetsTheListOfStorageClassificationObjectsUnderAFabric()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsTheDetailsOfAStorageClassification()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationStorageClassifications_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationStorageClassifications_Get.json
// this example is just showing the usage of "ReplicationStorageClassifications_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -93,7 +93,7 @@ public async Task Get_GetsTheDetailsOfAStorageClassification()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetsTheDetailsOfAStorageClassification()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationStorageClassifications_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationStorageClassifications_Get.json
// this example is just showing the usage of "ReplicationStorageClassifications_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -125,7 +125,7 @@ public async Task Exists_GetsTheDetailsOfAStorageClassification()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetsTheDetailsOfAStorageClassification()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationStorageClassifications_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationStorageClassifications_Get.json
// this example is just showing the usage of "ReplicationStorageClassifications_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationMappingCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationMappingCollection.cs
index 1ab5aaf1fb3b..c4e2f8b9109c 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationMappingCollection.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationMappingCollection.cs
@@ -20,7 +20,7 @@ public partial class Sample_StorageClassificationMappingCollection
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetAll_GetsTheListOfStorageClassificationMappingsObjectsUnderAStorage()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationStorageClassificationMappings_ListByReplicationStorageClassifications.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationStorageClassificationMappings_ListByReplicationStorageClassifications.json
// this example is just showing the usage of "ReplicationStorageClassificationMappings_ListByReplicationStorageClassifications" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -59,7 +59,7 @@ public async Task GetAll_GetsTheListOfStorageClassificationMappingsObjectsUnderA
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsTheDetailsOfAStorageClassificationMapping()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationStorageClassificationMappings_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationStorageClassificationMappings_Get.json
// this example is just showing the usage of "ReplicationStorageClassificationMappings_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -96,7 +96,7 @@ public async Task Get_GetsTheDetailsOfAStorageClassificationMapping()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Exists_GetsTheDetailsOfAStorageClassificationMapping()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationStorageClassificationMappings_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationStorageClassificationMappings_Get.json
// this example is just showing the usage of "ReplicationStorageClassificationMappings_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -129,7 +129,7 @@ public async Task Exists_GetsTheDetailsOfAStorageClassificationMapping()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetIfExists_GetsTheDetailsOfAStorageClassificationMapping()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationStorageClassificationMappings_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationStorageClassificationMappings_Get.json
// this example is just showing the usage of "ReplicationStorageClassificationMappings_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -174,7 +174,7 @@ public async Task GetIfExists_GetsTheDetailsOfAStorageClassificationMapping()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task CreateOrUpdate_CreateStorageClassificationMapping()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationStorageClassificationMappings_Create.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationStorageClassificationMappings_Create.json
// this example is just showing the usage of "ReplicationStorageClassificationMappings_Create" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationMappingResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationMappingResource.cs
index 88e2394b96cf..9467a08c6242 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationMappingResource.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationMappingResource.cs
@@ -21,7 +21,7 @@ public partial class Sample_StorageClassificationMappingResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsTheDetailsOfAStorageClassificationMapping()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationStorageClassificationMappings_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationStorageClassificationMappings_Get.json
// this example is just showing the usage of "ReplicationStorageClassificationMappings_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -55,7 +55,7 @@ public async Task Get_GetsTheDetailsOfAStorageClassificationMapping()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Update_CreateStorageClassificationMapping()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationStorageClassificationMappings_Create.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationStorageClassificationMappings_Create.json
// this example is just showing the usage of "ReplicationStorageClassificationMappings_Create" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -94,7 +94,7 @@ public async Task Update_CreateStorageClassificationMapping()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Delete_DeleteAStorageClassificationMapping()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationStorageClassificationMappings_Delete.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationStorageClassificationMappings_Delete.json
// this example is just showing the usage of "ReplicationStorageClassificationMappings_Delete" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -124,7 +124,7 @@ public async Task Delete_DeleteAStorageClassificationMapping()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetStorageClassificationMappings_GetsTheListOfStorageClassificationMappingsObjectsUnderAVault()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationStorageClassificationMappings_List.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationStorageClassificationMappings_List.json
// this example is just showing the usage of "ReplicationStorageClassificationMappings_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationResource.cs
index e0fb2e482431..db916fc0ea52 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationResource.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationResource.cs
@@ -20,7 +20,7 @@ public partial class Sample_StorageClassificationResource
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task Get_GetsTheDetailsOfAStorageClassification()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationStorageClassifications_Get.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationStorageClassifications_Get.json
// this example is just showing the usage of "ReplicationStorageClassifications_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
@@ -53,7 +53,7 @@ public async Task Get_GetsTheDetailsOfAStorageClassification()
[NUnit.Framework.Ignore("Only verifying that the sample builds")]
public async Task GetStorageClassifications_GetsTheListOfStorageClassificationObjectsUnderAVault()
{
- // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationStorageClassifications_List.json
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationStorageClassifications_List.json
// this example is just showing the usage of "ReplicationStorageClassifications_List" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterCollection.cs
new file mode 100644
index 000000000000..a31b852da0e3
--- /dev/null
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterCollection.cs
@@ -0,0 +1,219 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Threading.Tasks;
+using Azure.Core;
+using Azure.Identity;
+using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models;
+
+namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples
+{
+ public partial class Sample_VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterCollection
+ {
+ // Gets the list of Replication protection clusters in fabric, container.
+ [NUnit.Framework.Test]
+ [NUnit.Framework.Ignore("Only verifying that the sample builds")]
+ public async Task GetAll_GetsTheListOfReplicationProtectionClustersInFabricContainer()
+ {
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionClusters_ListByReplicationProtectionContainers.json
+ // this example is just showing the usage of "ReplicationProtectionClusters_ListByReplicationProtectionContainers" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this SiteRecoveryProtectionContainerResource created on azure
+ // for more information of creating SiteRecoveryProtectionContainerResource, please refer to the document of SiteRecoveryProtectionContainerResource
+ string subscriptionId = "c183865e-6077-46f2-a3b1-deb0f4f4650a";
+ string resourceGroupName = "resourceGroupPS1";
+ string resourceName = "vault1";
+ string fabricName = "eastus";
+ string protectionContainerName = "eastus-container";
+ ResourceIdentifier siteRecoveryProtectionContainerResourceId = SiteRecoveryProtectionContainerResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, resourceName, fabricName, protectionContainerName);
+ SiteRecoveryProtectionContainerResource siteRecoveryProtectionContainer = client.GetSiteRecoveryProtectionContainerResource(siteRecoveryProtectionContainerResourceId);
+
+ // get the collection of this VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterCollection collection = siteRecoveryProtectionContainer.GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusters();
+
+ // invoke the operation and iterate over the result
+ await foreach (VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource item in collection.GetAllAsync())
+ {
+ // the variable item is a resource, you could call other operations on this instance as well
+ // but just for demo, we get its data from this resource instance
+ ReplicationProtectionClusterData resourceData = item.Data;
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {resourceData.Id}");
+ }
+
+ Console.WriteLine($"Succeeded");
+ }
+
+ // Gets the details of a Replication protection cluster.
+ [NUnit.Framework.Test]
+ [NUnit.Framework.Ignore("Only verifying that the sample builds")]
+ public async Task Get_GetsTheDetailsOfAReplicationProtectionCluster()
+ {
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionClusters_Get.json
+ // this example is just showing the usage of "ReplicationProtectionClusters_Get" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this SiteRecoveryProtectionContainerResource created on azure
+ // for more information of creating SiteRecoveryProtectionContainerResource, please refer to the document of SiteRecoveryProtectionContainerResource
+ string subscriptionId = "c183865e-6077-46f2-a3b1-deb0f4f4650a";
+ string resourceGroupName = "resourceGroupPS1";
+ string resourceName = "vault1";
+ string fabricName = "eastus";
+ string protectionContainerName = "eastus-container";
+ ResourceIdentifier siteRecoveryProtectionContainerResourceId = SiteRecoveryProtectionContainerResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, resourceName, fabricName, protectionContainerName);
+ SiteRecoveryProtectionContainerResource siteRecoveryProtectionContainer = client.GetSiteRecoveryProtectionContainerResource(siteRecoveryProtectionContainerResourceId);
+
+ // get the collection of this VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterCollection collection = siteRecoveryProtectionContainer.GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusters();
+
+ // invoke the operation
+ string replicationProtectionClusterName = "cluster1";
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource result = await collection.GetAsync(replicationProtectionClusterName);
+
+ // the variable result is a resource, you could call other operations on this instance as well
+ // but just for demo, we get its data from this resource instance
+ ReplicationProtectionClusterData resourceData = result.Data;
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {resourceData.Id}");
+ }
+
+ // Gets the details of a Replication protection cluster.
+ [NUnit.Framework.Test]
+ [NUnit.Framework.Ignore("Only verifying that the sample builds")]
+ public async Task Exists_GetsTheDetailsOfAReplicationProtectionCluster()
+ {
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionClusters_Get.json
+ // this example is just showing the usage of "ReplicationProtectionClusters_Get" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this SiteRecoveryProtectionContainerResource created on azure
+ // for more information of creating SiteRecoveryProtectionContainerResource, please refer to the document of SiteRecoveryProtectionContainerResource
+ string subscriptionId = "c183865e-6077-46f2-a3b1-deb0f4f4650a";
+ string resourceGroupName = "resourceGroupPS1";
+ string resourceName = "vault1";
+ string fabricName = "eastus";
+ string protectionContainerName = "eastus-container";
+ ResourceIdentifier siteRecoveryProtectionContainerResourceId = SiteRecoveryProtectionContainerResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, resourceName, fabricName, protectionContainerName);
+ SiteRecoveryProtectionContainerResource siteRecoveryProtectionContainer = client.GetSiteRecoveryProtectionContainerResource(siteRecoveryProtectionContainerResourceId);
+
+ // get the collection of this VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterCollection collection = siteRecoveryProtectionContainer.GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusters();
+
+ // invoke the operation
+ string replicationProtectionClusterName = "cluster1";
+ bool result = await collection.ExistsAsync(replicationProtectionClusterName);
+
+ Console.WriteLine($"Succeeded: {result}");
+ }
+
+ // Gets the details of a Replication protection cluster.
+ [NUnit.Framework.Test]
+ [NUnit.Framework.Ignore("Only verifying that the sample builds")]
+ public async Task GetIfExists_GetsTheDetailsOfAReplicationProtectionCluster()
+ {
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionClusters_Get.json
+ // this example is just showing the usage of "ReplicationProtectionClusters_Get" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this SiteRecoveryProtectionContainerResource created on azure
+ // for more information of creating SiteRecoveryProtectionContainerResource, please refer to the document of SiteRecoveryProtectionContainerResource
+ string subscriptionId = "c183865e-6077-46f2-a3b1-deb0f4f4650a";
+ string resourceGroupName = "resourceGroupPS1";
+ string resourceName = "vault1";
+ string fabricName = "eastus";
+ string protectionContainerName = "eastus-container";
+ ResourceIdentifier siteRecoveryProtectionContainerResourceId = SiteRecoveryProtectionContainerResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, resourceName, fabricName, protectionContainerName);
+ SiteRecoveryProtectionContainerResource siteRecoveryProtectionContainer = client.GetSiteRecoveryProtectionContainerResource(siteRecoveryProtectionContainerResourceId);
+
+ // get the collection of this VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterCollection collection = siteRecoveryProtectionContainer.GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusters();
+
+ // invoke the operation
+ string replicationProtectionClusterName = "cluster1";
+ NullableResponse response = await collection.GetIfExistsAsync(replicationProtectionClusterName);
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource result = response.HasValue ? response.Value : null;
+
+ if (result == null)
+ {
+ Console.WriteLine($"Succeeded with null as result");
+ }
+ else
+ {
+ // the variable result is a resource, you could call other operations on this instance as well
+ // but just for demo, we get its data from this resource instance
+ ReplicationProtectionClusterData resourceData = result.Data;
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {resourceData.Id}");
+ }
+ }
+
+ // Create Replication protection Cluster.
+ [NUnit.Framework.Test]
+ [NUnit.Framework.Ignore("Only verifying that the sample builds")]
+ public async Task CreateOrUpdate_CreateReplicationProtectionCluster()
+ {
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionClusters_Create.json
+ // this example is just showing the usage of "ReplicationProtectionClusters_Create" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this SiteRecoveryProtectionContainerResource created on azure
+ // for more information of creating SiteRecoveryProtectionContainerResource, please refer to the document of SiteRecoveryProtectionContainerResource
+ string subscriptionId = "c183865e-6077-46f2-a3b1-deb0f4f4650a";
+ string resourceGroupName = "resourceGroupPS1";
+ string resourceName = "vault1";
+ string fabricName = "eastus";
+ string protectionContainerName = "eastus-container";
+ ResourceIdentifier siteRecoveryProtectionContainerResourceId = SiteRecoveryProtectionContainerResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, resourceName, fabricName, protectionContainerName);
+ SiteRecoveryProtectionContainerResource siteRecoveryProtectionContainer = client.GetSiteRecoveryProtectionContainerResource(siteRecoveryProtectionContainerResourceId);
+
+ // get the collection of this VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterCollection collection = siteRecoveryProtectionContainer.GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusters();
+
+ // invoke the operation
+ string replicationProtectionClusterName = "cluster12";
+ ReplicationProtectionClusterData data = new ReplicationProtectionClusterData()
+ {
+ Properties = new ReplicationProtectionClusterProperties()
+ {
+ RecoveryContainerId = new ResourceIdentifier("/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/centraluseuap/replicationProtectionContainers/centraluseuap-container"),
+ ProviderSpecificDetails = new A2AReplicationProtectionClusterDetails(),
+ PolicyId = new ResourceIdentifier("/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationPolicies/24-hour-retention-policy"),
+ },
+ };
+ ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, replicationProtectionClusterName, data);
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource result = lro.Value;
+
+ // the variable result is a resource, you could call other operations on this instance as well
+ // but just for demo, we get its data from this resource instance
+ ReplicationProtectionClusterData resourceData = result.Data;
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {resourceData.Id}");
+ }
+ }
+}
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultCollection.cs
new file mode 100644
index 000000000000..0decded05799
--- /dev/null
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultCollection.cs
@@ -0,0 +1,135 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Threading.Tasks;
+using Azure.Core;
+using Azure.Identity;
+
+namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples
+{
+ public partial class Sample_VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultCollection
+ {
+ // Tracks the Replication protection cluster async operation.
+ [NUnit.Framework.Test]
+ [NUnit.Framework.Ignore("Only verifying that the sample builds")]
+ public async Task Get_TracksTheReplicationProtectionClusterAsyncOperation()
+ {
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionClusters_GetOperationResults.json
+ // this example is just showing the usage of "ReplicationProtectionClusters_GetOperationResults" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource created on azure
+ // for more information of creating VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource, please refer to the document of VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource
+ string subscriptionId = "c183865e-6077-46f2-a3b1-deb0f4f4650a";
+ string resourceGroupName = "resourceGroupPS1";
+ string resourceName = "vault1";
+ string fabricName = "eastus";
+ string protectionContainerName = "eastus-container";
+ string replicationProtectionClusterName = "cluster1";
+ ResourceIdentifier vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId = VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, resourceName, fabricName, protectionContainerName, replicationProtectionClusterName);
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster = client.GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource(vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId);
+
+ // get the collection of this VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultResource
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultCollection collection = vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster.GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResults();
+
+ // invoke the operation
+ ResourceIdentifier jobId = new ResourceIdentifier("ea63a935-59d5-4b12-aff2-98773f63c116");
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultResource result = await collection.GetAsync(jobId);
+
+ // the variable result is a resource, you could call other operations on this instance as well
+ // but just for demo, we get its data from this resource instance
+ ReplicationProtectionClusterData resourceData = result.Data;
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {resourceData.Id}");
+ }
+
+ // Tracks the Replication protection cluster async operation.
+ [NUnit.Framework.Test]
+ [NUnit.Framework.Ignore("Only verifying that the sample builds")]
+ public async Task Exists_TracksTheReplicationProtectionClusterAsyncOperation()
+ {
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionClusters_GetOperationResults.json
+ // this example is just showing the usage of "ReplicationProtectionClusters_GetOperationResults" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource created on azure
+ // for more information of creating VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource, please refer to the document of VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource
+ string subscriptionId = "c183865e-6077-46f2-a3b1-deb0f4f4650a";
+ string resourceGroupName = "resourceGroupPS1";
+ string resourceName = "vault1";
+ string fabricName = "eastus";
+ string protectionContainerName = "eastus-container";
+ string replicationProtectionClusterName = "cluster1";
+ ResourceIdentifier vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId = VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, resourceName, fabricName, protectionContainerName, replicationProtectionClusterName);
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster = client.GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource(vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId);
+
+ // get the collection of this VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultResource
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultCollection collection = vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster.GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResults();
+
+ // invoke the operation
+ ResourceIdentifier jobId = new ResourceIdentifier("ea63a935-59d5-4b12-aff2-98773f63c116");
+ bool result = await collection.ExistsAsync(jobId);
+
+ Console.WriteLine($"Succeeded: {result}");
+ }
+
+ // Tracks the Replication protection cluster async operation.
+ [NUnit.Framework.Test]
+ [NUnit.Framework.Ignore("Only verifying that the sample builds")]
+ public async Task GetIfExists_TracksTheReplicationProtectionClusterAsyncOperation()
+ {
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionClusters_GetOperationResults.json
+ // this example is just showing the usage of "ReplicationProtectionClusters_GetOperationResults" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource created on azure
+ // for more information of creating VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource, please refer to the document of VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource
+ string subscriptionId = "c183865e-6077-46f2-a3b1-deb0f4f4650a";
+ string resourceGroupName = "resourceGroupPS1";
+ string resourceName = "vault1";
+ string fabricName = "eastus";
+ string protectionContainerName = "eastus-container";
+ string replicationProtectionClusterName = "cluster1";
+ ResourceIdentifier vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId = VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, resourceName, fabricName, protectionContainerName, replicationProtectionClusterName);
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster = client.GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource(vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId);
+
+ // get the collection of this VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultResource
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultCollection collection = vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster.GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResults();
+
+ // invoke the operation
+ ResourceIdentifier jobId = new ResourceIdentifier("ea63a935-59d5-4b12-aff2-98773f63c116");
+ NullableResponse response = await collection.GetIfExistsAsync(jobId);
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultResource result = response.HasValue ? response.Value : null;
+
+ if (result == null)
+ {
+ Console.WriteLine($"Succeeded with null as result");
+ }
+ else
+ {
+ // the variable result is a resource, you could call other operations on this instance as well
+ // but just for demo, we get its data from this resource instance
+ ReplicationProtectionClusterData resourceData = result.Data;
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {resourceData.Id}");
+ }
+ }
+ }
+}
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultResource.cs
new file mode 100644
index 000000000000..f8ce623f95bc
--- /dev/null
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultResource.cs
@@ -0,0 +1,52 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Threading.Tasks;
+using Azure.Core;
+using Azure.Identity;
+
+namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples
+{
+ public partial class Sample_VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultResource
+ {
+ // Tracks the Replication protection cluster async operation.
+ [NUnit.Framework.Test]
+ [NUnit.Framework.Ignore("Only verifying that the sample builds")]
+ public async Task Get_TracksTheReplicationProtectionClusterAsyncOperation()
+ {
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionClusters_GetOperationResults.json
+ // this example is just showing the usage of "ReplicationProtectionClusters_GetOperationResults" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultResource created on azure
+ // for more information of creating VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultResource, please refer to the document of VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultResource
+ string subscriptionId = "c183865e-6077-46f2-a3b1-deb0f4f4650a";
+ string resourceGroupName = "resourceGroupPS1";
+ string resourceName = "vault1";
+ string fabricName = "eastus";
+ string protectionContainerName = "eastus-container";
+ string replicationProtectionClusterName = "cluster1";
+ ResourceIdentifier jobId = new ResourceIdentifier("ea63a935-59d5-4b12-aff2-98773f63c116");
+ ResourceIdentifier vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultResourceId = VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, resourceName, fabricName, protectionContainerName, replicationProtectionClusterName, jobId);
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultResource vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResult = client.GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultResource(vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultResourceId);
+
+ // invoke the operation
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultResource result = await vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResult.GetAsync();
+
+ // the variable result is a resource, you could call other operations on this instance as well
+ // but just for demo, we get its data from this resource instance
+ ReplicationProtectionClusterData resourceData = result.Data;
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {resourceData.Id}");
+ }
+ }
+}
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource.cs
new file mode 100644
index 000000000000..a0fcd44a31fc
--- /dev/null
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource.cs
@@ -0,0 +1,375 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Threading.Tasks;
+using Azure.Core;
+using Azure.Identity;
+using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models;
+
+namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples
+{
+ public partial class Sample_VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource
+ {
+ // Gets the details of a Replication protection cluster.
+ [NUnit.Framework.Test]
+ [NUnit.Framework.Ignore("Only verifying that the sample builds")]
+ public async Task Get_GetsTheDetailsOfAReplicationProtectionCluster()
+ {
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionClusters_Get.json
+ // this example is just showing the usage of "ReplicationProtectionClusters_Get" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource created on azure
+ // for more information of creating VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource, please refer to the document of VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource
+ string subscriptionId = "c183865e-6077-46f2-a3b1-deb0f4f4650a";
+ string resourceGroupName = "resourceGroupPS1";
+ string resourceName = "vault1";
+ string fabricName = "eastus";
+ string protectionContainerName = "eastus-container";
+ string replicationProtectionClusterName = "cluster1";
+ ResourceIdentifier vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId = VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, resourceName, fabricName, protectionContainerName, replicationProtectionClusterName);
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster = client.GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource(vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId);
+
+ // invoke the operation
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource result = await vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster.GetAsync();
+
+ // the variable result is a resource, you could call other operations on this instance as well
+ // but just for demo, we get its data from this resource instance
+ ReplicationProtectionClusterData resourceData = result.Data;
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {resourceData.Id}");
+ }
+
+ // Create Replication protection Cluster.
+ [NUnit.Framework.Test]
+ [NUnit.Framework.Ignore("Only verifying that the sample builds")]
+ public async Task Update_CreateReplicationProtectionCluster()
+ {
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionClusters_Create.json
+ // this example is just showing the usage of "ReplicationProtectionClusters_Create" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource created on azure
+ // for more information of creating VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource, please refer to the document of VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource
+ string subscriptionId = "c183865e-6077-46f2-a3b1-deb0f4f4650a";
+ string resourceGroupName = "resourceGroupPS1";
+ string resourceName = "vault1";
+ string fabricName = "eastus";
+ string protectionContainerName = "eastus-container";
+ string replicationProtectionClusterName = "cluster12";
+ ResourceIdentifier vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId = VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, resourceName, fabricName, protectionContainerName, replicationProtectionClusterName);
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster = client.GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource(vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId);
+
+ // invoke the operation
+ ReplicationProtectionClusterData data = new ReplicationProtectionClusterData()
+ {
+ Properties = new ReplicationProtectionClusterProperties()
+ {
+ RecoveryContainerId = new ResourceIdentifier("/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/centraluseuap/replicationProtectionContainers/centraluseuap-container"),
+ ProviderSpecificDetails = new A2AReplicationProtectionClusterDetails(),
+ PolicyId = new ResourceIdentifier("/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationPolicies/24-hour-retention-policy"),
+ },
+ };
+ ArmOperation lro = await vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster.UpdateAsync(WaitUntil.Completed, data);
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource result = lro.Value;
+
+ // the variable result is a resource, you could call other operations on this instance as well
+ // but just for demo, we get its data from this resource instance
+ ReplicationProtectionClusterData resourceData = result.Data;
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {resourceData.Id}");
+ }
+
+ // Purge the replication protection cluster.
+ [NUnit.Framework.Test]
+ [NUnit.Framework.Ignore("Only verifying that the sample builds")]
+ public async Task Delete_PurgeTheReplicationProtectionCluster()
+ {
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionClusters_Purge.json
+ // this example is just showing the usage of "ReplicationProtectionClusters_Purge" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource created on azure
+ // for more information of creating VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource, please refer to the document of VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource
+ string subscriptionId = "c183865e-6077-46f2-a3b1-deb0f4f4650a";
+ string resourceGroupName = "resourceGroupPS1";
+ string resourceName = "vault1";
+ string fabricName = "eastus";
+ string protectionContainerName = "eastus-container";
+ string replicationProtectionClusterName = "cluster1";
+ ResourceIdentifier vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId = VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, resourceName, fabricName, protectionContainerName, replicationProtectionClusterName);
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster = client.GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource(vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId);
+
+ // invoke the operation
+ await vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster.DeleteAsync(WaitUntil.Completed);
+
+ Console.WriteLine($"Succeeded");
+ }
+
+ // Execute the change recovery point operation for cluster.
+ [NUnit.Framework.Test]
+ [NUnit.Framework.Ignore("Only verifying that the sample builds")]
+ public async Task ApplyRecoveryPoint_ExecuteTheChangeRecoveryPointOperationForCluster()
+ {
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionClusters_ApplyRecoveryPoint.json
+ // this example is just showing the usage of "ReplicationProtectionClusters_ApplyRecoveryPoint" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource created on azure
+ // for more information of creating VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource, please refer to the document of VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource
+ string subscriptionId = "7c943c1b-5122-4097-90c8-861411bdd574";
+ string resourceGroupName = "resourceGroupPS1";
+ string resourceName = "vault1";
+ string fabricName = "fabric-pri-eastus";
+ string protectionContainerName = "pri-cloud-eastus";
+ string replicationProtectionClusterName = "testcluster";
+ ResourceIdentifier vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId = VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, resourceName, fabricName, protectionContainerName, replicationProtectionClusterName);
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster = client.GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource(vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId);
+
+ // invoke the operation
+ ApplyClusterRecoveryPointContent content = new ApplyClusterRecoveryPointContent(new ApplyClusterRecoveryPointContentProperties(new A2AApplyClusterRecoveryPointContent())
+ {
+ ClusterRecoveryPointId = new ResourceIdentifier("/Subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/shashankvaultpvt/replicationFabrics/fabric-pri-eastus/replicationProtectionContainers/pri-cloud-eastus/replicationProtectionClusters/testcluster/recoveryPoints/cc48b7f3-b267-432b-ad76-45528974dc62"),
+ IndividualNodeRecoveryPoints =
+{
+new ResourceIdentifier("/Subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/shashankvaultpvt/replicationFabrics/fabric-pri-eastus/replicationProtectionContainers/pri-cloud-eastus/replicationProtectedItems/testVM/recoveryPoints/b5c2051b-79e3-41ad-9d25-244f6ef8ce7d")
+},
+ });
+ ArmOperation lro = await vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster.ApplyRecoveryPointAsync(WaitUntil.Completed, content);
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource result = lro.Value;
+
+ // the variable result is a resource, you could call other operations on this instance as well
+ // but just for demo, we get its data from this resource instance
+ ReplicationProtectionClusterData resourceData = result.Data;
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {resourceData.Id}");
+ }
+
+ // Execute commit failover for cluster.
+ [NUnit.Framework.Test]
+ [NUnit.Framework.Ignore("Only verifying that the sample builds")]
+ public async Task FailoverCommit_ExecuteCommitFailoverForCluster()
+ {
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionClusters_FailoverCommit.json
+ // this example is just showing the usage of "ReplicationProtectionClusters_FailoverCommit" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource created on azure
+ // for more information of creating VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource, please refer to the document of VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource
+ string subscriptionId = "7c943c1b-5122-4097-90c8-861411bdd574";
+ string resourceGroupName = "resourceGroupPS1";
+ string resourceName = "vault1";
+ string fabricName = "fabric-pri-eastus";
+ string protectionContainerName = "pri-cloud-eastus";
+ string replicationProtectionClusterName = "testcluster";
+ ResourceIdentifier vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId = VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, resourceName, fabricName, protectionContainerName, replicationProtectionClusterName);
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster = client.GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource(vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId);
+
+ // invoke the operation
+ ArmOperation lro = await vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster.FailoverCommitAsync(WaitUntil.Completed);
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource result = lro.Value;
+
+ // the variable result is a resource, you could call other operations on this instance as well
+ // but just for demo, we get its data from this resource instance
+ ReplicationProtectionClusterData resourceData = result.Data;
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {resourceData.Id}");
+ }
+
+ // Resynchronize or repair replication of protection cluster.
+ [NUnit.Framework.Test]
+ [NUnit.Framework.Ignore("Only verifying that the sample builds")]
+ public async Task RepairReplication_ResynchronizeOrRepairReplicationOfProtectionCluster()
+ {
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionClusters_RepairReplication.json
+ // this example is just showing the usage of "ReplicationProtectionClusters_RepairReplication" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource created on azure
+ // for more information of creating VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource, please refer to the document of VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource
+ string subscriptionId = "c183865e-6077-46f2-a3b1-deb0f4f4650a";
+ string resourceGroupName = "resourceGroupPS1";
+ string resourceName = "vault1";
+ string fabricName = "eastus";
+ string protectionContainerName = "eastus-container";
+ string replicationProtectionClusterName = "cluster12";
+ ResourceIdentifier vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId = VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, resourceName, fabricName, protectionContainerName, replicationProtectionClusterName);
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster = client.GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource(vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId);
+
+ // invoke the operation
+ ArmOperation lro = await vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster.RepairReplicationAsync(WaitUntil.Completed);
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource result = lro.Value;
+
+ // the variable result is a resource, you could call other operations on this instance as well
+ // but just for demo, we get its data from this resource instance
+ ReplicationProtectionClusterData resourceData = result.Data;
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {resourceData.Id}");
+ }
+
+ // Execute test failover for cluster.
+ [NUnit.Framework.Test]
+ [NUnit.Framework.Ignore("Only verifying that the sample builds")]
+ public async Task TestFailover_ExecuteTestFailoverForCluster()
+ {
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionClusters_TestFailover.json
+ // this example is just showing the usage of "ReplicationProtectionClusters_TestFailover" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource created on azure
+ // for more information of creating VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource, please refer to the document of VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource
+ string subscriptionId = "7c943c1b-5122-4097-90c8-861411bdd574";
+ string resourceGroupName = "resourceGroupPS1";
+ string resourceName = "vault1";
+ string fabricName = "fabric-pri-eastus";
+ string protectionContainerName = "pri-cloud-eastus";
+ string replicationProtectionClusterName = "testcluster";
+ ResourceIdentifier vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId = VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, resourceName, fabricName, protectionContainerName, replicationProtectionClusterName);
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster = client.GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource(vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId);
+
+ // invoke the operation
+ ClusterTestFailoverContent content = new ClusterTestFailoverContent(new ClusterTestFailoverContentProperties()
+ {
+ FailoverDirection = FailoverDirection.PrimaryToRecovery,
+ NetworkType = "VmNetworkAsInput",
+ NetworkId = new ResourceIdentifier("/subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourceGroups/ClusterTestRG-19-01-asr/providers/Microsoft.Network/virtualNetworks/adVNET-asr"),
+ ProviderSpecificDetails = new A2AClusterTestFailoverContent()
+ {
+ ClusterRecoveryPointId = new ResourceIdentifier("/Subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/fabric-pri-eastus/replicationProtectionContainers/pri-cloud-eastus/replicationProtectionClusters/testcluster/recoveryPoints/cc48b7f3-b267-432b-ad76-45528974dc62"),
+ IndividualNodeRecoveryPoints =
+{
+"/Subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/fabric-pri-eastus/replicationProtectionContainers/pri-cloud-eastus/replicationProtectedItems/testVM/recoveryPoints/b5c2051b-79e3-41ad-9d25-244f6ef8ce7d"
+},
+ },
+ });
+ ArmOperation lro = await vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster.TestFailoverAsync(WaitUntil.Completed, content);
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource result = lro.Value;
+
+ // the variable result is a resource, you could call other operations on this instance as well
+ // but just for demo, we get its data from this resource instance
+ ReplicationProtectionClusterData resourceData = result.Data;
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {resourceData.Id}");
+ }
+
+ // Execute test failover cleanup for cluster.
+ [NUnit.Framework.Test]
+ [NUnit.Framework.Ignore("Only verifying that the sample builds")]
+ public async Task TestFailoverCleanup_ExecuteTestFailoverCleanupForCluster()
+ {
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionClusters_TestFailoverCleanup.json
+ // this example is just showing the usage of "ReplicationProtectionClusters_TestFailoverCleanup" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource created on azure
+ // for more information of creating VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource, please refer to the document of VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource
+ string subscriptionId = "7c943c1b-5122-4097-90c8-861411bdd574";
+ string resourceGroupName = "resourceGroupPS1";
+ string resourceName = "vault1";
+ string fabricName = "fabric-pri-eastus";
+ string protectionContainerName = "pri-cloud-eastus";
+ string replicationProtectionClusterName = "testcluster";
+ ResourceIdentifier vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId = VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, resourceName, fabricName, protectionContainerName, replicationProtectionClusterName);
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster = client.GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource(vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId);
+
+ // invoke the operation
+ ClusterTestFailoverCleanupContent content = new ClusterTestFailoverCleanupContent(new ClusterTestFailoverCleanupContentProperties()
+ {
+ Comments = "Test Failover Cleanup",
+ });
+ ArmOperation lro = await vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster.TestFailoverCleanupAsync(WaitUntil.Completed, content);
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource result = lro.Value;
+
+ // the variable result is a resource, you could call other operations on this instance as well
+ // but just for demo, we get its data from this resource instance
+ ReplicationProtectionClusterData resourceData = result.Data;
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {resourceData.Id}");
+ }
+
+ // Execute unplanned cluster failover.
+ [NUnit.Framework.Test]
+ [NUnit.Framework.Ignore("Only verifying that the sample builds")]
+ public async Task UnplannedFailover_ExecuteUnplannedClusterFailover()
+ {
+ // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-10-01/examples/ReplicationProtectionClusters_UnplannedFailover.json
+ // this example is just showing the usage of "ReplicationProtectionClusters_UnplannedFailover" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource created on azure
+ // for more information of creating VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource, please refer to the document of VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource
+ string subscriptionId = "7c943c1b-5122-4097-90c8-861411bdd574";
+ string resourceGroupName = "resourceGroupPS1";
+ string resourceName = "vault1";
+ string fabricName = "fabric-pri-eastus";
+ string protectionContainerName = "pri-cloud-eastus";
+ string replicationProtectionClusterName = "testcluster";
+ ResourceIdentifier vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId = VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, resourceName, fabricName, protectionContainerName, replicationProtectionClusterName);
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster = client.GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource(vaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResourceId);
+
+ // invoke the operation
+ ClusterUnplannedFailoverContent content = new ClusterUnplannedFailoverContent(new ClusterUnplannedFailoverContentProperties()
+ {
+ FailoverDirection = "primarytorecovery",
+ SourceSiteOperations = "NotRequired",
+ ProviderSpecificDetails = new A2AClusterUnplannedFailoverContent()
+ {
+ ClusterRecoveryPointId = new ResourceIdentifier("/Subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/fabric-pri-eastus/replicationProtectionContainers/pri-cloud-eastus/replicationProtectionClusters/testcluster/recoveryPoints/cc48b7f3-b267-432b-ad76-45528974dc62"),
+ IndividualNodeRecoveryPoints =
+{
+"/Subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/fabric-pri-eastus/replicationProtectionContainers/pri-cloud-eastus/replicationProtectedItems/testVM/recoveryPoints/b5c2051b-79e3-41ad-9d25-244f6ef8ce7d"
+},
+ },
+ });
+ ArmOperation lro = await vaultReplicationFabricReplicationProtectionContainerReplicationProtectionCluster.UnplannedFailoverAsync(WaitUntil.Completed, content);
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource result = lro.Value;
+
+ // the variable result is a resource, you could call other operations on this instance as well
+ // but just for demo, we get its data from this resource instance
+ ReplicationProtectionClusterData resourceData = result.Data;
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {resourceData.Id}");
+ }
+ }
+}
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ArmRecoveryServicesSiteRecoveryModelFactory.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ArmRecoveryServicesSiteRecoveryModelFactory.cs
index 73fead392dbc..133e139c7eeb 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ArmRecoveryServicesSiteRecoveryModelFactory.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ArmRecoveryServicesSiteRecoveryModelFactory.cs
@@ -165,82 +165,6 @@ public static SiteRecoveryEventProperties SiteRecoveryEventProperties(string eve
serializedAdditionalRawData: null);
}
- /// Initializes a new instance of .
- /// The inner health errors. HealthError having a list of HealthError as child errors is problematic. InnerHealthError is used because this will prevent an infinite loop of structures when Hydra tries to auto-generate the contract. We are exposing the related health errors as inner health errors and all API consumers can utilize this in the same fashion as Exception -> InnerException.
- /// Source of error.
- /// Type of error.
- /// Level of error.
- /// Category of error.
- /// Error code.
- /// Summary message of the entity.
- /// Error message.
- /// Possible causes of error.
- /// Recommended action to resolve error.
- /// Error creation time (UTC).
- /// DRA error message.
- /// ID of the entity.
- /// The health error unique id.
- /// Value indicating whether the health error is customer resolvable.
- /// A new instance for mocking.
- public static SiteRecoveryHealthError SiteRecoveryHealthError(IEnumerable innerHealthErrors = null, string errorSource = null, string errorType = null, string errorLevel = null, string errorCategory = null, string errorCode = null, string summaryMessage = null, string errorMessage = null, string possibleCauses = null, string recommendedAction = null, DateTimeOffset? creationTimeUtc = null, string recoveryProviderErrorMessage = null, string entityId = null, string errorId = null, HealthErrorCustomerResolvability? customerResolvability = null)
- {
- innerHealthErrors ??= new List();
-
- return new SiteRecoveryHealthError(
- innerHealthErrors?.ToList(),
- errorSource,
- errorType,
- errorLevel,
- errorCategory,
- errorCode,
- summaryMessage,
- errorMessage,
- possibleCauses,
- recommendedAction,
- creationTimeUtc,
- recoveryProviderErrorMessage,
- entityId,
- errorId,
- customerResolvability,
- serializedAdditionalRawData: null);
- }
-
- /// Initializes a new instance of .
- /// Source of error.
- /// Type of error.
- /// Level of error.
- /// Category of error.
- /// Error code.
- /// Summary message of the entity.
- /// Error message.
- /// Possible causes of error.
- /// Recommended action to resolve error.
- /// Error creation time (UTC).
- /// DRA error message.
- /// ID of the entity.
- /// The health error unique id.
- /// Value indicating whether the health error is customer resolvable.
- /// A new instance for mocking.
- public static SiteRecoveryInnerHealthError SiteRecoveryInnerHealthError(string errorSource = null, string errorType = null, string errorLevel = null, string errorCategory = null, string errorCode = null, string summaryMessage = null, string errorMessage = null, string possibleCauses = null, string recommendedAction = null, DateTimeOffset? createdOn = null, string recoveryProviderErrorMessage = null, string entityId = null, string errorId = null, HealthErrorCustomerResolvability? customerResolvability = null)
- {
- return new SiteRecoveryInnerHealthError(
- errorSource,
- errorType,
- errorLevel,
- errorCategory,
- errorCode,
- summaryMessage,
- errorMessage,
- possibleCauses,
- recommendedAction,
- createdOn,
- recoveryProviderErrorMessage,
- entityId,
- errorId,
- customerResolvability,
- serializedAdditionalRawData: null);
- }
-
/// Initializes a new instance of .
/// The id.
/// The name.
@@ -753,16 +677,6 @@ public static ReplicationProtectedItemProperties ReplicationProtectedItemPropert
serializedAdditionalRawData: null);
}
- /// Initializes a new instance of .
- /// Scenario name.
- /// ARM Id of the job being executed.
- /// Start time of the workflow.
- /// A new instance for mocking.
- public static CurrentScenarioDetails CurrentScenarioDetails(string scenarioName = null, ResourceIdentifier jobId = null, DateTimeOffset? startOn = null)
- {
- return new CurrentScenarioDetails(scenarioName, jobId, startOn, serializedAdditionalRawData: null);
- }
-
/// Initializes a new instance of .
/// The recovery point Id.
///
@@ -868,6 +782,152 @@ public static SiteRecoveryComputeSizeErrorDetails SiteRecoveryComputeSizeErrorDe
return new SiteRecoveryComputeSizeErrorDetails(message, severity, serializedAdditionalRawData: null);
}
+ /// Initializes a new instance of .
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// The custom data.
+ /// A new instance for mocking.
+ public static ReplicationProtectionClusterData ReplicationProtectionClusterData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, ReplicationProtectionClusterProperties properties = null)
+ {
+ return new ReplicationProtectionClusterData(
+ id,
+ name,
+ resourceType,
+ systemData,
+ properties,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The type of protection cluster type.
+ /// The friendly name of the primary fabric.
+ /// The fabric provider of the primary fabric.
+ /// The friendly name of recovery fabric.
+ /// The Arm Id of recovery fabric.
+ /// The name of primary protection container friendly name.
+ /// The name of recovery container friendly name.
+ /// The protection status.
+ /// The protection state description.
+ /// The Current active location of the Protection cluster.
+ /// The Test failover state.
+ /// The Test failover state description.
+ /// The allowed operations on the Replication protection cluster.
+ /// The consolidated protection health for the VM taking any issues with SRS as well as all the replication units associated with the VM's replication group into account. This is a string representation of the ProtectionHealth enumeration.
+ /// List of health errors.
+ /// The last successful failover time.
+ /// The last successful test failover time.
+ /// The name of Policy governing this PE.
+ /// The current scenario.
+ /// The recovery container Id.
+ /// The Agent cluster Id.
+ /// The cluster FQDN.
+ /// The List of cluster Node FQDNs.
+ /// The List of Protected Item Id's.
+ /// The provisioning state of the cluster.
+ /// A value indicating whether all nodes of the cluster are registered or not.
+ /// The registered node details.
+ ///
+ /// The Replication cluster provider custom settings.
+ /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes.
+ /// The available derived classes include .
+ ///
+ /// The shared disk properties.
+ /// The Policy Id.
+ /// A new instance for mocking.
+ public static ReplicationProtectionClusterProperties ReplicationProtectionClusterProperties(string protectionClusterType = null, string primaryFabricFriendlyName = null, string primaryFabricProvider = null, string recoveryFabricFriendlyName = null, ResourceIdentifier recoveryFabricId = null, string primaryProtectionContainerFriendlyName = null, string recoveryProtectionContainerFriendlyName = null, string protectionState = null, string protectionStateDescription = null, string activeLocation = null, string testFailoverState = null, string testFailoverStateDescription = null, IEnumerable allowedOperations = null, string replicationHealth = null, IEnumerable healthErrors = null, DateTimeOffset? lastSuccessfulFailoverOn = null, DateTimeOffset? lastSuccessfulTestFailoverOn = null, string policyFriendlyName = null, CurrentScenarioDetails currentScenario = null, ResourceIdentifier recoveryContainerId = null, string agentClusterId = null, string clusterFqdn = null, IEnumerable clusterNodeFqdns = null, IEnumerable clusterProtectedItemIds = null, string provisioningState = null, bool? areAllClusterNodesRegistered = null, IEnumerable clusterRegisteredNodes = null, ReplicationClusterProviderSpecificSettings providerSpecificDetails = null, SharedDiskReplicationItemProperties sharedDiskProperties = null, ResourceIdentifier policyId = null)
+ {
+ allowedOperations ??= new List();
+ healthErrors ??= new List();
+ clusterNodeFqdns ??= new List();
+ clusterProtectedItemIds ??= new List();
+ clusterRegisteredNodes ??= new List();
+
+ return new ReplicationProtectionClusterProperties(
+ protectionClusterType,
+ primaryFabricFriendlyName,
+ primaryFabricProvider,
+ recoveryFabricFriendlyName,
+ recoveryFabricId,
+ primaryProtectionContainerFriendlyName,
+ recoveryProtectionContainerFriendlyName,
+ protectionState,
+ protectionStateDescription,
+ activeLocation,
+ testFailoverState,
+ testFailoverStateDescription,
+ allowedOperations?.ToList(),
+ replicationHealth,
+ healthErrors?.ToList(),
+ lastSuccessfulFailoverOn,
+ lastSuccessfulTestFailoverOn,
+ policyFriendlyName,
+ currentScenario,
+ recoveryContainerId,
+ agentClusterId,
+ clusterFqdn,
+ clusterNodeFqdns?.ToList(),
+ clusterProtectedItemIds?.ToList(),
+ provisioningState,
+ areAllClusterNodesRegistered,
+ clusterRegisteredNodes?.ToList(),
+ providerSpecificDetails,
+ sharedDiskProperties,
+ policyId,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The cluster recovery point id to be passed to failover to a particular recovery point.
+ /// The list of individual node recovery points.
+ ///
+ /// The provider specific input for applying cluster recovery point.
+ /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes.
+ /// The available derived classes include .
+ ///
+ /// A new instance for mocking.
+ public static ApplyClusterRecoveryPointContentProperties ApplyClusterRecoveryPointContentProperties(ResourceIdentifier clusterRecoveryPointId = null, IEnumerable individualNodeRecoveryPoints = null, ApplyClusterRecoveryPointProviderSpecificContent providerSpecificDetails = null)
+ {
+ individualNodeRecoveryPoints ??= new List();
+
+ return new ApplyClusterRecoveryPointContentProperties(clusterRecoveryPointId, individualNodeRecoveryPoints?.ToList(), providerSpecificDetails, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// The resource type.
+ /// The recovery point properties.
+ /// A new instance for mocking.
+ public static ClusterRecoveryPointData ClusterRecoveryPointData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, string clusterRecoveryPointType = null, ClusterRecoveryPointProperties properties = null)
+ {
+ return new ClusterRecoveryPointData(
+ id,
+ name,
+ resourceType,
+ systemData,
+ clusterRecoveryPointType,
+ properties,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The recovery point time.
+ /// The recovery point type.
+ ///
+ /// The provider specific details for the recovery point.
+ /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes.
+ /// The available derived classes include .
+ ///
+ /// A new instance for mocking.
+ public static ClusterRecoveryPointProperties ClusterRecoveryPointProperties(DateTimeOffset? recoveryPointOn = null, ClusterRecoveryPointType? recoveryPointType = null, ClusterProviderSpecificRecoveryPointDetails providerSpecificDetails = null)
+ {
+ return new ClusterRecoveryPointProperties(recoveryPointOn, recoveryPointType, providerSpecificDetails, serializedAdditionalRawData: null);
+ }
+
/// Initializes a new instance of .
/// The id.
/// The name.
@@ -1172,7 +1232,7 @@ public static SiteRecoveryJobData SiteRecoveryJobData(ResourceIdentifier id = nu
///
/// The custom job details like test failover job details.
/// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes.
- /// The available derived classes include , , , and .
+ /// The available derived classes include , , , , , , and .
///
/// A new instance for mocking.
public static SiteRecoveryJobProperties SiteRecoveryJobProperties(string activityId = null, string scenarioName = null, string friendlyName = null, string state = null, string stateDescription = null, IEnumerable tasks = null, IEnumerable errors = null, DateTimeOffset? startOn = null, DateTimeOffset? endOn = null, IEnumerable allowedActions = null, string targetObjectId = null, string targetObjectName = null, string targetInstanceType = null, SiteRecoveryJobDetails customDetails = null)
@@ -1712,6 +1772,17 @@ public static A2AVmManagedDiskDetails A2AVmManagedDiskDetails(string diskId = nu
serializedAdditionalRawData: null);
}
+ /// Initializes a new instance of .
+ /// A value indicating whether the recovery point is multi VM consistent.
+ /// The list of nodes representing the cluster.
+ /// A new instance for mocking.
+ public static A2AClusterRecoveryPointDetails A2AClusterRecoveryPointDetails(RecoveryPointSyncType? recoveryPointSyncType = null, IEnumerable nodes = null)
+ {
+ nodes ??= new List();
+
+ return new A2AClusterRecoveryPointDetails("A2A", serializedAdditionalRawData: null, recoveryPointSyncType, nodes?.ToList());
+ }
+
/// Initializes a new instance of .
/// The fabric specific object Id of the virtual machine.
/// The primary location for the virtual machine.
@@ -1824,6 +1895,7 @@ public static A2ACrossClusterMigrationReplicationDetails A2ACrossClusterMigratio
/// The list of vm managed disk details.
/// The multi vm group name.
/// The multi vm group id.
+ /// The replication protection cluster Id.
/// The boot diagnostic storage account.
/// The recovery disk encryption information (for two pass flows).
/// The recovery availability zone.
@@ -1834,7 +1906,7 @@ public static A2ACrossClusterMigrationReplicationDetails A2ACrossClusterMigratio
/// The recovery capacity reservation group Id.
/// A value indicating whether the auto protection is enabled.
/// A new instance for mocking.
- public static A2AEnableProtectionContent A2AEnableProtectionContent(ResourceIdentifier fabricObjectId = null, ResourceIdentifier recoveryContainerId = null, ResourceIdentifier recoveryResourceGroupId = null, string recoveryCloudServiceId = null, ResourceIdentifier recoveryAvailabilitySetId = null, ResourceIdentifier recoveryProximityPlacementGroupId = null, IEnumerable vmDisks = null, IEnumerable vmManagedDisks = null, string multiVmGroupName = null, string multiVmGroupId = null, ResourceIdentifier recoveryBootDiagStorageAccountId = null, SiteRecoveryDiskEncryptionInfo diskEncryptionInfo = null, string recoveryAvailabilityZone = null, SiteRecoveryExtendedLocation recoveryExtendedLocation = null, ResourceIdentifier recoveryAzureNetworkId = null, string recoverySubnetName = null, ResourceIdentifier recoveryVirtualMachineScaleSetId = null, ResourceIdentifier recoveryCapacityReservationGroupId = null, AutoProtectionOfDataDisk? autoProtectionOfDataDisk = null)
+ public static A2AEnableProtectionContent A2AEnableProtectionContent(ResourceIdentifier fabricObjectId = null, ResourceIdentifier recoveryContainerId = null, ResourceIdentifier recoveryResourceGroupId = null, string recoveryCloudServiceId = null, ResourceIdentifier recoveryAvailabilitySetId = null, ResourceIdentifier recoveryProximityPlacementGroupId = null, IEnumerable vmDisks = null, IEnumerable vmManagedDisks = null, string multiVmGroupName = null, string multiVmGroupId = null, ResourceIdentifier protectionClusterId = null, ResourceIdentifier recoveryBootDiagStorageAccountId = null, SiteRecoveryDiskEncryptionInfo diskEncryptionInfo = null, string recoveryAvailabilityZone = null, SiteRecoveryExtendedLocation recoveryExtendedLocation = null, ResourceIdentifier recoveryAzureNetworkId = null, string recoverySubnetName = null, ResourceIdentifier recoveryVirtualMachineScaleSetId = null, ResourceIdentifier recoveryCapacityReservationGroupId = null, AutoProtectionOfDataDisk? autoProtectionOfDataDisk = null)
{
vmDisks ??= new List();
vmManagedDisks ??= new List();
@@ -1852,6 +1924,7 @@ public static A2AEnableProtectionContent A2AEnableProtectionContent(ResourceIden
vmManagedDisks?.ToList(),
multiVmGroupName,
multiVmGroupId,
+ protectionClusterId,
recoveryBootDiagStorageAccountId,
diskEncryptionInfo,
recoveryAvailabilityZone,
@@ -2017,72 +2090,6 @@ public static A2AProtectedDiskDetails A2AProtectedDiskDetails(Uri diskUri = null
serializedAdditionalRawData: null);
}
- /// Initializes a new instance of .
- /// The managed disk Arm id.
- /// The recovery disk resource group Arm Id.
- /// Recovery target disk Arm Id.
- /// Recovery replica disk Arm Id.
- /// Recovery original target disk Arm Id.
- /// The replica disk type. Its an optional value and will be same as source disk type if not user provided.
- /// The target disk type after failover. Its an optional value and will be same as source disk type if not user provided.
- /// The recovery disk encryption set Id.
- /// The primary disk encryption set Id.
- /// The disk name.
- /// The disk capacity in bytes.
- /// The primary staging storage account.
- /// The type of disk.
- /// A value indicating whether resync is required for this disk.
- /// The percentage of the monitoring job. The type of the monitoring job is defined by MonitoringJobType property.
- /// The type of the monitoring job. The progress is contained in MonitoringPercentageCompletion property.
- /// The data pending for replication in MB at staging account.
- /// The data pending at source virtual machine in MB.
- /// The disk state.
- /// The disk level operations list.
- /// A value indicating whether vm has encrypted os disk or not.
- /// The secret URL / identifier (BEK).
- /// The KeyVault resource id for secret (BEK).
- /// A value indicating whether disk key got encrypted or not.
- /// The key URL / identifier (KEK).
- /// The KeyVault resource id for key (KEK).
- /// The failover name for the managed disk.
- /// The test failover name for the managed disk.
- /// A new instance for mocking.
- public static A2AProtectedManagedDiskDetails A2AProtectedManagedDiskDetails(string diskId = null, ResourceIdentifier recoveryResourceGroupId = null, ResourceIdentifier recoveryTargetDiskId = null, ResourceIdentifier recoveryReplicaDiskId = null, ResourceIdentifier recoveryOrignalTargetDiskId = null, string recoveryReplicaDiskAccountType = null, string recoveryTargetDiskAccountType = null, ResourceIdentifier recoveryDiskEncryptionSetId = null, ResourceIdentifier primaryDiskEncryptionSetId = null, string diskName = null, long? diskCapacityInBytes = null, ResourceIdentifier primaryStagingAzureStorageAccountId = null, string diskType = null, bool? isResyncRequired = null, int? monitoringPercentageCompletion = null, string monitoringJobType = null, double? dataPendingInStagingStorageAccountInMB = null, double? dataPendingAtSourceAgentInMB = null, string diskState = null, IEnumerable allowedDiskLevelOperation = null, bool? isDiskEncrypted = null, string secretIdentifier = null, ResourceIdentifier dekKeyVaultArmId = null, bool? isDiskKeyEncrypted = null, string keyIdentifier = null, ResourceIdentifier kekKeyVaultArmId = null, string failoverDiskName = null, string tfoDiskName = null)
- {
- allowedDiskLevelOperation ??= new List();
-
- return new A2AProtectedManagedDiskDetails(
- diskId,
- recoveryResourceGroupId,
- recoveryTargetDiskId,
- recoveryReplicaDiskId,
- recoveryOrignalTargetDiskId,
- recoveryReplicaDiskAccountType,
- recoveryTargetDiskAccountType,
- recoveryDiskEncryptionSetId,
- primaryDiskEncryptionSetId,
- diskName,
- diskCapacityInBytes,
- primaryStagingAzureStorageAccountId,
- diskType,
- isResyncRequired,
- monitoringPercentageCompletion,
- monitoringJobType,
- dataPendingInStagingStorageAccountInMB,
- dataPendingAtSourceAgentInMB,
- diskState,
- allowedDiskLevelOperation?.ToList(),
- isDiskEncrypted,
- secretIdentifier,
- dekKeyVaultArmId,
- isDiskKeyEncrypted,
- keyIdentifier,
- kekKeyVaultArmId,
- failoverDiskName,
- tfoDiskName,
- serializedAdditionalRawData: null);
- }
-
/// Initializes a new instance of .
/// A value indicating whether the auto update is enabled.
/// The automation account arm id.
@@ -2125,6 +2132,8 @@ public static A2ARecoveryPointDetails A2ARecoveryPointDetails(RecoveryPointSyncT
/// The multi vm group name.
/// Whether Multi VM group is auto created or specified by user.
/// The management Id.
+ /// The replication protection cluster Id.
+ /// A value indicating if the cluster infra is ready or not.
/// The list of protected disks.
/// The list of unprotected disks.
/// The list of protected managed disks.
@@ -2169,7 +2178,7 @@ public static A2ARecoveryPointDetails A2ARecoveryPointDetails(RecoveryPointSyncT
/// The recovery capacity reservation group Id.
/// A value indicating the churn option selected by user.
/// A new instance for mocking.
- public static A2AReplicationDetails A2AReplicationDetails(ResourceIdentifier fabricObjectId = null, string initialPrimaryZone = null, AzureLocation? initialPrimaryFabricLocation = null, string initialRecoveryZone = null, SiteRecoveryExtendedLocation initialPrimaryExtendedLocation = null, SiteRecoveryExtendedLocation initialRecoveryExtendedLocation = null, AzureLocation? initialRecoveryFabricLocation = null, string multiVmGroupId = null, string multiVmGroupName = null, MultiVmGroupCreateOption? multiVmGroupCreateOption = null, string managementId = null, IEnumerable protectedDisks = null, IEnumerable unprotectedDisks = null, IEnumerable protectedManagedDisks = null, ResourceIdentifier recoveryBootDiagStorageAccountId = null, AzureLocation? primaryFabricLocation = null, AzureLocation? recoveryFabricLocation = null, string osType = null, string recoveryAzureVmSize = null, string recoveryAzureVmName = null, ResourceIdentifier recoveryAzureResourceGroupId = null, string recoveryCloudService = null, string recoveryAvailabilitySet = null, ResourceIdentifier selectedRecoveryAzureNetworkId = null, ResourceIdentifier selectedTfoAzureNetworkId = null, IEnumerable vmNics = null, A2AVmSyncedConfigDetails vmSyncedConfigDetails = null, int? monitoringPercentageCompletion = null, string monitoringJobType = null, DateTimeOffset? lastHeartbeat = null, string agentVersion = null, DateTimeOffset? agentExpireOn = null, bool? isReplicationAgentUpdateRequired = null, DateTimeOffset? agentCertificateExpireOn = null, bool? isReplicationAgentCertificateUpdateRequired = null, ResourceIdentifier recoveryFabricObjectId = null, string vmProtectionState = null, string vmProtectionStateDescription = null, string lifecycleId = null, ResourceIdentifier testFailoverRecoveryFabricObjectId = null, long? rpoInSeconds = null, DateTimeOffset? lastRpoCalculatedOn = null, string primaryAvailabilityZone = null, string recoveryAvailabilityZone = null, SiteRecoveryExtendedLocation primaryExtendedLocation = null, SiteRecoveryExtendedLocation recoveryExtendedLocation = null, SiteRecoveryVmEncryptionType? vmEncryptionType = null, string tfoAzureVmName = null, string recoveryAzureGeneration = null, ResourceIdentifier recoveryProximityPlacementGroupId = null, AutoProtectionOfDataDisk? autoProtectionOfDataDisk = null, ResourceIdentifier recoveryVirtualMachineScaleSetId = null, ResourceIdentifier recoveryCapacityReservationGroupId = null, ChurnOptionSelected? churnOptionSelected = null)
+ public static A2AReplicationDetails A2AReplicationDetails(ResourceIdentifier fabricObjectId = null, string initialPrimaryZone = null, AzureLocation? initialPrimaryFabricLocation = null, string initialRecoveryZone = null, SiteRecoveryExtendedLocation initialPrimaryExtendedLocation = null, SiteRecoveryExtendedLocation initialRecoveryExtendedLocation = null, AzureLocation? initialRecoveryFabricLocation = null, string multiVmGroupId = null, string multiVmGroupName = null, MultiVmGroupCreateOption? multiVmGroupCreateOption = null, string managementId = null, string protectionClusterId = null, bool? isClusterInfraReady = null, IEnumerable protectedDisks = null, IEnumerable unprotectedDisks = null, IEnumerable protectedManagedDisks = null, ResourceIdentifier recoveryBootDiagStorageAccountId = null, AzureLocation? primaryFabricLocation = null, AzureLocation? recoveryFabricLocation = null, string osType = null, string recoveryAzureVmSize = null, string recoveryAzureVmName = null, ResourceIdentifier recoveryAzureResourceGroupId = null, string recoveryCloudService = null, string recoveryAvailabilitySet = null, ResourceIdentifier selectedRecoveryAzureNetworkId = null, ResourceIdentifier selectedTfoAzureNetworkId = null, IEnumerable vmNics = null, A2AVmSyncedConfigDetails vmSyncedConfigDetails = null, int? monitoringPercentageCompletion = null, string monitoringJobType = null, DateTimeOffset? lastHeartbeat = null, string agentVersion = null, DateTimeOffset? agentExpireOn = null, bool? isReplicationAgentUpdateRequired = null, DateTimeOffset? agentCertificateExpireOn = null, bool? isReplicationAgentCertificateUpdateRequired = null, ResourceIdentifier recoveryFabricObjectId = null, string vmProtectionState = null, string vmProtectionStateDescription = null, string lifecycleId = null, ResourceIdentifier testFailoverRecoveryFabricObjectId = null, long? rpoInSeconds = null, DateTimeOffset? lastRpoCalculatedOn = null, string primaryAvailabilityZone = null, string recoveryAvailabilityZone = null, SiteRecoveryExtendedLocation primaryExtendedLocation = null, SiteRecoveryExtendedLocation recoveryExtendedLocation = null, SiteRecoveryVmEncryptionType? vmEncryptionType = null, string tfoAzureVmName = null, string recoveryAzureGeneration = null, ResourceIdentifier recoveryProximityPlacementGroupId = null, AutoProtectionOfDataDisk? autoProtectionOfDataDisk = null, ResourceIdentifier recoveryVirtualMachineScaleSetId = null, ResourceIdentifier recoveryCapacityReservationGroupId = null, ChurnOptionSelected? churnOptionSelected = null)
{
protectedDisks ??= new List();
unprotectedDisks ??= new List();
@@ -2190,6 +2199,8 @@ public static A2AReplicationDetails A2AReplicationDetails(ResourceIdentifier fab
multiVmGroupName,
multiVmGroupCreateOption,
managementId,
+ protectionClusterId,
+ isClusterInfraReady,
protectedDisks?.ToList(),
unprotectedDisks?.ToList(),
protectedManagedDisks?.ToList(),
@@ -2235,15 +2246,6 @@ public static A2AReplicationDetails A2AReplicationDetails(ResourceIdentifier fab
churnOptionSelected);
}
- /// Initializes a new instance of .
- /// The source lun Id for the data disk.
- /// A value indicating whether the disk auto protection is enabled.
- /// A new instance for mocking.
- public static A2AUnprotectedDiskDetails A2AUnprotectedDiskDetails(int? diskLunId = null, AutoProtectionOfDataDisk? diskAutoProtectionStatus = null)
- {
- return new A2AUnprotectedDiskDetails(diskLunId, diskAutoProtectionStatus, serializedAdditionalRawData: null);
- }
-
/// Initializes a new instance of .
/// The nic Id.
/// The replica nic Id.
@@ -2436,6 +2438,24 @@ public static A2AReplicationIntentDetails A2AReplicationIntentDetails(ResourceId
automationAccountAuthenticationType);
}
+ /// Initializes a new instance of .
+ /// The error code.
+ /// The error code enum.
+ /// The error message.
+ /// The possible causes.
+ /// The recommended action.
+ /// A new instance for mocking.
+ public static A2ASharedDiskIRErrorDetails A2ASharedDiskIRErrorDetails(string errorCode = null, string errorCodeEnum = null, string errorMessage = null, string possibleCauses = null, string recommendedAction = null)
+ {
+ return new A2ASharedDiskIRErrorDetails(
+ errorCode,
+ errorCodeEnum,
+ errorMessage,
+ possibleCauses,
+ recommendedAction,
+ serializedAdditionalRawData: null);
+ }
+
/// Initializes a new instance of .
/// Source zone info.
/// The target zone info.
@@ -2632,6 +2652,81 @@ public static SiteRecoveryVmDiskDetails SiteRecoveryVmDiskDetails(string vhdType
serializedAdditionalRawData: null);
}
+ /// Initializes a new instance of .
+ /// The affected object properties like source server, source cloud, target server, target cloud etc. based on the workflow object details.
+ /// The test VM details.
+ /// A new instance for mocking.
+ public static ClusterFailoverJobDetails ClusterFailoverJobDetails(IReadOnlyDictionary affectedObjectDetails = null, IEnumerable protectedItemDetails = null)
+ {
+ affectedObjectDetails ??= new Dictionary();
+ protectedItemDetails ??= new List();
+
+ return new ClusterFailoverJobDetails("ClusterFailoverJobDetails", affectedObjectDetails, serializedAdditionalRawData: null, protectedItemDetails?.ToList());
+ }
+
+ /// Initializes a new instance of .
+ /// The name.
+ /// The friendly name.
+ /// The test Vm name.
+ /// The test Vm friendly name.
+ /// The network connection status.
+ /// The network friendly name.
+ /// The network subnet.
+ /// The recovery point Id.
+ /// The recovery point time.
+ /// A new instance for mocking.
+ public static FailoverReplicationProtectedItemDetails FailoverReplicationProtectedItemDetails(string name = null, string friendlyName = null, string testVmName = null, string testVmFriendlyName = null, string networkConnectionStatus = null, string networkFriendlyName = null, string subnet = null, ResourceIdentifier recoveryPointId = null, DateTimeOffset? recoveryPointOn = null)
+ {
+ return new FailoverReplicationProtectedItemDetails(
+ name,
+ friendlyName,
+ testVmName,
+ testVmFriendlyName,
+ networkConnectionStatus,
+ networkFriendlyName,
+ subnet,
+ recoveryPointId,
+ recoveryPointOn,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The affected object properties like source server, source cloud, target server, target cloud etc. based on the workflow object details.
+ /// ARM Id of the new replication protection cluster.
+ /// A new instance for mocking.
+ public static ClusterSwitchProtectionJobDetails ClusterSwitchProtectionJobDetails(IReadOnlyDictionary affectedObjectDetails = null, string newReplicationProtectionClusterId = null)
+ {
+ affectedObjectDetails ??= new Dictionary();
+
+ return new ClusterSwitchProtectionJobDetails("ClusterSwitchProtectionJobDetails", affectedObjectDetails, serializedAdditionalRawData: null, newReplicationProtectionClusterId);
+ }
+
+ /// Initializes a new instance of .
+ /// The affected object properties like source server, source cloud, target server, target cloud etc. based on the workflow object details.
+ /// The test failover status.
+ /// The test failover comments.
+ /// The test network name.
+ /// The test network friendly name.
+ /// The test network type (see TestFailoverInput enum for possible values).
+ /// The test VM details.
+ /// A new instance for mocking.
+ public static ClusterTestFailoverJobDetails ClusterTestFailoverJobDetails(IReadOnlyDictionary affectedObjectDetails = null, string testFailoverStatus = null, string comments = null, string networkName = null, string networkFriendlyName = null, string networkType = null, IEnumerable protectedItemDetails = null)
+ {
+ affectedObjectDetails ??= new Dictionary();
+ protectedItemDetails ??= new List();
+
+ return new ClusterTestFailoverJobDetails(
+ "ClusterTestFailoverJobDetails",
+ affectedObjectDetails,
+ serializedAdditionalRawData: null,
+ testFailoverStatus,
+ comments,
+ networkName,
+ networkFriendlyName,
+ networkType,
+ protectedItemDetails?.ToList());
+ }
+
/// Initializes a new instance of .
/// The list of inconsistent Vm details.
/// A new instance for mocking.
@@ -2784,32 +2879,6 @@ public static FailoverJobDetails FailoverJobDetails(IReadOnlyDictionary Initializes a new instance of .
- /// The name.
- /// The friendly name.
- /// The test Vm name.
- /// The test Vm friendly name.
- /// The network connection status.
- /// The network friendly name.
- /// The network subnet.
- /// The recovery point Id.
- /// The recovery point time.
- /// A new instance for mocking.
- public static FailoverReplicationProtectedItemDetails FailoverReplicationProtectedItemDetails(string name = null, string friendlyName = null, string testVmName = null, string testVmFriendlyName = null, string networkConnectionStatus = null, string networkFriendlyName = null, string subnet = null, ResourceIdentifier recoveryPointId = null, DateTimeOffset? recoveryPointOn = null)
- {
- return new FailoverReplicationProtectedItemDetails(
- name,
- friendlyName,
- testVmName,
- testVmFriendlyName,
- networkConnectionStatus,
- networkFriendlyName,
- subnet,
- recoveryPointId,
- recoveryPointOn,
- serializedAdditionalRawData: null);
- }
-
/// Initializes a new instance of .
/// A value indicating the state of gateway operation.
/// A value indicating the progress percentage of gateway operation.
@@ -2895,10 +2964,19 @@ public static HyperVReplicaAzureEventDetails HyperVReplicaAzureEventDetails(stri
/// Seed managed disk Id.
/// The replica disk type.
/// The disk encryption set ARM Id.
+ /// The disk type.
+ /// The logical sector size (in bytes), 512 by default.
/// A new instance for mocking.
- public static HyperVReplicaAzureManagedDiskDetails HyperVReplicaAzureManagedDiskDetails(string diskId = null, string seedManagedDiskId = null, string replicaDiskType = null, ResourceIdentifier diskEncryptionSetId = null)
+ public static HyperVReplicaAzureManagedDiskDetails HyperVReplicaAzureManagedDiskDetails(string diskId = null, string seedManagedDiskId = null, string replicaDiskType = null, ResourceIdentifier diskEncryptionSetId = null, SiteRecoveryDiskAccountType? targetDiskAccountType = null, int? sectorSizeInBytes = null)
{
- return new HyperVReplicaAzureManagedDiskDetails(diskId, seedManagedDiskId, replicaDiskType, diskEncryptionSetId, serializedAdditionalRawData: null);
+ return new HyperVReplicaAzureManagedDiskDetails(
+ diskId,
+ seedManagedDiskId,
+ replicaDiskType,
+ diskEncryptionSetId,
+ targetDiskAccountType,
+ sectorSizeInBytes,
+ serializedAdditionalRawData: null);
}
/// Initializes a new instance of .
@@ -2950,6 +3028,7 @@ public static HyperVReplicaAzurePolicyDetails HyperVReplicaAzurePolicyDetails(in
/// A value indicating whether managed disks should be used during failover.
/// License Type of the VM to be used.
/// The SQL Server license type.
+ /// The license type for Linux VM's.
/// The last recovery point received time.
/// The target VM tags.
/// The tags for the seed managed disks.
@@ -2957,8 +3036,9 @@ public static HyperVReplicaAzurePolicyDetails HyperVReplicaAzurePolicyDetails(in
/// The tags for the target NICs.
/// The list of protected managed disks.
/// A value indicating all available inplace OS Upgrade configurations.
+ /// The target VM security profile.
/// A new instance for mocking.
- public static HyperVReplicaAzureReplicationDetails HyperVReplicaAzureReplicationDetails(IEnumerable azureVmDiskDetails = null, string recoveryAzureVmName = null, string recoveryAzureVmSize = null, string recoveryAzureStorageAccount = null, ResourceIdentifier recoveryAzureLogStorageAccountId = null, DateTimeOffset? lastReplicatedOn = null, long? rpoInSeconds = null, DateTimeOffset? lastRpoCalculatedOn = null, string vmId = null, string vmProtectionState = null, string vmProtectionStateDescription = null, InitialReplicationDetails initialReplicationDetails = null, IEnumerable vmNics = null, ResourceIdentifier selectedRecoveryAzureNetworkId = null, string selectedSourceNicId = null, string encryption = null, SiteRecoveryOSDetails osDetails = null, int? sourceVmRamSizeInMB = null, int? sourceVmCpuCount = null, string enableRdpOnTargetOption = null, ResourceIdentifier recoveryAzureResourceGroupId = null, ResourceIdentifier recoveryAvailabilitySetId = null, string targetAvailabilityZone = null, ResourceIdentifier targetProximityPlacementGroupId = null, string useManagedDisks = null, string licenseType = null, string sqlServerLicenseType = null, DateTimeOffset? lastRecoveryPointReceived = null, IReadOnlyDictionary targetVmTags = null, IReadOnlyDictionary seedManagedDiskTags = null, IReadOnlyDictionary targetManagedDiskTags = null, IReadOnlyDictionary targetNicTags = null, IEnumerable protectedManagedDisks = null, IEnumerable allAvailableOSUpgradeConfigurations = null)
+ public static HyperVReplicaAzureReplicationDetails HyperVReplicaAzureReplicationDetails(IEnumerable azureVmDiskDetails = null, string recoveryAzureVmName = null, string recoveryAzureVmSize = null, string recoveryAzureStorageAccount = null, ResourceIdentifier recoveryAzureLogStorageAccountId = null, DateTimeOffset? lastReplicatedOn = null, long? rpoInSeconds = null, DateTimeOffset? lastRpoCalculatedOn = null, string vmId = null, string vmProtectionState = null, string vmProtectionStateDescription = null, InitialReplicationDetails initialReplicationDetails = null, IEnumerable vmNics = null, ResourceIdentifier selectedRecoveryAzureNetworkId = null, string selectedSourceNicId = null, string encryption = null, SiteRecoveryOSDetails osDetails = null, int? sourceVmRamSizeInMB = null, int? sourceVmCpuCount = null, string enableRdpOnTargetOption = null, ResourceIdentifier recoveryAzureResourceGroupId = null, ResourceIdentifier recoveryAvailabilitySetId = null, string targetAvailabilityZone = null, ResourceIdentifier targetProximityPlacementGroupId = null, string useManagedDisks = null, string licenseType = null, string sqlServerLicenseType = null, LinuxLicenseType? linuxLicenseType = null, DateTimeOffset? lastRecoveryPointReceived = null, IReadOnlyDictionary targetVmTags = null, IReadOnlyDictionary seedManagedDiskTags = null, IReadOnlyDictionary targetManagedDiskTags = null, IReadOnlyDictionary targetNicTags = null, IEnumerable protectedManagedDisks = null, IEnumerable allAvailableOSUpgradeConfigurations = null, SecurityProfileProperties targetVmSecurityProfile = null)
{
azureVmDiskDetails ??= new List();
vmNics ??= new List();
@@ -2999,13 +3079,15 @@ public static HyperVReplicaAzureReplicationDetails HyperVReplicaAzureReplication
useManagedDisks,
licenseType,
sqlServerLicenseType,
+ linuxLicenseType,
lastRecoveryPointReceived,
targetVmTags,
seedManagedDiskTags,
targetManagedDiskTags,
targetNicTags,
protectedManagedDisks?.ToList(),
- allAvailableOSUpgradeConfigurations?.ToList());
+ allAvailableOSUpgradeConfigurations?.ToList(),
+ targetVmSecurityProfile);
}
/// Initializes a new instance of .
@@ -3024,8 +3106,9 @@ public static InitialReplicationDetails InitialReplicationDetails(string initial
/// The OS Version.
/// The OS Major Version.
/// The OS Minor Version.
+ /// The OS name selected by user.
/// A new instance for mocking.
- public static SiteRecoveryOSDetails SiteRecoveryOSDetails(string osType = null, string productType = null, string osEdition = null, string osVersion = null, string osMajorVersion = null, string osMinorVersion = null)
+ public static SiteRecoveryOSDetails SiteRecoveryOSDetails(string osType = null, string productType = null, string osEdition = null, string osVersion = null, string osMajorVersion = null, string osMinorVersion = null, string userSelectedOSName = null)
{
return new SiteRecoveryOSDetails(
osType,
@@ -3034,6 +3117,7 @@ public static SiteRecoveryOSDetails SiteRecoveryOSDetails(string osType = null,
osVersion,
osMajorVersion,
osMinorVersion,
+ userSelectedOSName,
serializedAdditionalRawData: null);
}
@@ -3828,6 +3912,24 @@ public static InMageProtectedDiskDetails InMageProtectedDiskDetails(string diskI
serializedAdditionalRawData: null);
}
+ /// Initializes a new instance of .
+ /// The disk Id.
+ /// The log storage account ARM Id.
+ /// The disk type.
+ /// The DiskEncryptionSet ARM Id.
+ /// The logical sector size (in bytes), 512 by default.
+ /// A new instance for mocking.
+ public static InMageRcmDiskContent InMageRcmDiskContent(string diskId = null, ResourceIdentifier logStorageAccountId = null, SiteRecoveryDiskAccountType diskType = default, ResourceIdentifier diskEncryptionSetId = null, int? sectorSizeInBytes = null)
+ {
+ return new InMageRcmDiskContent(
+ diskId,
+ logStorageAccountId,
+ diskType,
+ diskEncryptionSetId,
+ sectorSizeInBytes,
+ serializedAdditionalRawData: null);
+ }
+
/// Initializes a new instance of .
/// The error code.
/// The error message.
@@ -4179,25 +4281,15 @@ public static InMageRcmDiscoveredProtectedVmDetails InMageRcmDiscoveredProtected
serializedAdditionalRawData: null);
}
- /// Initializes a new instance of .
- /// The disk Id.
- /// The log storage account ARM Id.
- /// The disk type.
- /// The DiskEncryptionSet ARM Id.
- /// A new instance for mocking.
- public static InMageRcmDiskContent InMageRcmDiskContent(string diskId = null, ResourceIdentifier logStorageAccountId = null, SiteRecoveryDiskAccountType diskType = default, ResourceIdentifier diskEncryptionSetId = null)
- {
- return new InMageRcmDiskContent(diskId, logStorageAccountId, diskType, diskEncryptionSetId, serializedAdditionalRawData: null);
- }
-
/// Initializes a new instance of .
/// The log storage account ARM Id.
/// The disk type.
/// The DiskEncryptionSet ARM Id.
+ /// The logical sector size (in bytes), 512 by default.
/// A new instance for mocking.
- public static InMageRcmDisksDefaultContent InMageRcmDisksDefaultContent(ResourceIdentifier logStorageAccountId = null, SiteRecoveryDiskAccountType diskType = default, ResourceIdentifier diskEncryptionSetId = null)
+ public static InMageRcmDisksDefaultContent InMageRcmDisksDefaultContent(ResourceIdentifier logStorageAccountId = null, SiteRecoveryDiskAccountType diskType = default, ResourceIdentifier diskEncryptionSetId = null, int? sectorSizeInBytes = null)
{
- return new InMageRcmDisksDefaultContent(logStorageAccountId, diskType, diskEncryptionSetId, serializedAdditionalRawData: null);
+ return new InMageRcmDisksDefaultContent(logStorageAccountId, diskType, diskEncryptionSetId, sectorSizeInBytes, serializedAdditionalRawData: null);
}
/// Initializes a new instance of .
@@ -4219,10 +4311,22 @@ public static InMageRcmDisksDefaultContent InMageRcmDisksDefaultContent(Resource
/// The run-as account Id.
/// The process server Id.
/// The multi VM group name.
+ /// The SQL Server license type.
+ /// The license type for Linux VM's.
+ /// The target VM tags.
+ /// The tags for the seed managed disks.
+ /// The tags for the target managed disks.
+ /// The tags for the target NICs.
+ /// The OS name selected by user.
+ /// The target VM security profile.
/// A new instance for mocking.
- public static InMageRcmEnableProtectionContent InMageRcmEnableProtectionContent(string fabricDiscoveryMachineId = null, IEnumerable disksToInclude = null, InMageRcmDisksDefaultContent disksDefault = null, ResourceIdentifier targetResourceGroupId = null, ResourceIdentifier targetNetworkId = null, ResourceIdentifier testNetworkId = null, string targetSubnetName = null, string testSubnetName = null, string targetVmName = null, string targetVmSize = null, SiteRecoveryLicenseType? licenseType = null, ResourceIdentifier targetAvailabilitySetId = null, string targetAvailabilityZone = null, ResourceIdentifier targetProximityPlacementGroupId = null, ResourceIdentifier targetBootDiagnosticsStorageAccountId = null, string runAsAccountId = null, Guid processServerId = default, string multiVmGroupName = null)
+ public static InMageRcmEnableProtectionContent InMageRcmEnableProtectionContent(string fabricDiscoveryMachineId = null, IEnumerable disksToInclude = null, InMageRcmDisksDefaultContent disksDefault = null, ResourceIdentifier targetResourceGroupId = null, ResourceIdentifier targetNetworkId = null, ResourceIdentifier testNetworkId = null, string targetSubnetName = null, string testSubnetName = null, string targetVmName = null, string targetVmSize = null, SiteRecoveryLicenseType? licenseType = null, ResourceIdentifier targetAvailabilitySetId = null, string targetAvailabilityZone = null, ResourceIdentifier targetProximityPlacementGroupId = null, ResourceIdentifier targetBootDiagnosticsStorageAccountId = null, string runAsAccountId = null, Guid processServerId = default, string multiVmGroupName = null, SiteRecoverySqlServerLicenseType? sqlServerLicenseType = null, LinuxLicenseType? linuxLicenseType = null, IEnumerable targetVmTags = null, IEnumerable seedManagedDiskTags = null, IEnumerable targetManagedDiskTags = null, IEnumerable targetNicTags = null, string userSelectedOSName = null, SecurityProfileProperties targetVmSecurityProfile = null)
{
disksToInclude ??= new List();
+ targetVmTags ??= new List();
+ seedManagedDiskTags ??= new List();
+ targetManagedDiskTags ??= new List();
+ targetNicTags ??= new List();
return new InMageRcmEnableProtectionContent(
"InMageRcm",
@@ -4244,7 +4348,15 @@ public static InMageRcmEnableProtectionContent InMageRcmEnableProtectionContent(
targetBootDiagnosticsStorageAccountId,
runAsAccountId,
processServerId,
- multiVmGroupName);
+ multiVmGroupName,
+ sqlServerLicenseType,
+ linuxLicenseType,
+ targetVmTags?.ToList(),
+ seedManagedDiskTags?.ToList(),
+ targetManagedDiskTags?.ToList(),
+ targetNicTags?.ToList(),
+ userSelectedOSName,
+ targetVmSecurityProfile);
}
/// Initializes a new instance of .
@@ -4643,8 +4755,9 @@ public static InMageRcmMobilityAgentDetails InMageRcmMobilityAgentDetails(string
/// Test subnet name.
/// The test IP address.
/// The test IP address type.
+ /// The target NIC name.
/// A new instance for mocking.
- public static InMageRcmNicDetails InMageRcmNicDetails(string nicId = null, string isPrimaryNic = null, string isSelectedForFailover = null, IPAddress sourceIPAddress = null, SiteRecoveryEthernetAddressType? sourceIPAddressType = null, ResourceIdentifier sourceNetworkId = null, string sourceSubnetName = null, IPAddress targetIPAddress = null, SiteRecoveryEthernetAddressType? targetIPAddressType = null, string targetSubnetName = null, string testSubnetName = null, IPAddress testIPAddress = null, SiteRecoveryEthernetAddressType? testIPAddressType = null)
+ public static InMageRcmNicDetails InMageRcmNicDetails(string nicId = null, string isPrimaryNic = null, string isSelectedForFailover = null, IPAddress sourceIPAddress = null, SiteRecoveryEthernetAddressType? sourceIPAddressType = null, ResourceIdentifier sourceNetworkId = null, string sourceSubnetName = null, IPAddress targetIPAddress = null, SiteRecoveryEthernetAddressType? targetIPAddressType = null, string targetSubnetName = null, string testSubnetName = null, IPAddress testIPAddress = null, SiteRecoveryEthernetAddressType? testIPAddressType = null, string targetNicName = null)
{
return new InMageRcmNicDetails(
nicId,
@@ -4660,6 +4773,7 @@ public static InMageRcmNicDetails InMageRcmNicDetails(string nicId = null, strin
testSubnetName,
testIPAddress,
testIPAddressType,
+ targetNicName,
serializedAdditionalRawData: null);
}
@@ -4671,8 +4785,9 @@ public static InMageRcmNicDetails InMageRcmNicDetails(string nicId = null, strin
/// The target static IP address.
/// The test subnet name.
/// The test static IP address.
+ /// The target NIC name.
/// A new instance for mocking.
- public static InMageRcmNicContent InMageRcmNicContent(string nicId = null, string isPrimaryNic = null, string isSelectedForFailover = null, string targetSubnetName = null, IPAddress targetStaticIPAddress = null, string testSubnetName = null, IPAddress testStaticIPAddress = null)
+ public static InMageRcmNicContent InMageRcmNicContent(string nicId = null, string isPrimaryNic = null, string isSelectedForFailover = null, string targetSubnetName = null, IPAddress targetStaticIPAddress = null, string testSubnetName = null, IPAddress testStaticIPAddress = null, string targetNicName = null)
{
return new InMageRcmNicContent(
nicId,
@@ -4682,6 +4797,7 @@ public static InMageRcmNicContent InMageRcmNicContent(string nicId = null, strin
targetStaticIPAddress,
testSubnetName,
testStaticIPAddress,
+ targetNicName,
serializedAdditionalRawData: null);
}
@@ -4707,6 +4823,7 @@ public static InMageRcmPolicyDetails InMageRcmPolicyDetails(int? recoveryPointHi
/// The disk name.
/// A value indicating whether the disk is the OS disk.
/// The disk capacity in bytes.
+ /// The disk state.
/// The log storage account ARM Id.
/// The DiskEncryptionSet ARM Id.
/// The ARM Id of the seed managed disk.
@@ -4718,14 +4835,17 @@ public static InMageRcmPolicyDetails InMageRcmPolicyDetails(int? recoveryPointHi
/// A value indicating whether initial replication is complete or not.
/// The initial replication details.
/// The resync details.
+ /// The custom target Azure disk name.
+ /// The logical sector size (in bytes), 512 by default.
/// A new instance for mocking.
- public static InMageRcmProtectedDiskDetails InMageRcmProtectedDiskDetails(string diskId = null, string diskName = null, string isOSDisk = null, long? capacityInBytes = null, ResourceIdentifier logStorageAccountId = null, ResourceIdentifier diskEncryptionSetId = null, string seedManagedDiskId = null, Uri seedBlobUri = null, string targetManagedDiskId = null, SiteRecoveryDiskAccountType? diskType = null, double? dataPendingInLogDataStoreInMB = null, double? dataPendingAtSourceAgentInMB = null, string isInitialReplicationComplete = null, InMageRcmSyncDetails irDetails = null, InMageRcmSyncDetails resyncDetails = null)
+ public static InMageRcmProtectedDiskDetails InMageRcmProtectedDiskDetails(string diskId = null, string diskName = null, string isOSDisk = null, long? capacityInBytes = null, DiskState? diskState = null, ResourceIdentifier logStorageAccountId = null, ResourceIdentifier diskEncryptionSetId = null, string seedManagedDiskId = null, Uri seedBlobUri = null, string targetManagedDiskId = null, SiteRecoveryDiskAccountType? diskType = null, double? dataPendingInLogDataStoreInMB = null, double? dataPendingAtSourceAgentInMB = null, string isInitialReplicationComplete = null, InMageRcmSyncDetails irDetails = null, InMageRcmSyncDetails resyncDetails = null, string customTargetDiskName = null, int? sectorSizeInBytes = null)
{
return new InMageRcmProtectedDiskDetails(
diskId,
diskName,
isOSDisk,
capacityInBytes,
+ diskState,
logStorageAccountId,
diskEncryptionSetId,
seedManagedDiskId,
@@ -4737,6 +4857,8 @@ public static InMageRcmProtectedDiskDetails InMageRcmProtectedDiskDetails(string
isInitialReplicationComplete,
irDetails,
resyncDetails,
+ customTargetDiskName,
+ sectorSizeInBytes,
serializedAdditionalRawData: null);
}
@@ -4764,6 +4886,16 @@ public static InMageRcmSyncDetails InMageRcmSyncDetails(SiteRecoveryDiskReplicat
serializedAdditionalRawData: null);
}
+ /// Initializes a new instance of .
+ /// The disk Id.
+ /// The disk name.
+ /// The disk capacity in bytes.
+ /// A new instance for mocking.
+ public static InMageRcmUnProtectedDiskDetails InMageRcmUnProtectedDiskDetails(string diskId = null, string diskName = null, long? capacityInBytes = null)
+ {
+ return new InMageRcmUnProtectedDiskDetails(diskId, diskName, capacityInBytes, serializedAdditionalRawData: null);
+ }
+
/// Initializes a new instance of .
/// A value indicating whether the flag for enable agent auto upgrade.
/// A new instance for mocking.
@@ -4795,6 +4927,7 @@ public static InMageRcmRecoveryPointDetails InMageRcmRecoveryPointDetails(string
/// The IP address of the primary network interface.
/// The target generation.
/// License Type of the VM to be used.
+ /// The license type for Linux VM's.
/// The replication storage account ARM Id. This is applicable only for the blob based replication test hook.
/// Target VM name.
/// The target VM size.
@@ -4826,6 +4959,7 @@ public static InMageRcmRecoveryPointDetails InMageRcmRecoveryPointDetails(string
/// The agent upgrade job Id.
/// The agent version to which last agent upgrade was attempted.
/// The list of protected disks.
+ /// The list of unprotected disks.
/// A value indicating whether last agent upgrade was successful or not.
/// A value indicating whether agent registration was successful after failover.
/// The mobility agent information.
@@ -4833,13 +4967,27 @@ public static InMageRcmRecoveryPointDetails InMageRcmRecoveryPointDetails(string
/// The agent upgrade blocking error information.
/// The network details.
/// The discovered VM details.
+ /// The target VM tags.
+ /// The tags for the seed managed disks.
+ /// The tags for the target managed disks.
+ /// The tags for the target NICs.
+ /// The SQL Server license type.
+ /// A value indicating the inplace OS Upgrade version.
+ /// The OS name associated with VM.
+ /// The target VM security profile.
/// A new instance for mocking.
- public static InMageRcmReplicationDetails InMageRcmReplicationDetails(string internalIdentifier = null, string fabricDiscoveryMachineId = null, string multiVmGroupName = null, string discoveryType = null, Guid? processServerId = null, int? processorCoreCount = null, double? allocatedMemoryInMB = null, string processServerName = null, string runAsAccountId = null, string osType = null, string firmwareType = null, IPAddress primaryNicIPAddress = null, string targetGeneration = null, string licenseType = null, ResourceIdentifier storageAccountId = null, string targetVmName = null, string targetVmSize = null, ResourceIdentifier targetResourceGroupId = null, string targetLocation = null, ResourceIdentifier targetAvailabilitySetId = null, string targetAvailabilityZone = null, ResourceIdentifier targetProximityPlacementGroupId = null, ResourceIdentifier targetBootDiagnosticsStorageAccountId = null, ResourceIdentifier targetNetworkId = null, ResourceIdentifier testNetworkId = null, ResourceIdentifier failoverRecoveryPointId = null, DateTimeOffset? lastRecoveryPointReceived = null, long? lastRpoInSeconds = null, DateTimeOffset? lastRpoCalculatedOn = null, ResourceIdentifier lastRecoveryPointId = null, int? initialReplicationProgressPercentage = null, long? initialReplicationProcessedBytes = null, long? initialReplicationTransferredBytes = null, VmReplicationProgressHealth? initialReplicationProgressHealth = null, int? resyncProgressPercentage = null, long? resyncProcessedBytes = null, long? resyncTransferredBytes = null, VmReplicationProgressHealth? resyncProgressHealth = null, string resyncRequired = null, SiteRecoveryResyncState? resyncState = null, MobilityAgentUpgradeState? agentUpgradeState = null, string lastAgentUpgradeType = null, string agentUpgradeJobId = null, string agentUpgradeAttemptToVersion = null, IEnumerable protectedDisks = null, string isLastUpgradeSuccessful = null, bool? isAgentRegistrationSuccessfulAfterFailover = null, InMageRcmMobilityAgentDetails mobilityAgentDetails = null, IEnumerable lastAgentUpgradeErrorDetails = null, IEnumerable agentUpgradeBlockingErrorDetails = null, IEnumerable vmNics = null, InMageRcmDiscoveredProtectedVmDetails discoveredVmDetails = null)
+ public static InMageRcmReplicationDetails InMageRcmReplicationDetails(string internalIdentifier = null, string fabricDiscoveryMachineId = null, string multiVmGroupName = null, string discoveryType = null, Guid? processServerId = null, int? processorCoreCount = null, double? allocatedMemoryInMB = null, string processServerName = null, string runAsAccountId = null, string osType = null, string firmwareType = null, IPAddress primaryNicIPAddress = null, string targetGeneration = null, string licenseType = null, LinuxLicenseType? linuxLicenseType = null, ResourceIdentifier storageAccountId = null, string targetVmName = null, string targetVmSize = null, ResourceIdentifier targetResourceGroupId = null, string targetLocation = null, ResourceIdentifier targetAvailabilitySetId = null, string targetAvailabilityZone = null, ResourceIdentifier targetProximityPlacementGroupId = null, ResourceIdentifier targetBootDiagnosticsStorageAccountId = null, ResourceIdentifier targetNetworkId = null, ResourceIdentifier testNetworkId = null, ResourceIdentifier failoverRecoveryPointId = null, DateTimeOffset? lastRecoveryPointReceived = null, long? lastRpoInSeconds = null, DateTimeOffset? lastRpoCalculatedOn = null, ResourceIdentifier lastRecoveryPointId = null, int? initialReplicationProgressPercentage = null, long? initialReplicationProcessedBytes = null, long? initialReplicationTransferredBytes = null, VmReplicationProgressHealth? initialReplicationProgressHealth = null, int? resyncProgressPercentage = null, long? resyncProcessedBytes = null, long? resyncTransferredBytes = null, VmReplicationProgressHealth? resyncProgressHealth = null, string resyncRequired = null, SiteRecoveryResyncState? resyncState = null, MobilityAgentUpgradeState? agentUpgradeState = null, string lastAgentUpgradeType = null, string agentUpgradeJobId = null, string agentUpgradeAttemptToVersion = null, IEnumerable protectedDisks = null, IEnumerable unprotectedDisks = null, string isLastUpgradeSuccessful = null, bool? isAgentRegistrationSuccessfulAfterFailover = null, InMageRcmMobilityAgentDetails mobilityAgentDetails = null, IEnumerable lastAgentUpgradeErrorDetails = null, IEnumerable agentUpgradeBlockingErrorDetails = null, IEnumerable vmNics = null, InMageRcmDiscoveredProtectedVmDetails discoveredVmDetails = null, IEnumerable targetVmTags = null, IEnumerable seedManagedDiskTags = null, IEnumerable targetManagedDiskTags = null, IEnumerable targetNicTags = null, string sqlServerLicenseType = null, IEnumerable supportedOSVersions = null, string osName = null, SecurityProfileProperties targetVmSecurityProfile = null)
{
protectedDisks ??= new List();
+ unprotectedDisks ??= new List();
lastAgentUpgradeErrorDetails ??= new List();
agentUpgradeBlockingErrorDetails ??= new List();
vmNics ??= new List();
+ targetVmTags ??= new List();
+ seedManagedDiskTags ??= new List();
+ targetManagedDiskTags ??= new List();
+ targetNicTags ??= new List();
+ supportedOSVersions ??= new List();
return new InMageRcmReplicationDetails(
"InMageRcm",
@@ -4858,6 +5006,7 @@ public static InMageRcmReplicationDetails InMageRcmReplicationDetails(string int
primaryNicIPAddress,
targetGeneration,
licenseType,
+ linuxLicenseType,
storageAccountId,
targetVmName,
targetVmSize,
@@ -4889,13 +5038,22 @@ public static InMageRcmReplicationDetails InMageRcmReplicationDetails(string int
agentUpgradeJobId,
agentUpgradeAttemptToVersion,
protectedDisks?.ToList(),
+ unprotectedDisks?.ToList(),
isLastUpgradeSuccessful,
isAgentRegistrationSuccessfulAfterFailover,
mobilityAgentDetails,
lastAgentUpgradeErrorDetails?.ToList(),
agentUpgradeBlockingErrorDetails?.ToList(),
vmNics?.ToList(),
- discoveredVmDetails);
+ discoveredVmDetails,
+ targetVmTags?.ToList(),
+ seedManagedDiskTags?.ToList(),
+ targetManagedDiskTags?.ToList(),
+ targetNicTags?.ToList(),
+ sqlServerLicenseType,
+ supportedOSVersions?.ToList(),
+ osName,
+ targetVmSecurityProfile);
}
/// Initializes a new instance of .
@@ -4918,10 +5076,11 @@ public static InMageRcmReprotectContent InMageRcmReprotectContent(string reprote
/// Initializes a new instance of .
/// A value indicating whether VM is to be shutdown.
/// The recovery point id to be passed to failover to a particular recovery point. In case of latest recovery point, null should be passed.
+ /// A value indicating the inplace OS Upgrade version.
/// A new instance for mocking.
- public static InMageRcmUnplannedFailoverContent InMageRcmUnplannedFailoverContent(string performShutdown = null, ResourceIdentifier recoveryPointId = null)
+ public static InMageRcmUnplannedFailoverContent InMageRcmUnplannedFailoverContent(string performShutdown = null, ResourceIdentifier recoveryPointId = null, string osUpgradeVersion = null)
{
- return new InMageRcmUnplannedFailoverContent("InMageRcm", serializedAdditionalRawData: null, performShutdown, recoveryPointId);
+ return new InMageRcmUnplannedFailoverContent("InMageRcm", serializedAdditionalRawData: null, performShutdown, recoveryPointId, osUpgradeVersion);
}
/// Initializes a new instance of .
@@ -5491,8 +5650,9 @@ public static VMwareCbtContainerMappingContent VMwareCbtContainerMappingContent(
/// The log storage account ARM Id.
/// The key vault secret name of the log storage account.
/// The DiskEncryptionSet ARM Id.
+ /// The logical sector size (in bytes), 512 by default.
/// A new instance for mocking.
- public static VMwareCbtDiskContent VMwareCbtDiskContent(string diskId = null, SiteRecoveryDiskAccountType? diskType = null, string isOSDisk = null, ResourceIdentifier logStorageAccountId = null, string logStorageAccountSasSecretName = null, ResourceIdentifier diskEncryptionSetId = null)
+ public static VMwareCbtDiskContent VMwareCbtDiskContent(string diskId = null, SiteRecoveryDiskAccountType? diskType = null, string isOSDisk = null, ResourceIdentifier logStorageAccountId = null, string logStorageAccountSasSecretName = null, ResourceIdentifier diskEncryptionSetId = null, int? sectorSizeInBytes = null)
{
return new VMwareCbtDiskContent(
diskId,
@@ -5501,6 +5661,7 @@ public static VMwareCbtDiskContent VMwareCbtDiskContent(string diskId = null, Si
logStorageAccountId,
logStorageAccountSasSecretName,
diskEncryptionSetId,
+ sectorSizeInBytes,
serializedAdditionalRawData: null);
}
@@ -5509,6 +5670,7 @@ public static VMwareCbtDiskContent VMwareCbtDiskContent(string diskId = null, Si
/// The disks to include list.
/// License type.
/// The SQL Server license type.
+ /// The license type for Linux VM's.
/// A value indicating whether bulk SQL RP registration to be done.
/// The data mover run as account Id.
/// The snapshot run as account Id.
@@ -5530,8 +5692,9 @@ public static VMwareCbtDiskContent VMwareCbtDiskContent(string diskId = null, Si
/// The tags for the seed disks.
/// The tags for the target disks.
/// The tags for the target NICs.
+ /// The OS name selected by user.
/// A new instance for mocking.
- public static VMwareCbtEnableMigrationContent VMwareCbtEnableMigrationContent(ResourceIdentifier vmwareMachineId = null, IEnumerable disksToInclude = null, SiteRecoveryLicenseType? licenseType = null, SiteRecoverySqlServerLicenseType? sqlServerLicenseType = null, string performSqlBulkRegistration = null, ResourceIdentifier dataMoverRunAsAccountId = null, ResourceIdentifier snapshotRunAsAccountId = null, string targetVmName = null, string targetVmSize = null, ResourceIdentifier targetResourceGroupId = null, ResourceIdentifier targetNetworkId = null, ResourceIdentifier testNetworkId = null, string targetSubnetName = null, string testSubnetName = null, ResourceIdentifier targetAvailabilitySetId = null, string targetAvailabilityZone = null, ResourceIdentifier targetProximityPlacementGroupId = null, ResourceIdentifier confidentialVmKeyVaultId = null, VMwareCbtSecurityProfileProperties targetVmSecurityProfile = null, ResourceIdentifier targetBootDiagnosticsStorageAccountId = null, string performAutoResync = null, IDictionary targetVmTags = null, IDictionary seedDiskTags = null, IDictionary targetDiskTags = null, IDictionary targetNicTags = null)
+ public static VMwareCbtEnableMigrationContent VMwareCbtEnableMigrationContent(ResourceIdentifier vmwareMachineId = null, IEnumerable disksToInclude = null, SiteRecoveryLicenseType? licenseType = null, SiteRecoverySqlServerLicenseType? sqlServerLicenseType = null, LinuxLicenseType? linuxLicenseType = null, string performSqlBulkRegistration = null, ResourceIdentifier dataMoverRunAsAccountId = null, ResourceIdentifier snapshotRunAsAccountId = null, string targetVmName = null, string targetVmSize = null, ResourceIdentifier targetResourceGroupId = null, ResourceIdentifier targetNetworkId = null, ResourceIdentifier testNetworkId = null, string targetSubnetName = null, string testSubnetName = null, ResourceIdentifier targetAvailabilitySetId = null, string targetAvailabilityZone = null, ResourceIdentifier targetProximityPlacementGroupId = null, ResourceIdentifier confidentialVmKeyVaultId = null, VMwareCbtSecurityProfileProperties targetVmSecurityProfile = null, ResourceIdentifier targetBootDiagnosticsStorageAccountId = null, string performAutoResync = null, IDictionary targetVmTags = null, IDictionary seedDiskTags = null, IDictionary targetDiskTags = null, IDictionary targetNicTags = null, string userSelectedOSName = null)
{
disksToInclude ??= new List();
targetVmTags ??= new Dictionary();
@@ -5546,6 +5709,7 @@ public static VMwareCbtEnableMigrationContent VMwareCbtEnableMigrationContent(Re
disksToInclude?.ToList(),
licenseType,
sqlServerLicenseType,
+ linuxLicenseType,
performSqlBulkRegistration,
dataMoverRunAsAccountId,
snapshotRunAsAccountId,
@@ -5566,7 +5730,8 @@ public static VMwareCbtEnableMigrationContent VMwareCbtEnableMigrationContent(Re
targetVmTags,
seedDiskTags,
targetDiskTags,
- targetNicTags);
+ targetNicTags,
+ userSelectedOSName);
}
/// Initializes a new instance of .
@@ -5580,10 +5745,13 @@ public static VMwareCbtEventDetails VMwareCbtEventDetails(string migrationItemNa
/// Initializes a new instance of .
/// A value indicating whether VM is to be shutdown.
/// A value indicating the inplace OS Upgrade version.
+ /// The managed run command script input.
/// A new instance for mocking.
- public static VMwareCbtMigrateContent VMwareCbtMigrateContent(string performShutdown = null, string osUpgradeVersion = null)
+ public static VMwareCbtMigrateContent VMwareCbtMigrateContent(string performShutdown = null, string osUpgradeVersion = null, IEnumerable postMigrationSteps = null)
{
- return new VMwareCbtMigrateContent("VMwareCbt", serializedAdditionalRawData: null, performShutdown, osUpgradeVersion);
+ postMigrationSteps ??= new List();
+
+ return new VMwareCbtMigrateContent("VMwareCbt", serializedAdditionalRawData: null, performShutdown, osUpgradeVersion, postMigrationSteps?.ToList());
}
/// Initializes a new instance of .
@@ -5594,6 +5762,7 @@ public static VMwareCbtMigrateContent VMwareCbtMigrateContent(string performShut
/// The target generation.
/// License Type of the VM to be used.
/// The SQL Server license type.
+ /// The license type for Linux VM's.
/// The data mover run as account Id.
/// The snapshot run as account Id.
/// The replication storage account ARM Id. This is applicable only for the blob based replication test hook.
@@ -5636,7 +5805,7 @@ public static VMwareCbtMigrateContent VMwareCbtMigrateContent(string performShut
/// A value indicating the gateway operation details.
/// A value indicating the SRS operation name.
/// A new instance for mocking.
- public static VMwareCbtMigrationDetails VMwareCbtMigrationDetails(ResourceIdentifier vmwareMachineId = null, string osType = null, string osName = null, string firmwareType = null, string targetGeneration = null, string licenseType = null, string sqlServerLicenseType = null, ResourceIdentifier dataMoverRunAsAccountId = null, ResourceIdentifier snapshotRunAsAccountId = null, ResourceIdentifier storageAccountId = null, string targetVmName = null, string targetVmSize = null, string targetLocation = null, ResourceIdentifier targetResourceGroupId = null, ResourceIdentifier targetAvailabilitySetId = null, string targetAvailabilityZone = null, ResourceIdentifier targetProximityPlacementGroupId = null, ResourceIdentifier confidentialVmKeyVaultId = null, VMwareCbtSecurityProfileProperties targetVmSecurityProfile = null, ResourceIdentifier targetBootDiagnosticsStorageAccountId = null, IReadOnlyDictionary targetVmTags = null, IEnumerable protectedDisks = null, ResourceIdentifier targetNetworkId = null, ResourceIdentifier testNetworkId = null, IEnumerable vmNics = null, IReadOnlyDictionary targetNicTags = null, ResourceIdentifier migrationRecoveryPointId = null, DateTimeOffset? lastRecoveryPointReceived = null, ResourceIdentifier lastRecoveryPointId = null, int? initialSeedingProgressPercentage = null, int? migrationProgressPercentage = null, int? resyncProgressPercentage = null, int? resumeProgressPercentage = null, int? deltaSyncProgressPercentage = null, string isCheckSumResyncCycle = null, long? initialSeedingRetryCount = null, long? resyncRetryCount = null, long? resumeRetryCount = null, long? deltaSyncRetryCount = null, string resyncRequired = null, SiteRecoveryResyncState? resyncState = null, string performAutoResync = null, IReadOnlyDictionary seedDiskTags = null, IReadOnlyDictionary targetDiskTags = null, IEnumerable supportedOSVersions = null, ApplianceMonitoringDetails applianceMonitoringDetails = null, GatewayOperationDetails gatewayOperationDetails = null, string operationName = null)
+ public static VMwareCbtMigrationDetails VMwareCbtMigrationDetails(ResourceIdentifier vmwareMachineId = null, string osType = null, string osName = null, string firmwareType = null, string targetGeneration = null, string licenseType = null, string sqlServerLicenseType = null, LinuxLicenseType? linuxLicenseType = null, ResourceIdentifier dataMoverRunAsAccountId = null, ResourceIdentifier snapshotRunAsAccountId = null, ResourceIdentifier storageAccountId = null, string targetVmName = null, string targetVmSize = null, string targetLocation = null, ResourceIdentifier targetResourceGroupId = null, ResourceIdentifier targetAvailabilitySetId = null, string targetAvailabilityZone = null, ResourceIdentifier targetProximityPlacementGroupId = null, ResourceIdentifier confidentialVmKeyVaultId = null, VMwareCbtSecurityProfileProperties targetVmSecurityProfile = null, ResourceIdentifier targetBootDiagnosticsStorageAccountId = null, IReadOnlyDictionary targetVmTags = null, IEnumerable protectedDisks = null, ResourceIdentifier targetNetworkId = null, ResourceIdentifier testNetworkId = null, IEnumerable vmNics = null, IReadOnlyDictionary targetNicTags = null, ResourceIdentifier migrationRecoveryPointId = null, DateTimeOffset? lastRecoveryPointReceived = null, ResourceIdentifier lastRecoveryPointId = null, int? initialSeedingProgressPercentage = null, int? migrationProgressPercentage = null, int? resyncProgressPercentage = null, int? resumeProgressPercentage = null, int? deltaSyncProgressPercentage = null, string isCheckSumResyncCycle = null, long? initialSeedingRetryCount = null, long? resyncRetryCount = null, long? resumeRetryCount = null, long? deltaSyncRetryCount = null, string resyncRequired = null, SiteRecoveryResyncState? resyncState = null, string performAutoResync = null, IReadOnlyDictionary seedDiskTags = null, IReadOnlyDictionary targetDiskTags = null, IEnumerable supportedOSVersions = null, ApplianceMonitoringDetails applianceMonitoringDetails = null, GatewayOperationDetails gatewayOperationDetails = null, string operationName = null)
{
targetVmTags ??= new Dictionary();
protectedDisks ??= new List();
@@ -5656,6 +5825,7 @@ public static VMwareCbtMigrationDetails VMwareCbtMigrationDetails(ResourceIdenti
targetGeneration,
licenseType,
sqlServerLicenseType,
+ linuxLicenseType,
dataMoverRunAsAccountId,
snapshotRunAsAccountId,
storageAccountId,
@@ -5715,8 +5885,9 @@ public static VMwareCbtMigrationDetails VMwareCbtMigrationDetails(ResourceIdenti
/// The uri of the target blob.
/// The name for the target managed disk.
/// A value indicating the gateway operation details.
+ /// The logical sector size (in bytes), 512 by default.
/// A new instance for mocking.
- public static VMwareCbtProtectedDiskDetails VMwareCbtProtectedDiskDetails(string diskId = null, string diskName = null, SiteRecoveryDiskAccountType? diskType = null, string diskPath = null, string isOSDisk = null, long? capacityInBytes = null, ResourceIdentifier logStorageAccountId = null, string logStorageAccountSasSecretName = null, ResourceIdentifier diskEncryptionSetId = null, string seedManagedDiskId = null, Uri seedBlobUri = null, string targetManagedDiskId = null, Uri targetBlobUri = null, string targetDiskName = null, GatewayOperationDetails gatewayOperationDetails = null)
+ public static VMwareCbtProtectedDiskDetails VMwareCbtProtectedDiskDetails(string diskId = null, string diskName = null, SiteRecoveryDiskAccountType? diskType = null, string diskPath = null, string isOSDisk = null, long? capacityInBytes = null, ResourceIdentifier logStorageAccountId = null, string logStorageAccountSasSecretName = null, ResourceIdentifier diskEncryptionSetId = null, string seedManagedDiskId = null, Uri seedBlobUri = null, string targetManagedDiskId = null, Uri targetBlobUri = null, string targetDiskName = null, GatewayOperationDetails gatewayOperationDetails = null, int? sectorSizeInBytes = null)
{
return new VMwareCbtProtectedDiskDetails(
diskId,
@@ -5734,6 +5905,7 @@ public static VMwareCbtProtectedDiskDetails VMwareCbtProtectedDiskDetails(string
targetBlobUri,
targetDiskName,
gatewayOperationDetails,
+ sectorSizeInBytes,
serializedAdditionalRawData: null);
}
@@ -5848,10 +6020,12 @@ public static VMwareCbtResyncContent VMwareCbtResyncContent(string skipCbtReset
/// The test network Id.
/// The list of NIC details.
/// A value indicating the inplace OS Upgrade version.
+ /// The managed run command script input.
/// A new instance for mocking.
- public static VMwareCbtTestMigrateContent VMwareCbtTestMigrateContent(ResourceIdentifier recoveryPointId = null, ResourceIdentifier networkId = null, IEnumerable vmNics = null, string osUpgradeVersion = null)
+ public static VMwareCbtTestMigrateContent VMwareCbtTestMigrateContent(ResourceIdentifier recoveryPointId = null, ResourceIdentifier networkId = null, IEnumerable vmNics = null, string osUpgradeVersion = null, IEnumerable postMigrationSteps = null)
{
vmNics ??= new List();
+ postMigrationSteps ??= new List();
return new VMwareCbtTestMigrateContent(
"VMwareCbt",
@@ -5859,7 +6033,8 @@ public static VMwareCbtTestMigrateContent VMwareCbtTestMigrateContent(ResourceId
recoveryPointId,
networkId,
vmNics?.ToList(),
- osUpgradeVersion);
+ osUpgradeVersion,
+ postMigrationSteps?.ToList());
}
/// Initializes a new instance of .
@@ -6018,5 +6193,488 @@ public static VMwareVmDetails VMwareVmDetails(string agentGeneratedId = null, st
diskDetails?.ToList(),
validationErrors?.ToList());
}
+
+ /// Initializes a new instance of .
+ /// The fabric specific object Id of the virtual machine.
+ /// The recovery container Id.
+ /// The recovery resource group Id. Valid for V2 scenarios.
+ /// The recovery cloud service Id. Valid for V1 scenarios.
+ /// The recovery availability set Id.
+ /// The recovery proximity placement group Id.
+ /// The list of vm disk details.
+ /// The list of vm managed disk details.
+ /// The multi vm group name.
+ /// The multi vm group id.
+ /// The boot diagnostic storage account.
+ /// The recovery disk encryption information (for two pass flows).
+ /// The recovery availability zone.
+ /// The recovery extended location.
+ /// The recovery Azure virtual network ARM id.
+ /// The recovery subnet name.
+ /// The virtual machine scale set Id.
+ /// The recovery capacity reservation group Id.
+ /// A value indicating whether the auto protection is enabled.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static A2AEnableProtectionContent A2AEnableProtectionContent(ResourceIdentifier fabricObjectId, ResourceIdentifier recoveryContainerId, ResourceIdentifier recoveryResourceGroupId, string recoveryCloudServiceId, ResourceIdentifier recoveryAvailabilitySetId, ResourceIdentifier recoveryProximityPlacementGroupId, IEnumerable vmDisks, IEnumerable vmManagedDisks, string multiVmGroupName, string multiVmGroupId, ResourceIdentifier recoveryBootDiagStorageAccountId, SiteRecoveryDiskEncryptionInfo diskEncryptionInfo, string recoveryAvailabilityZone, SiteRecoveryExtendedLocation recoveryExtendedLocation, ResourceIdentifier recoveryAzureNetworkId, string recoverySubnetName, ResourceIdentifier recoveryVirtualMachineScaleSetId, ResourceIdentifier recoveryCapacityReservationGroupId, AutoProtectionOfDataDisk? autoProtectionOfDataDisk)
+ {
+ return A2AEnableProtectionContent(fabricObjectId: fabricObjectId, recoveryContainerId: recoveryContainerId, recoveryResourceGroupId: recoveryResourceGroupId, recoveryCloudServiceId: recoveryCloudServiceId, recoveryAvailabilitySetId: recoveryAvailabilitySetId, recoveryProximityPlacementGroupId: recoveryProximityPlacementGroupId, vmDisks: vmDisks, vmManagedDisks: vmManagedDisks, multiVmGroupName: multiVmGroupName, multiVmGroupId: multiVmGroupId, protectionClusterId: default, recoveryBootDiagStorageAccountId: recoveryBootDiagStorageAccountId, diskEncryptionInfo: diskEncryptionInfo, recoveryAvailabilityZone: recoveryAvailabilityZone, recoveryExtendedLocation: recoveryExtendedLocation, recoveryAzureNetworkId: recoveryAzureNetworkId, recoverySubnetName: recoverySubnetName, recoveryVirtualMachineScaleSetId: recoveryVirtualMachineScaleSetId, recoveryCapacityReservationGroupId: recoveryCapacityReservationGroupId, autoProtectionOfDataDisk: autoProtectionOfDataDisk);
+ }
+
+ /// Initializes a new instance of .
+ /// The fabric specific object Id of the virtual machine.
+ /// The initial primary availability zone.
+ /// The initial primary fabric location.
+ /// The initial recovery availability zone.
+ /// The initial primary extended location.
+ /// The initial recovery extended location.
+ /// The initial recovery fabric location.
+ /// The multi vm group Id.
+ /// The multi vm group name.
+ /// Whether Multi VM group is auto created or specified by user.
+ /// The management Id.
+ /// The list of protected disks.
+ /// The list of unprotected disks.
+ /// The list of protected managed disks.
+ /// The recovery boot diagnostic storage account Arm Id.
+ /// Primary fabric location.
+ /// The recovery fabric location.
+ /// The type of operating system.
+ /// The size of recovery virtual machine.
+ /// The name of recovery virtual machine.
+ /// The recovery resource group.
+ /// The recovery cloud service.
+ /// The recovery availability set.
+ /// The recovery virtual network.
+ /// The test failover virtual network.
+ /// The virtual machine nic details.
+ /// The synced configuration details.
+ /// The percentage of the monitoring job. The type of the monitoring job is defined by MonitoringJobType property.
+ /// The type of the monitoring job. The progress is contained in MonitoringPercentageCompletion property.
+ /// The last heartbeat received from the source server.
+ /// The agent version.
+ /// Agent expiry date.
+ /// A value indicating whether replication agent update is required.
+ /// Agent certificate expiry date.
+ /// A value indicating whether agent certificate update is required.
+ /// The recovery fabric object Id.
+ /// The protection state for the vm.
+ /// The protection state description for the vm.
+ /// An id associated with the PE that survives actions like switch protection which change the backing PE/CPE objects internally.The lifecycle id gets carried forward to have a link/continuity in being able to have an Id that denotes the "same" protected item even though other internal Ids/ARM Id might be changing.
+ /// The test failover fabric object Id.
+ /// The last RPO value in seconds.
+ /// The time (in UTC) when the last RPO value was calculated by Protection Service.
+ /// The primary availability zone.
+ /// The recovery availability zone.
+ /// The primary Extended Location.
+ /// The recovery Extended Location.
+ /// The encryption type of the VM.
+ /// The test failover vm name.
+ /// The recovery azure generation.
+ /// The recovery proximity placement group Id.
+ /// A value indicating whether the auto protection is enabled.
+ /// The recovery virtual machine scale set id.
+ /// The recovery capacity reservation group Id.
+ /// A value indicating the churn option selected by user.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static A2AReplicationDetails A2AReplicationDetails(ResourceIdentifier fabricObjectId, string initialPrimaryZone, AzureLocation? initialPrimaryFabricLocation, string initialRecoveryZone, SiteRecoveryExtendedLocation initialPrimaryExtendedLocation, SiteRecoveryExtendedLocation initialRecoveryExtendedLocation, AzureLocation? initialRecoveryFabricLocation, string multiVmGroupId, string multiVmGroupName, MultiVmGroupCreateOption? multiVmGroupCreateOption, string managementId, IEnumerable protectedDisks, IEnumerable unprotectedDisks, IEnumerable protectedManagedDisks, ResourceIdentifier recoveryBootDiagStorageAccountId, AzureLocation? primaryFabricLocation, AzureLocation? recoveryFabricLocation, string osType, string recoveryAzureVmSize, string recoveryAzureVmName, ResourceIdentifier recoveryAzureResourceGroupId, string recoveryCloudService, string recoveryAvailabilitySet, ResourceIdentifier selectedRecoveryAzureNetworkId, ResourceIdentifier selectedTfoAzureNetworkId, IEnumerable vmNics, A2AVmSyncedConfigDetails vmSyncedConfigDetails, int? monitoringPercentageCompletion, string monitoringJobType, DateTimeOffset? lastHeartbeat, string agentVersion, DateTimeOffset? agentExpireOn, bool? isReplicationAgentUpdateRequired, DateTimeOffset? agentCertificateExpireOn, bool? isReplicationAgentCertificateUpdateRequired, ResourceIdentifier recoveryFabricObjectId, string vmProtectionState, string vmProtectionStateDescription, string lifecycleId, ResourceIdentifier testFailoverRecoveryFabricObjectId, long? rpoInSeconds, DateTimeOffset? lastRpoCalculatedOn, string primaryAvailabilityZone, string recoveryAvailabilityZone, SiteRecoveryExtendedLocation primaryExtendedLocation, SiteRecoveryExtendedLocation recoveryExtendedLocation, SiteRecoveryVmEncryptionType? vmEncryptionType, string tfoAzureVmName, string recoveryAzureGeneration, ResourceIdentifier recoveryProximityPlacementGroupId, AutoProtectionOfDataDisk? autoProtectionOfDataDisk, ResourceIdentifier recoveryVirtualMachineScaleSetId, ResourceIdentifier recoveryCapacityReservationGroupId, ChurnOptionSelected? churnOptionSelected)
+ {
+ return A2AReplicationDetails(fabricObjectId: fabricObjectId, initialPrimaryZone: initialPrimaryZone, initialPrimaryFabricLocation: initialPrimaryFabricLocation, initialRecoveryZone: initialRecoveryZone, initialPrimaryExtendedLocation: initialPrimaryExtendedLocation, initialRecoveryExtendedLocation: initialRecoveryExtendedLocation, initialRecoveryFabricLocation: initialRecoveryFabricLocation, multiVmGroupId: multiVmGroupId, multiVmGroupName: multiVmGroupName, multiVmGroupCreateOption: multiVmGroupCreateOption, managementId: managementId, protectionClusterId: default, isClusterInfraReady: default, protectedDisks: protectedDisks, unprotectedDisks: unprotectedDisks, protectedManagedDisks: protectedManagedDisks, recoveryBootDiagStorageAccountId: recoveryBootDiagStorageAccountId, primaryFabricLocation: primaryFabricLocation, recoveryFabricLocation: recoveryFabricLocation, osType: osType, recoveryAzureVmSize: recoveryAzureVmSize, recoveryAzureVmName: recoveryAzureVmName, recoveryAzureResourceGroupId: recoveryAzureResourceGroupId, recoveryCloudService: recoveryCloudService, recoveryAvailabilitySet: recoveryAvailabilitySet, selectedRecoveryAzureNetworkId: selectedRecoveryAzureNetworkId, selectedTfoAzureNetworkId: selectedTfoAzureNetworkId, vmNics: vmNics, vmSyncedConfigDetails: vmSyncedConfigDetails, monitoringPercentageCompletion: monitoringPercentageCompletion, monitoringJobType: monitoringJobType, lastHeartbeat: lastHeartbeat, agentVersion: agentVersion, agentExpireOn: agentExpireOn, isReplicationAgentUpdateRequired: isReplicationAgentUpdateRequired, agentCertificateExpireOn: agentCertificateExpireOn, isReplicationAgentCertificateUpdateRequired: isReplicationAgentCertificateUpdateRequired, recoveryFabricObjectId: recoveryFabricObjectId, vmProtectionState: vmProtectionState, vmProtectionStateDescription: vmProtectionStateDescription, lifecycleId: lifecycleId, testFailoverRecoveryFabricObjectId: testFailoverRecoveryFabricObjectId, rpoInSeconds: rpoInSeconds, lastRpoCalculatedOn: lastRpoCalculatedOn, primaryAvailabilityZone: primaryAvailabilityZone, recoveryAvailabilityZone: recoveryAvailabilityZone, primaryExtendedLocation: primaryExtendedLocation, recoveryExtendedLocation: recoveryExtendedLocation, vmEncryptionType: vmEncryptionType, tfoAzureVmName: tfoAzureVmName, recoveryAzureGeneration: recoveryAzureGeneration, recoveryProximityPlacementGroupId: recoveryProximityPlacementGroupId, autoProtectionOfDataDisk: autoProtectionOfDataDisk, recoveryVirtualMachineScaleSetId: recoveryVirtualMachineScaleSetId, recoveryCapacityReservationGroupId: recoveryCapacityReservationGroupId, churnOptionSelected: churnOptionSelected);
+ }
+
+ /// Initializes a new instance of .
+ /// The disk Id.
+ /// Seed managed disk Id.
+ /// The replica disk type.
+ /// The disk encryption set ARM Id.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static HyperVReplicaAzureManagedDiskDetails HyperVReplicaAzureManagedDiskDetails(string diskId, string seedManagedDiskId, string replicaDiskType, ResourceIdentifier diskEncryptionSetId)
+ {
+ return HyperVReplicaAzureManagedDiskDetails(diskId: diskId, seedManagedDiskId: seedManagedDiskId, replicaDiskType: replicaDiskType, diskEncryptionSetId: diskEncryptionSetId, targetDiskAccountType: default, sectorSizeInBytes: default);
+ }
+
+ /// Initializes a new instance of .
+ /// Azure VM Disk details.
+ /// Recovery Azure given name.
+ /// The Recovery Azure VM size.
+ /// The recovery Azure storage account.
+ /// The ARM id of the log storage account used for replication. This will be set to null if no log storage account was provided during enable protection.
+ /// The Last replication time.
+ /// Last RPO value.
+ /// The last RPO calculated time.
+ /// The virtual machine Id.
+ /// The protection state for the vm.
+ /// The protection state description for the vm.
+ /// Initial replication details.
+ /// The PE Network details.
+ /// The selected recovery azure network Id.
+ /// The selected source nic Id which will be used as the primary nic during failover.
+ /// The encryption info.
+ /// The operating system info.
+ /// The RAM size of the VM on the primary side.
+ /// The CPU count of the VM on the primary side.
+ /// The selected option to enable RDP\SSH on target vm after failover. String value of SrsDataContract.EnableRDPOnTargetOption enum.
+ /// The target resource group Id.
+ /// The recovery availability set Id.
+ /// The target availability zone.
+ /// The target proximity placement group Id.
+ /// A value indicating whether managed disks should be used during failover.
+ /// License Type of the VM to be used.
+ /// The SQL Server license type.
+ /// The last recovery point received time.
+ /// The target VM tags.
+ /// The tags for the seed managed disks.
+ /// The tags for the target managed disks.
+ /// The tags for the target NICs.
+ /// The list of protected managed disks.
+ /// A value indicating all available inplace OS Upgrade configurations.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static HyperVReplicaAzureReplicationDetails HyperVReplicaAzureReplicationDetails(IEnumerable azureVmDiskDetails, string recoveryAzureVmName, string recoveryAzureVmSize, string recoveryAzureStorageAccount, ResourceIdentifier recoveryAzureLogStorageAccountId, DateTimeOffset? lastReplicatedOn, long? rpoInSeconds, DateTimeOffset? lastRpoCalculatedOn, string vmId, string vmProtectionState, string vmProtectionStateDescription, InitialReplicationDetails initialReplicationDetails, IEnumerable vmNics, ResourceIdentifier selectedRecoveryAzureNetworkId, string selectedSourceNicId, string encryption, SiteRecoveryOSDetails osDetails, int? sourceVmRamSizeInMB, int? sourceVmCpuCount, string enableRdpOnTargetOption, ResourceIdentifier recoveryAzureResourceGroupId, ResourceIdentifier recoveryAvailabilitySetId, string targetAvailabilityZone, ResourceIdentifier targetProximityPlacementGroupId, string useManagedDisks, string licenseType, string sqlServerLicenseType, DateTimeOffset? lastRecoveryPointReceived, IReadOnlyDictionary targetVmTags, IReadOnlyDictionary seedManagedDiskTags, IReadOnlyDictionary targetManagedDiskTags, IReadOnlyDictionary targetNicTags, IEnumerable protectedManagedDisks, IEnumerable allAvailableOSUpgradeConfigurations)
+ {
+ return HyperVReplicaAzureReplicationDetails(azureVmDiskDetails: azureVmDiskDetails, recoveryAzureVmName: recoveryAzureVmName, recoveryAzureVmSize: recoveryAzureVmSize, recoveryAzureStorageAccount: recoveryAzureStorageAccount, recoveryAzureLogStorageAccountId: recoveryAzureLogStorageAccountId, lastReplicatedOn: lastReplicatedOn, rpoInSeconds: rpoInSeconds, lastRpoCalculatedOn: lastRpoCalculatedOn, vmId: vmId, vmProtectionState: vmProtectionState, vmProtectionStateDescription: vmProtectionStateDescription, initialReplicationDetails: initialReplicationDetails, vmNics: vmNics, selectedRecoveryAzureNetworkId: selectedRecoveryAzureNetworkId, selectedSourceNicId: selectedSourceNicId, encryption: encryption, osDetails: osDetails, sourceVmRamSizeInMB: sourceVmRamSizeInMB, sourceVmCpuCount: sourceVmCpuCount, enableRdpOnTargetOption: enableRdpOnTargetOption, recoveryAzureResourceGroupId: recoveryAzureResourceGroupId, recoveryAvailabilitySetId: recoveryAvailabilitySetId, targetAvailabilityZone: targetAvailabilityZone, targetProximityPlacementGroupId: targetProximityPlacementGroupId, useManagedDisks: useManagedDisks, licenseType: licenseType, sqlServerLicenseType: sqlServerLicenseType, linuxLicenseType: default, lastRecoveryPointReceived: lastRecoveryPointReceived, targetVmTags: targetVmTags, seedManagedDiskTags: seedManagedDiskTags, targetManagedDiskTags: targetManagedDiskTags, targetNicTags: targetNicTags, protectedManagedDisks: protectedManagedDisks, allAvailableOSUpgradeConfigurations: allAvailableOSUpgradeConfigurations, targetVmSecurityProfile: default);
+ }
+
+ /// Initializes a new instance of .
+ /// VM Disk details.
+ /// Product type.
+ /// The OSEdition.
+ /// The OS Version.
+ /// The OS Major Version.
+ /// The OS Minor Version.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static SiteRecoveryOSDetails SiteRecoveryOSDetails(string osType, string productType, string osEdition, string osVersion, string osMajorVersion, string osMinorVersion)
+ {
+ return SiteRecoveryOSDetails(osType: osType, productType: productType, osEdition: osEdition, osVersion: osVersion, osMajorVersion: osMajorVersion, osMinorVersion: osMinorVersion, userSelectedOSName: default);
+ }
+
+ /// Initializes a new instance of .
+ /// The disk Id.
+ /// The log storage account ARM Id.
+ /// The disk type.
+ /// The DiskEncryptionSet ARM Id.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static InMageRcmDiskContent InMageRcmDiskContent(string diskId, ResourceIdentifier logStorageAccountId, SiteRecoveryDiskAccountType diskType, ResourceIdentifier diskEncryptionSetId)
+ {
+ return InMageRcmDiskContent(diskId: diskId, logStorageAccountId: logStorageAccountId, diskType: diskType, diskEncryptionSetId: diskEncryptionSetId, sectorSizeInBytes: default);
+ }
+
+ /// Initializes a new instance of .
+ /// The log storage account ARM Id.
+ /// The disk type.
+ /// The DiskEncryptionSet ARM Id.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static InMageRcmDisksDefaultContent InMageRcmDisksDefaultContent(ResourceIdentifier logStorageAccountId, SiteRecoveryDiskAccountType diskType, ResourceIdentifier diskEncryptionSetId)
+ {
+ return InMageRcmDisksDefaultContent(logStorageAccountId: logStorageAccountId, diskType: diskType, diskEncryptionSetId: diskEncryptionSetId, sectorSizeInBytes: default);
+ }
+
+ /// Initializes a new instance of .
+ /// The ARM Id of discovered machine.
+ /// The disks to include list.
+ /// The default disk input.
+ /// The target resource group ARM Id.
+ /// The selected target network ARM Id.
+ /// The selected test network ARM Id.
+ /// The selected target subnet name.
+ /// The selected test subnet name.
+ /// The target VM name.
+ /// The target VM size.
+ /// The license type.
+ /// The target availability set ARM Id.
+ /// The target availability zone.
+ /// The target proximity placement group Id.
+ /// The target boot diagnostics storage account ARM Id.
+ /// The run-as account Id.
+ /// The process server Id.
+ /// The multi VM group name.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static InMageRcmEnableProtectionContent InMageRcmEnableProtectionContent(string fabricDiscoveryMachineId, IEnumerable disksToInclude, InMageRcmDisksDefaultContent disksDefault, ResourceIdentifier targetResourceGroupId, ResourceIdentifier targetNetworkId, ResourceIdentifier testNetworkId, string targetSubnetName, string testSubnetName, string targetVmName, string targetVmSize, SiteRecoveryLicenseType? licenseType, ResourceIdentifier targetAvailabilitySetId, string targetAvailabilityZone, ResourceIdentifier targetProximityPlacementGroupId, ResourceIdentifier targetBootDiagnosticsStorageAccountId, string runAsAccountId, Guid processServerId, string multiVmGroupName)
+ {
+ return InMageRcmEnableProtectionContent(fabricDiscoveryMachineId: fabricDiscoveryMachineId, disksToInclude: disksToInclude, disksDefault: disksDefault, targetResourceGroupId: targetResourceGroupId, targetNetworkId: targetNetworkId, testNetworkId: testNetworkId, targetSubnetName: targetSubnetName, testSubnetName: testSubnetName, targetVmName: targetVmName, targetVmSize: targetVmSize, licenseType: licenseType, targetAvailabilitySetId: targetAvailabilitySetId, targetAvailabilityZone: targetAvailabilityZone, targetProximityPlacementGroupId: targetProximityPlacementGroupId, targetBootDiagnosticsStorageAccountId: targetBootDiagnosticsStorageAccountId, runAsAccountId: runAsAccountId, processServerId: processServerId, multiVmGroupName: multiVmGroupName, sqlServerLicenseType: default, linuxLicenseType: default, targetVmTags: default, seedManagedDiskTags: default, targetManagedDiskTags: default, targetNicTags: default, userSelectedOSName: default, targetVmSecurityProfile: default);
+ }
+
+ /// Initializes a new instance of .
+ /// The NIC Id.
+ /// A value indicating whether this is the primary NIC.
+ /// A value indicating whether this NIC is selected for failover.
+ /// The source IP address.
+ /// The source IP address type.
+ /// Source network Id.
+ /// Source subnet name.
+ /// The target IP address.
+ /// The target IP address type.
+ /// Target subnet name.
+ /// Test subnet name.
+ /// The test IP address.
+ /// The test IP address type.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static InMageRcmNicDetails InMageRcmNicDetails(string nicId, string isPrimaryNic, string isSelectedForFailover, IPAddress sourceIPAddress, SiteRecoveryEthernetAddressType? sourceIPAddressType, ResourceIdentifier sourceNetworkId, string sourceSubnetName, IPAddress targetIPAddress, SiteRecoveryEthernetAddressType? targetIPAddressType, string targetSubnetName, string testSubnetName, IPAddress testIPAddress, SiteRecoveryEthernetAddressType? testIPAddressType)
+ {
+ return InMageRcmNicDetails(nicId: nicId, isPrimaryNic: isPrimaryNic, isSelectedForFailover: isSelectedForFailover, sourceIPAddress: sourceIPAddress, sourceIPAddressType: sourceIPAddressType, sourceNetworkId: sourceNetworkId, sourceSubnetName: sourceSubnetName, targetIPAddress: targetIPAddress, targetIPAddressType: targetIPAddressType, targetSubnetName: targetSubnetName, testSubnetName: testSubnetName, testIPAddress: testIPAddress, testIPAddressType: testIPAddressType, targetNicName: default);
+ }
+
+ /// Initializes a new instance of .
+ /// The NIC Id.
+ /// A value indicating whether this is the primary NIC.
+ /// A value indicating whether this NIC is selected for failover.
+ /// Target subnet name.
+ /// The target static IP address.
+ /// The test subnet name.
+ /// The test static IP address.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static InMageRcmNicContent InMageRcmNicContent(string nicId, string isPrimaryNic, string isSelectedForFailover, string targetSubnetName, IPAddress targetStaticIPAddress, string testSubnetName, IPAddress testStaticIPAddress)
+ {
+ return InMageRcmNicContent(nicId: nicId, isPrimaryNic: isPrimaryNic, isSelectedForFailover: isSelectedForFailover, targetSubnetName: targetSubnetName, targetStaticIPAddress: targetStaticIPAddress, testSubnetName: testSubnetName, testStaticIPAddress: testStaticIPAddress, targetNicName: default);
+ }
+
+ /// Initializes a new instance of .
+ /// The disk Id.
+ /// The disk name.
+ /// A value indicating whether the disk is the OS disk.
+ /// The disk capacity in bytes.
+ /// The log storage account ARM Id.
+ /// The DiskEncryptionSet ARM Id.
+ /// The ARM Id of the seed managed disk.
+ /// The uri of the seed blob.
+ /// The ARM Id of the target managed disk.
+ /// The disk type.
+ /// The data pending in log data store in MB.
+ /// The data pending at source agent in MB.
+ /// A value indicating whether initial replication is complete or not.
+ /// The initial replication details.
+ /// The resync details.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static InMageRcmProtectedDiskDetails InMageRcmProtectedDiskDetails(string diskId, string diskName, string isOSDisk, long? capacityInBytes, ResourceIdentifier logStorageAccountId, ResourceIdentifier diskEncryptionSetId, string seedManagedDiskId, Uri seedBlobUri, string targetManagedDiskId, SiteRecoveryDiskAccountType? diskType, double? dataPendingInLogDataStoreInMB, double? dataPendingAtSourceAgentInMB, string isInitialReplicationComplete, InMageRcmSyncDetails irDetails, InMageRcmSyncDetails resyncDetails)
+ {
+ return InMageRcmProtectedDiskDetails(diskId: diskId, diskName: diskName, isOSDisk: isOSDisk, capacityInBytes: capacityInBytes, diskState: default, logStorageAccountId: logStorageAccountId, diskEncryptionSetId: diskEncryptionSetId, seedManagedDiskId: seedManagedDiskId, seedBlobUri: seedBlobUri, targetManagedDiskId: targetManagedDiskId, diskType: diskType, dataPendingInLogDataStoreInMB: dataPendingInLogDataStoreInMB, dataPendingAtSourceAgentInMB: dataPendingAtSourceAgentInMB, isInitialReplicationComplete: isInitialReplicationComplete, irDetails: irDetails, resyncDetails: resyncDetails, customTargetDiskName: default, sectorSizeInBytes: default);
+ }
+
+ /// Initializes a new instance of .
+ /// The virtual machine internal identifier.
+ /// The ARM Id of the discovered VM.
+ /// The multi VM group name.
+ /// The type of the discovered VM.
+ /// The process server Id.
+ /// The processor core count.
+ /// The allocated memory in MB.
+ /// The process server name.
+ /// The run-as account Id.
+ /// The type of the OS on the VM.
+ /// The firmware type.
+ /// The IP address of the primary network interface.
+ /// The target generation.
+ /// License Type of the VM to be used.
+ /// The replication storage account ARM Id. This is applicable only for the blob based replication test hook.
+ /// Target VM name.
+ /// The target VM size.
+ /// The target resource group Id.
+ /// The target location.
+ /// The target availability set Id.
+ /// The target availability zone.
+ /// The target proximity placement group Id.
+ /// The target boot diagnostics storage account ARM Id.
+ /// The target network Id.
+ /// The test network Id.
+ /// The recovery point Id to which the VM was failed over.
+ /// The last recovery point received time.
+ /// The last recovery point objective value.
+ /// The last recovery point objective calculated time.
+ /// The last recovery point Id.
+ /// The initial replication progress percentage. This is calculated based on total bytes processed for all disks in the source VM.
+ /// The initial replication processed bytes. This includes sum of total bytes transferred and matched bytes on all selected disks in source VM.
+ /// The initial replication transferred bytes from source VM to azure for all selected disks on source VM.
+ /// The initial replication progress health.
+ /// The resync progress percentage. This is calculated based on total bytes processed for all disks in the source VM.
+ /// The resync processed bytes. This includes sum of total bytes transferred and matched bytes on all selected disks in source VM.
+ /// The resync transferred bytes from source VM to azure for all selected disks on source VM.
+ /// The resync progress health.
+ /// A value indicating whether resync is required.
+ /// The resync state.
+ /// The agent auto upgrade state.
+ /// The last agent upgrade type.
+ /// The agent upgrade job Id.
+ /// The agent version to which last agent upgrade was attempted.
+ /// The list of protected disks.
+ /// A value indicating whether last agent upgrade was successful or not.
+ /// A value indicating whether agent registration was successful after failover.
+ /// The mobility agent information.
+ /// The last agent upgrade error information.
+ /// The agent upgrade blocking error information.
+ /// The network details.
+ /// The discovered VM details.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static InMageRcmReplicationDetails InMageRcmReplicationDetails(string internalIdentifier, string fabricDiscoveryMachineId, string multiVmGroupName, string discoveryType, Guid? processServerId, int? processorCoreCount, double? allocatedMemoryInMB, string processServerName, string runAsAccountId, string osType, string firmwareType, IPAddress primaryNicIPAddress, string targetGeneration, string licenseType, ResourceIdentifier storageAccountId, string targetVmName, string targetVmSize, ResourceIdentifier targetResourceGroupId, string targetLocation, ResourceIdentifier targetAvailabilitySetId, string targetAvailabilityZone, ResourceIdentifier targetProximityPlacementGroupId, ResourceIdentifier targetBootDiagnosticsStorageAccountId, ResourceIdentifier targetNetworkId, ResourceIdentifier testNetworkId, ResourceIdentifier failoverRecoveryPointId, DateTimeOffset? lastRecoveryPointReceived, long? lastRpoInSeconds, DateTimeOffset? lastRpoCalculatedOn, ResourceIdentifier lastRecoveryPointId, int? initialReplicationProgressPercentage, long? initialReplicationProcessedBytes, long? initialReplicationTransferredBytes, VmReplicationProgressHealth? initialReplicationProgressHealth, int? resyncProgressPercentage, long? resyncProcessedBytes, long? resyncTransferredBytes, VmReplicationProgressHealth? resyncProgressHealth, string resyncRequired, SiteRecoveryResyncState? resyncState, MobilityAgentUpgradeState? agentUpgradeState, string lastAgentUpgradeType, string agentUpgradeJobId, string agentUpgradeAttemptToVersion, IEnumerable protectedDisks, string isLastUpgradeSuccessful, bool? isAgentRegistrationSuccessfulAfterFailover, InMageRcmMobilityAgentDetails mobilityAgentDetails, IEnumerable lastAgentUpgradeErrorDetails, IEnumerable agentUpgradeBlockingErrorDetails, IEnumerable vmNics, InMageRcmDiscoveredProtectedVmDetails discoveredVmDetails)
+ {
+ return InMageRcmReplicationDetails(internalIdentifier: internalIdentifier, fabricDiscoveryMachineId: fabricDiscoveryMachineId, multiVmGroupName: multiVmGroupName, discoveryType: discoveryType, processServerId: processServerId, processorCoreCount: processorCoreCount, allocatedMemoryInMB: allocatedMemoryInMB, processServerName: processServerName, runAsAccountId: runAsAccountId, osType: osType, firmwareType: firmwareType, primaryNicIPAddress: primaryNicIPAddress, targetGeneration: targetGeneration, licenseType: licenseType, linuxLicenseType: default, storageAccountId: storageAccountId, targetVmName: targetVmName, targetVmSize: targetVmSize, targetResourceGroupId: targetResourceGroupId, targetLocation: targetLocation, targetAvailabilitySetId: targetAvailabilitySetId, targetAvailabilityZone: targetAvailabilityZone, targetProximityPlacementGroupId: targetProximityPlacementGroupId, targetBootDiagnosticsStorageAccountId: targetBootDiagnosticsStorageAccountId, targetNetworkId: targetNetworkId, testNetworkId: testNetworkId, failoverRecoveryPointId: failoverRecoveryPointId, lastRecoveryPointReceived: lastRecoveryPointReceived, lastRpoInSeconds: lastRpoInSeconds, lastRpoCalculatedOn: lastRpoCalculatedOn, lastRecoveryPointId: lastRecoveryPointId, initialReplicationProgressPercentage: initialReplicationProgressPercentage, initialReplicationProcessedBytes: initialReplicationProcessedBytes, initialReplicationTransferredBytes: initialReplicationTransferredBytes, initialReplicationProgressHealth: initialReplicationProgressHealth, resyncProgressPercentage: resyncProgressPercentage, resyncProcessedBytes: resyncProcessedBytes, resyncTransferredBytes: resyncTransferredBytes, resyncProgressHealth: resyncProgressHealth, resyncRequired: resyncRequired, resyncState: resyncState, agentUpgradeState: agentUpgradeState, lastAgentUpgradeType: lastAgentUpgradeType, agentUpgradeJobId: agentUpgradeJobId, agentUpgradeAttemptToVersion: agentUpgradeAttemptToVersion, protectedDisks: protectedDisks, unprotectedDisks: default, isLastUpgradeSuccessful: isLastUpgradeSuccessful, isAgentRegistrationSuccessfulAfterFailover: isAgentRegistrationSuccessfulAfterFailover, mobilityAgentDetails: mobilityAgentDetails, lastAgentUpgradeErrorDetails: lastAgentUpgradeErrorDetails, agentUpgradeBlockingErrorDetails: agentUpgradeBlockingErrorDetails, vmNics: vmNics, discoveredVmDetails: discoveredVmDetails, targetVmTags: default, seedManagedDiskTags: default, targetManagedDiskTags: default, targetNicTags: default, sqlServerLicenseType: default, supportedOSVersions: default, osName: default, targetVmSecurityProfile: default);
+ }
+
+ /// Initializes a new instance of .
+ /// A value indicating whether VM is to be shutdown.
+ /// The recovery point id to be passed to failover to a particular recovery point. In case of latest recovery point, null should be passed.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static InMageRcmUnplannedFailoverContent InMageRcmUnplannedFailoverContent(string performShutdown, ResourceIdentifier recoveryPointId)
+ {
+ return InMageRcmUnplannedFailoverContent(performShutdown: performShutdown, recoveryPointId: recoveryPointId, osUpgradeVersion: default);
+ }
+
+ /// Initializes a new instance of .
+ /// The disk Id.
+ /// The disk type.
+ /// A value indicating whether the disk is the OS disk.
+ /// The log storage account ARM Id.
+ /// The key vault secret name of the log storage account.
+ /// The DiskEncryptionSet ARM Id.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static VMwareCbtDiskContent VMwareCbtDiskContent(string diskId, SiteRecoveryDiskAccountType? diskType, string isOSDisk, ResourceIdentifier logStorageAccountId, string logStorageAccountSasSecretName, ResourceIdentifier diskEncryptionSetId)
+ {
+ return VMwareCbtDiskContent(diskId: diskId, diskType: diskType, isOSDisk: isOSDisk, logStorageAccountId: logStorageAccountId, logStorageAccountSasSecretName: logStorageAccountSasSecretName, diskEncryptionSetId: diskEncryptionSetId, sectorSizeInBytes: default);
+ }
+
+ /// Initializes a new instance of .
+ /// The ARM Id of the VM discovered in VMware.
+ /// The disks to include list.
+ /// License type.
+ /// The SQL Server license type.
+ /// A value indicating whether bulk SQL RP registration to be done.
+ /// The data mover run as account Id.
+ /// The snapshot run as account Id.
+ /// The target VM name.
+ /// The target VM size.
+ /// The target resource group ARM Id.
+ /// The target network ARM Id.
+ /// The selected test network ARM Id.
+ /// The target subnet name.
+ /// The selected test subnet name.
+ /// The target availability set ARM Id.
+ /// The target availability zone.
+ /// The target proximity placement group ARM Id.
+ /// The confidential VM key vault Id for ADE installation.
+ /// The target VM security profile.
+ /// The target boot diagnostics storage account ARM Id.
+ /// A value indicating whether auto resync is to be done.
+ /// The target VM tags.
+ /// The tags for the seed disks.
+ /// The tags for the target disks.
+ /// The tags for the target NICs.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static VMwareCbtEnableMigrationContent VMwareCbtEnableMigrationContent(ResourceIdentifier vmwareMachineId, IEnumerable disksToInclude, SiteRecoveryLicenseType? licenseType, SiteRecoverySqlServerLicenseType? sqlServerLicenseType, string performSqlBulkRegistration, ResourceIdentifier dataMoverRunAsAccountId, ResourceIdentifier snapshotRunAsAccountId, string targetVmName, string targetVmSize, ResourceIdentifier targetResourceGroupId, ResourceIdentifier targetNetworkId, ResourceIdentifier testNetworkId, string targetSubnetName, string testSubnetName, ResourceIdentifier targetAvailabilitySetId, string targetAvailabilityZone, ResourceIdentifier targetProximityPlacementGroupId, ResourceIdentifier confidentialVmKeyVaultId, VMwareCbtSecurityProfileProperties targetVmSecurityProfile, ResourceIdentifier targetBootDiagnosticsStorageAccountId, string performAutoResync, IDictionary targetVmTags, IDictionary seedDiskTags, IDictionary targetDiskTags, IDictionary targetNicTags)
+ {
+ return VMwareCbtEnableMigrationContent(vmwareMachineId: vmwareMachineId, disksToInclude: disksToInclude, licenseType: licenseType, sqlServerLicenseType: sqlServerLicenseType, linuxLicenseType: default, performSqlBulkRegistration: performSqlBulkRegistration, dataMoverRunAsAccountId: dataMoverRunAsAccountId, snapshotRunAsAccountId: snapshotRunAsAccountId, targetVmName: targetVmName, targetVmSize: targetVmSize, targetResourceGroupId: targetResourceGroupId, targetNetworkId: targetNetworkId, testNetworkId: testNetworkId, targetSubnetName: targetSubnetName, testSubnetName: testSubnetName, targetAvailabilitySetId: targetAvailabilitySetId, targetAvailabilityZone: targetAvailabilityZone, targetProximityPlacementGroupId: targetProximityPlacementGroupId, confidentialVmKeyVaultId: confidentialVmKeyVaultId, targetVmSecurityProfile: targetVmSecurityProfile, targetBootDiagnosticsStorageAccountId: targetBootDiagnosticsStorageAccountId, performAutoResync: performAutoResync, targetVmTags: targetVmTags, seedDiskTags: seedDiskTags, targetDiskTags: targetDiskTags, targetNicTags: targetNicTags, userSelectedOSName: default);
+ }
+
+ /// Initializes a new instance of .
+ /// A value indicating whether VM is to be shutdown.
+ /// A value indicating the inplace OS Upgrade version.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static VMwareCbtMigrateContent VMwareCbtMigrateContent(string performShutdown, string osUpgradeVersion)
+ {
+ return VMwareCbtMigrateContent(performShutdown: performShutdown, osUpgradeVersion: osUpgradeVersion, postMigrationSteps: default);
+ }
+
+ /// Initializes a new instance of .
+ /// The ARM Id of the VM discovered in VMware.
+ /// The type of the OS on the VM.
+ /// The name of the OS on the VM.
+ /// The firmware type.
+ /// The target generation.
+ /// License Type of the VM to be used.
+ /// The SQL Server license type.
+ /// The data mover run as account Id.
+ /// The snapshot run as account Id.
+ /// The replication storage account ARM Id. This is applicable only for the blob based replication test hook.
+ /// Target VM name.
+ /// The target VM size.
+ /// The target location.
+ /// The target resource group Id.
+ /// The target availability set Id.
+ /// The target availability zone.
+ /// The target proximity placement group Id.
+ /// The confidential VM key vault Id for ADE installation.
+ /// The target VM security profile.
+ /// The target boot diagnostics storage account ARM Id.
+ /// The target VM tags.
+ /// The list of protected disks.
+ /// The target network Id.
+ /// The test network Id.
+ /// The network details.
+ /// The tags for the target NICs.
+ /// The recovery point Id to which the VM was migrated.
+ /// The last recovery point received time.
+ /// The last recovery point Id.
+ /// The initial seeding progress percentage.
+ /// The migration progress percentage.
+ /// The resync progress percentage.
+ /// The resume progress percentage.
+ /// The delta sync progress percentage.
+ /// A value indicating whether checksum resync cycle is in progress.
+ /// The initial seeding retry count.
+ /// The resync retry count.
+ /// The resume retry count.
+ /// The delta sync retry count.
+ /// A value indicating whether resync is required.
+ /// The resync state.
+ /// A value indicating whether auto resync is to be done.
+ /// The tags for the seed disks.
+ /// The tags for the target disks.
+ /// A value indicating the inplace OS Upgrade version.
+ /// A value indicating the appliance monitoring details.
+ /// A value indicating the gateway operation details.
+ /// A value indicating the SRS operation name.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static VMwareCbtMigrationDetails VMwareCbtMigrationDetails(ResourceIdentifier vmwareMachineId, string osType, string osName, string firmwareType, string targetGeneration, string licenseType, string sqlServerLicenseType, ResourceIdentifier dataMoverRunAsAccountId, ResourceIdentifier snapshotRunAsAccountId, ResourceIdentifier storageAccountId, string targetVmName, string targetVmSize, string targetLocation, ResourceIdentifier targetResourceGroupId, ResourceIdentifier targetAvailabilitySetId, string targetAvailabilityZone, ResourceIdentifier targetProximityPlacementGroupId, ResourceIdentifier confidentialVmKeyVaultId, VMwareCbtSecurityProfileProperties targetVmSecurityProfile, ResourceIdentifier targetBootDiagnosticsStorageAccountId, IReadOnlyDictionary targetVmTags, IEnumerable protectedDisks, ResourceIdentifier targetNetworkId, ResourceIdentifier testNetworkId, IEnumerable vmNics, IReadOnlyDictionary targetNicTags, ResourceIdentifier migrationRecoveryPointId, DateTimeOffset? lastRecoveryPointReceived, ResourceIdentifier lastRecoveryPointId, int? initialSeedingProgressPercentage, int? migrationProgressPercentage, int? resyncProgressPercentage, int? resumeProgressPercentage, int? deltaSyncProgressPercentage, string isCheckSumResyncCycle, long? initialSeedingRetryCount, long? resyncRetryCount, long? resumeRetryCount, long? deltaSyncRetryCount, string resyncRequired, SiteRecoveryResyncState? resyncState, string performAutoResync, IReadOnlyDictionary seedDiskTags, IReadOnlyDictionary targetDiskTags, IEnumerable supportedOSVersions, ApplianceMonitoringDetails applianceMonitoringDetails, GatewayOperationDetails gatewayOperationDetails, string operationName)
+ {
+ return VMwareCbtMigrationDetails(vmwareMachineId: vmwareMachineId, osType: osType, osName: osName, firmwareType: firmwareType, targetGeneration: targetGeneration, licenseType: licenseType, sqlServerLicenseType: sqlServerLicenseType, linuxLicenseType: default, dataMoverRunAsAccountId: dataMoverRunAsAccountId, snapshotRunAsAccountId: snapshotRunAsAccountId, storageAccountId: storageAccountId, targetVmName: targetVmName, targetVmSize: targetVmSize, targetLocation: targetLocation, targetResourceGroupId: targetResourceGroupId, targetAvailabilitySetId: targetAvailabilitySetId, targetAvailabilityZone: targetAvailabilityZone, targetProximityPlacementGroupId: targetProximityPlacementGroupId, confidentialVmKeyVaultId: confidentialVmKeyVaultId, targetVmSecurityProfile: targetVmSecurityProfile, targetBootDiagnosticsStorageAccountId: targetBootDiagnosticsStorageAccountId, targetVmTags: targetVmTags, protectedDisks: protectedDisks, targetNetworkId: targetNetworkId, testNetworkId: testNetworkId, vmNics: vmNics, targetNicTags: targetNicTags, migrationRecoveryPointId: migrationRecoveryPointId, lastRecoveryPointReceived: lastRecoveryPointReceived, lastRecoveryPointId: lastRecoveryPointId, initialSeedingProgressPercentage: initialSeedingProgressPercentage, migrationProgressPercentage: migrationProgressPercentage, resyncProgressPercentage: resyncProgressPercentage, resumeProgressPercentage: resumeProgressPercentage, deltaSyncProgressPercentage: deltaSyncProgressPercentage, isCheckSumResyncCycle: isCheckSumResyncCycle, initialSeedingRetryCount: initialSeedingRetryCount, resyncRetryCount: resyncRetryCount, resumeRetryCount: resumeRetryCount, deltaSyncRetryCount: deltaSyncRetryCount, resyncRequired: resyncRequired, resyncState: resyncState, performAutoResync: performAutoResync, seedDiskTags: seedDiskTags, targetDiskTags: targetDiskTags, supportedOSVersions: supportedOSVersions, applianceMonitoringDetails: applianceMonitoringDetails, gatewayOperationDetails: gatewayOperationDetails, operationName: operationName);
+ }
+
+ /// Initializes a new instance of .
+ /// The disk id.
+ /// The disk name.
+ /// The disk type.
+ /// The disk path.
+ /// A value indicating whether the disk is the OS disk.
+ /// The disk capacity in bytes.
+ /// The log storage account ARM Id.
+ /// The key vault secret name of the log storage account.
+ /// The DiskEncryptionSet ARM Id.
+ /// The ARM Id of the seed managed disk.
+ /// The uri of the seed blob.
+ /// The ARM Id of the target managed disk.
+ /// The uri of the target blob.
+ /// The name for the target managed disk.
+ /// A value indicating the gateway operation details.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static VMwareCbtProtectedDiskDetails VMwareCbtProtectedDiskDetails(string diskId, string diskName, SiteRecoveryDiskAccountType? diskType, string diskPath, string isOSDisk, long? capacityInBytes, ResourceIdentifier logStorageAccountId, string logStorageAccountSasSecretName, ResourceIdentifier diskEncryptionSetId, string seedManagedDiskId, Uri seedBlobUri, string targetManagedDiskId, Uri targetBlobUri, string targetDiskName, GatewayOperationDetails gatewayOperationDetails)
+ {
+ return VMwareCbtProtectedDiskDetails(diskId: diskId, diskName: diskName, diskType: diskType, diskPath: diskPath, isOSDisk: isOSDisk, capacityInBytes: capacityInBytes, logStorageAccountId: logStorageAccountId, logStorageAccountSasSecretName: logStorageAccountSasSecretName, diskEncryptionSetId: diskEncryptionSetId, seedManagedDiskId: seedManagedDiskId, seedBlobUri: seedBlobUri, targetManagedDiskId: targetManagedDiskId, targetBlobUri: targetBlobUri, targetDiskName: targetDiskName, gatewayOperationDetails: gatewayOperationDetails, sectorSizeInBytes: default);
+ }
+
+ /// Initializes a new instance of .
+ /// The recovery point Id.
+ /// The test network Id.
+ /// The list of NIC details.
+ /// A value indicating the inplace OS Upgrade version.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static VMwareCbtTestMigrateContent VMwareCbtTestMigrateContent(ResourceIdentifier recoveryPointId, ResourceIdentifier networkId, IEnumerable vmNics, string osUpgradeVersion)
+ {
+ return VMwareCbtTestMigrateContent(recoveryPointId: recoveryPointId, networkId: networkId, vmNics: vmNics, osUpgradeVersion: osUpgradeVersion, postMigrationSteps: default);
+ }
}
}
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ClusterRecoveryPointCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ClusterRecoveryPointCollection.cs
new file mode 100644
index 000000000000..ea32ef7cb1f9
--- /dev/null
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ClusterRecoveryPointCollection.cs
@@ -0,0 +1,400 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Globalization;
+using System.Threading;
+using System.Threading.Tasks;
+using Autorest.CSharp.Core;
+using Azure.Core;
+using Azure.Core.Pipeline;
+
+namespace Azure.ResourceManager.RecoveryServicesSiteRecovery
+{
+ ///
+ /// A class representing a collection of and their operations.
+ /// Each in the collection will belong to the same instance of .
+ /// To get a instance call the GetClusterRecoveryPoints method from an instance of .
+ ///
+ public partial class ClusterRecoveryPointCollection : ArmCollection, IEnumerable, IAsyncEnumerable
+ {
+ private readonly ClientDiagnostics _clusterRecoveryPointClientDiagnostics;
+ private readonly ClusterRecoveryPointRestOperations _clusterRecoveryPointRestClient;
+ private readonly ClientDiagnostics _clusterRecoveryPointClientDiagnostics0;
+ private readonly ClusterRecoveryPointsRestOperations _clusterRecoveryPointRestClient0;
+
+ /// Initializes a new instance of the class for mocking.
+ protected ClusterRecoveryPointCollection()
+ {
+ }
+
+ /// Initializes a new instance of the class.
+ /// The client parameters to use in these operations.
+ /// The identifier of the parent resource that is the target of operations.
+ internal ClusterRecoveryPointCollection(ArmClient client, ResourceIdentifier id) : base(client, id)
+ {
+ _clusterRecoveryPointClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.RecoveryServicesSiteRecovery", ClusterRecoveryPointResource.ResourceType.Namespace, Diagnostics);
+ TryGetApiVersion(ClusterRecoveryPointResource.ResourceType, out string clusterRecoveryPointApiVersion);
+ _clusterRecoveryPointRestClient = new ClusterRecoveryPointRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint, clusterRecoveryPointApiVersion);
+ _clusterRecoveryPointClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.RecoveryServicesSiteRecovery", ClusterRecoveryPointResource.ResourceType.Namespace, Diagnostics);
+ TryGetApiVersion(ClusterRecoveryPointResource.ResourceType, out string clusterRecoveryPointApiVersion);
+ _clusterRecoveryPointRestClient = new ClusterRecoveryPointsRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint, clusterRecoveryPointApiVersion);
+#if DEBUG
+ ValidateResourceId(Id);
+#endif
+ }
+
+ internal static void ValidateResourceId(ResourceIdentifier id)
+ {
+ if (id.ResourceType != VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource.ResourceType)
+ throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, "Invalid resource type {0} expected {1}", id.ResourceType, VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource.ResourceType), nameof(id));
+ }
+
+ ///
+ /// Get the details of specified recovery point.
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionClusters/{replicationProtectionClusterName}/recoveryPoints/{recoveryPointName}
+ ///
+ /// -
+ /// Operation Id
+ /// ClusterRecoveryPoint_Get
+ ///
+ /// -
+ /// Default Api Version
+ /// 2024-10-01
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The recovery point name.
+ /// The cancellation token to use.
+ /// is an empty string, and was expected to be non-empty.
+ /// is null.
+ public virtual async Task> GetAsync(string recoveryPointName, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(recoveryPointName, nameof(recoveryPointName));
+
+ using var scope = _clusterRecoveryPointClientDiagnostics.CreateScope("ClusterRecoveryPointCollection.Get");
+ scope.Start();
+ try
+ {
+ var response = await _clusterRecoveryPointRestClient.GetAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Parent.Parent.Name, Id.Parent.Parent.Name, Id.Parent.Name, Id.Name, recoveryPointName, cancellationToken).ConfigureAwait(false);
+ if (response.Value == null)
+ throw new RequestFailedException(response.GetRawResponse());
+ return Response.FromValue(new ClusterRecoveryPointResource(Client, response.Value), response.GetRawResponse());
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// Get the details of specified recovery point.
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionClusters/{replicationProtectionClusterName}/recoveryPoints/{recoveryPointName}
+ ///
+ /// -
+ /// Operation Id
+ /// ClusterRecoveryPoint_Get
+ ///
+ /// -
+ /// Default Api Version
+ /// 2024-10-01
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The recovery point name.
+ /// The cancellation token to use.
+ /// is an empty string, and was expected to be non-empty.
+ /// is null.
+ public virtual Response Get(string recoveryPointName, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(recoveryPointName, nameof(recoveryPointName));
+
+ using var scope = _clusterRecoveryPointClientDiagnostics.CreateScope("ClusterRecoveryPointCollection.Get");
+ scope.Start();
+ try
+ {
+ var response = _clusterRecoveryPointRestClient.Get(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Parent.Parent.Name, Id.Parent.Parent.Name, Id.Parent.Name, Id.Name, recoveryPointName, cancellationToken);
+ if (response.Value == null)
+ throw new RequestFailedException(response.GetRawResponse());
+ return Response.FromValue(new ClusterRecoveryPointResource(Client, response.Value), response.GetRawResponse());
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// The list of cluster recovery points.
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionClusters/{replicationProtectionClusterName}/recoveryPoints
+ ///
+ /// -
+ /// Operation Id
+ /// ClusterRecoveryPoints_ListByReplicationProtectionCluster
+ ///
+ /// -
+ /// Default Api Version
+ /// 2024-10-01
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The cancellation token to use.
+ /// An async collection of that may take multiple service requests to iterate over.
+ public virtual AsyncPageable GetAllAsync(CancellationToken cancellationToken = default)
+ {
+ HttpMessage FirstPageRequest(int? pageSizeHint) => _clusterRecoveryPointRestClient.CreateListByReplicationProtectionClusterRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Parent.Parent.Name, Id.Parent.Parent.Name, Id.Parent.Name, Id.Name);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => _clusterRecoveryPointRestClient.CreateListByReplicationProtectionClusterNextPageRequest(nextLink, Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Parent.Parent.Name, Id.Parent.Parent.Name, Id.Parent.Name, Id.Name);
+ return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => new ClusterRecoveryPointResource(Client, ClusterRecoveryPointData.DeserializeClusterRecoveryPointData(e)), _clusterRecoveryPointClientDiagnostics, Pipeline, "ClusterRecoveryPointCollection.GetAll", "value", "nextLink", cancellationToken);
+ }
+
+ ///
+ /// The list of cluster recovery points.
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionClusters/{replicationProtectionClusterName}/recoveryPoints
+ ///
+ /// -
+ /// Operation Id
+ /// ClusterRecoveryPoints_ListByReplicationProtectionCluster
+ ///
+ /// -
+ /// Default Api Version
+ /// 2024-10-01
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The cancellation token to use.
+ /// A collection of that may take multiple service requests to iterate over.
+ public virtual Pageable GetAll(CancellationToken cancellationToken = default)
+ {
+ HttpMessage FirstPageRequest(int? pageSizeHint) => _clusterRecoveryPointRestClient.CreateListByReplicationProtectionClusterRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Parent.Parent.Name, Id.Parent.Parent.Name, Id.Parent.Name, Id.Name);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => _clusterRecoveryPointRestClient.CreateListByReplicationProtectionClusterNextPageRequest(nextLink, Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Parent.Parent.Name, Id.Parent.Parent.Name, Id.Parent.Name, Id.Name);
+ return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => new ClusterRecoveryPointResource(Client, ClusterRecoveryPointData.DeserializeClusterRecoveryPointData(e)), _clusterRecoveryPointClientDiagnostics, Pipeline, "ClusterRecoveryPointCollection.GetAll", "value", "nextLink", cancellationToken);
+ }
+
+ ///
+ /// Checks to see if the resource exists in azure.
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionClusters/{replicationProtectionClusterName}/recoveryPoints/{recoveryPointName}
+ ///
+ /// -
+ /// Operation Id
+ /// ClusterRecoveryPoint_Get
+ ///
+ /// -
+ /// Default Api Version
+ /// 2024-10-01
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The recovery point name.
+ /// The cancellation token to use.
+ /// is an empty string, and was expected to be non-empty.
+ /// is null.
+ public virtual async Task> ExistsAsync(string recoveryPointName, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(recoveryPointName, nameof(recoveryPointName));
+
+ using var scope = _clusterRecoveryPointClientDiagnostics.CreateScope("ClusterRecoveryPointCollection.Exists");
+ scope.Start();
+ try
+ {
+ var response = await _clusterRecoveryPointRestClient.GetAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Parent.Parent.Name, Id.Parent.Parent.Name, Id.Parent.Name, Id.Name, recoveryPointName, cancellationToken: cancellationToken).ConfigureAwait(false);
+ return Response.FromValue(response.Value != null, response.GetRawResponse());
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// Checks to see if the resource exists in azure.
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionClusters/{replicationProtectionClusterName}/recoveryPoints/{recoveryPointName}
+ ///
+ /// -
+ /// Operation Id
+ /// ClusterRecoveryPoint_Get
+ ///
+ /// -
+ /// Default Api Version
+ /// 2024-10-01
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The recovery point name.
+ /// The cancellation token to use.
+ /// is an empty string, and was expected to be non-empty.
+ /// is null.
+ public virtual Response Exists(string recoveryPointName, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(recoveryPointName, nameof(recoveryPointName));
+
+ using var scope = _clusterRecoveryPointClientDiagnostics.CreateScope("ClusterRecoveryPointCollection.Exists");
+ scope.Start();
+ try
+ {
+ var response = _clusterRecoveryPointRestClient.Get(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Parent.Parent.Name, Id.Parent.Parent.Name, Id.Parent.Name, Id.Name, recoveryPointName, cancellationToken: cancellationToken);
+ return Response.FromValue(response.Value != null, response.GetRawResponse());
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// Tries to get details for this resource from the service.
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionClusters/{replicationProtectionClusterName}/recoveryPoints/{recoveryPointName}
+ ///
+ /// -
+ /// Operation Id
+ /// ClusterRecoveryPoint_Get
+ ///
+ /// -
+ /// Default Api Version
+ /// 2024-10-01
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The recovery point name.
+ /// The cancellation token to use.
+ /// is an empty string, and was expected to be non-empty.
+ /// is null.
+ public virtual async Task> GetIfExistsAsync(string recoveryPointName, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(recoveryPointName, nameof(recoveryPointName));
+
+ using var scope = _clusterRecoveryPointClientDiagnostics.CreateScope("ClusterRecoveryPointCollection.GetIfExists");
+ scope.Start();
+ try
+ {
+ var response = await _clusterRecoveryPointRestClient.GetAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Parent.Parent.Name, Id.Parent.Parent.Name, Id.Parent.Name, Id.Name, recoveryPointName, cancellationToken: cancellationToken).ConfigureAwait(false);
+ if (response.Value == null)
+ return new NoValueResponse(response.GetRawResponse());
+ return Response.FromValue(new ClusterRecoveryPointResource(Client, response.Value), response.GetRawResponse());
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// Tries to get details for this resource from the service.
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionClusters/{replicationProtectionClusterName}/recoveryPoints/{recoveryPointName}
+ ///
+ /// -
+ /// Operation Id
+ /// ClusterRecoveryPoint_Get
+ ///
+ /// -
+ /// Default Api Version
+ /// 2024-10-01
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The recovery point name.
+ /// The cancellation token to use.
+ /// is an empty string, and was expected to be non-empty.
+ /// is null.
+ public virtual NullableResponse GetIfExists(string recoveryPointName, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(recoveryPointName, nameof(recoveryPointName));
+
+ using var scope = _clusterRecoveryPointClientDiagnostics.CreateScope("ClusterRecoveryPointCollection.GetIfExists");
+ scope.Start();
+ try
+ {
+ var response = _clusterRecoveryPointRestClient.Get(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Parent.Parent.Name, Id.Parent.Parent.Name, Id.Parent.Name, Id.Name, recoveryPointName, cancellationToken: cancellationToken);
+ if (response.Value == null)
+ return new NoValueResponse(response.GetRawResponse());
+ return Response.FromValue(new ClusterRecoveryPointResource(Client, response.Value), response.GetRawResponse());
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetAll().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetAll().GetEnumerator();
+ }
+
+ IAsyncEnumerator IAsyncEnumerable.GetAsyncEnumerator(CancellationToken cancellationToken)
+ {
+ return GetAllAsync(cancellationToken: cancellationToken).GetAsyncEnumerator(cancellationToken);
+ }
+ }
+}
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ClusterRecoveryPointData.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ClusterRecoveryPointData.Serialization.cs
new file mode 100644
index 000000000000..065a07f8d0ee
--- /dev/null
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ClusterRecoveryPointData.Serialization.cs
@@ -0,0 +1,167 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel.Primitives;
+using System.Collections.Generic;
+using System.Text.Json;
+using Azure.Core;
+using Azure.ResourceManager.Models;
+using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models;
+
+namespace Azure.ResourceManager.RecoveryServicesSiteRecovery
+{
+ public partial class ClusterRecoveryPointData : IUtf8JsonSerializable, IJsonModel
+ {
+ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions);
+
+ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ writer.WriteStartObject();
+ JsonModelWriteCore(writer, options);
+ writer.WriteEndObject();
+ }
+
+ /// The JSON writer.
+ /// The client options for reading and writing models.
+ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(ClusterRecoveryPointData)} does not support writing '{format}' format.");
+ }
+
+ base.JsonModelWriteCore(writer, options);
+ if (Optional.IsDefined(ClusterRecoveryPointType))
+ {
+ writer.WritePropertyName("type"u8);
+ writer.WriteStringValue(ClusterRecoveryPointType);
+ }
+ if (Optional.IsDefined(Properties))
+ {
+ writer.WritePropertyName("properties"u8);
+ writer.WriteObjectValue(Properties, options);
+ }
+ }
+
+ ClusterRecoveryPointData IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(ClusterRecoveryPointData)} does not support reading '{format}' format.");
+ }
+
+ using JsonDocument document = JsonDocument.ParseValue(ref reader);
+ return DeserializeClusterRecoveryPointData(document.RootElement, options);
+ }
+
+ internal static ClusterRecoveryPointData DeserializeClusterRecoveryPointData(JsonElement element, ModelReaderWriterOptions options = null)
+ {
+ options ??= ModelSerializationExtensions.WireOptions;
+
+ if (element.ValueKind == JsonValueKind.Null)
+ {
+ return null;
+ }
+ string type = default;
+ ClusterRecoveryPointProperties properties = default;
+ ResourceIdentifier id = default;
+ string name = default;
+ ResourceType type0 = default;
+ SystemData systemData = default;
+ IDictionary serializedAdditionalRawData = default;
+ Dictionary rawDataDictionary = new Dictionary();
+ foreach (var property in element.EnumerateObject())
+ {
+ if (property.NameEquals("type"u8))
+ {
+ type = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("properties"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ properties = ClusterRecoveryPointProperties.DeserializeClusterRecoveryPointProperties(property.Value, options);
+ continue;
+ }
+ if (property.NameEquals("id"u8))
+ {
+ id = new ResourceIdentifier(property.Value.GetString());
+ continue;
+ }
+ if (property.NameEquals("name"u8))
+ {
+ name = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("type"u8))
+ {
+ type0 = new ResourceType(property.Value.GetString());
+ continue;
+ }
+ if (property.NameEquals("systemData"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ systemData = JsonSerializer.Deserialize(property.Value.GetRawText());
+ continue;
+ }
+ if (options.Format != "W")
+ {
+ rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText()));
+ }
+ }
+ serializedAdditionalRawData = rawDataDictionary;
+ return new ClusterRecoveryPointData(
+ id,
+ name,
+ type0,
+ systemData,
+ type,
+ properties,
+ serializedAdditionalRawData);
+ }
+
+ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ return ModelReaderWriter.Write(this, options);
+ default:
+ throw new FormatException($"The model {nameof(ClusterRecoveryPointData)} does not support writing '{options.Format}' format.");
+ }
+ }
+
+ ClusterRecoveryPointData IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ {
+ using JsonDocument document = JsonDocument.Parse(data);
+ return DeserializeClusterRecoveryPointData(document.RootElement, options);
+ }
+ default:
+ throw new FormatException($"The model {nameof(ClusterRecoveryPointData)} does not support reading '{options.Format}' format.");
+ }
+ }
+
+ string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J";
+ }
+}
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ClusterRecoveryPointData.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ClusterRecoveryPointData.cs
new file mode 100644
index 000000000000..46e0bb6d9d46
--- /dev/null
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ClusterRecoveryPointData.cs
@@ -0,0 +1,79 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections.Generic;
+using Azure.Core;
+using Azure.ResourceManager.Models;
+using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models;
+
+namespace Azure.ResourceManager.RecoveryServicesSiteRecovery
+{
+ ///
+ /// A class representing the ClusterRecoveryPoint data model.
+ /// Recovery point.
+ ///
+ public partial class ClusterRecoveryPointData : ResourceData
+ {
+ ///
+ /// Keeps track of any properties unknown to the library.
+ ///
+ /// To assign an object to the value of this property use .
+ ///
+ ///
+ /// To assign an already formatted json string to this property use .
+ ///
+ ///
+ /// Examples:
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson("foo")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromString("\"foo\"")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson(new { key = "value" })
+ /// Creates a payload of { "key": "value" }.
+ ///
+ /// -
+ /// BinaryData.FromString("{\"key\": \"value\"}")
+ /// Creates a payload of { "key": "value" }.
+ ///
+ ///
+ ///
+ ///
+ private IDictionary _serializedAdditionalRawData;
+
+ /// Initializes a new instance of .
+ internal ClusterRecoveryPointData()
+ {
+ }
+
+ /// Initializes a new instance of .
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// The resource type.
+ /// The recovery point properties.
+ /// Keeps track of any properties unknown to the library.
+ internal ClusterRecoveryPointData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string clusterRecoveryPointType, ClusterRecoveryPointProperties properties, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData)
+ {
+ ClusterRecoveryPointType = clusterRecoveryPointType;
+ Properties = properties;
+ _serializedAdditionalRawData = serializedAdditionalRawData;
+ }
+
+ /// The resource type.
+ public string ClusterRecoveryPointType { get; }
+ /// The recovery point properties.
+ public ClusterRecoveryPointProperties Properties { get; }
+ }
+}
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ClusterRecoveryPointResource.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ClusterRecoveryPointResource.Serialization.cs
new file mode 100644
index 000000000000..a53669131ce9
--- /dev/null
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ClusterRecoveryPointResource.Serialization.cs
@@ -0,0 +1,26 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel.Primitives;
+using System.Text.Json;
+
+namespace Azure.ResourceManager.RecoveryServicesSiteRecovery
+{
+ public partial class ClusterRecoveryPointResource : IJsonModel
+ {
+ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) => ((IJsonModel)Data).Write(writer, options);
+
+ ClusterRecoveryPointData IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => ((IJsonModel)Data).Create(ref reader, options);
+
+ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => ModelReaderWriter.Write(Data, options);
+
+ ClusterRecoveryPointData IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => ModelReaderWriter.Read(data, options);
+
+ string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => ((IPersistableModel)Data).GetFormatFromOptions(options);
+ }
+}
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ClusterRecoveryPointResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ClusterRecoveryPointResource.cs
new file mode 100644
index 000000000000..cdb181a148b2
--- /dev/null
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ClusterRecoveryPointResource.cs
@@ -0,0 +1,174 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Globalization;
+using System.Threading;
+using System.Threading.Tasks;
+using Azure.Core;
+using Azure.Core.Pipeline;
+
+namespace Azure.ResourceManager.RecoveryServicesSiteRecovery
+{
+ ///
+ /// A Class representing a ClusterRecoveryPoint along with the instance operations that can be performed on it.
+ /// If you have a you can construct a
+ /// from an instance of using the GetClusterRecoveryPointResource method.
+ /// Otherwise you can get one from its parent resource using the GetClusterRecoveryPoint method.
+ ///
+ public partial class ClusterRecoveryPointResource : ArmResource
+ {
+ /// Generate the resource identifier of a instance.
+ /// The subscriptionId.
+ /// The resourceGroupName.
+ /// The resourceName.
+ /// The fabricName.
+ /// The protectionContainerName.
+ /// The replicationProtectionClusterName.
+ /// The recoveryPointName.
+ public static ResourceIdentifier CreateResourceIdentifier(string subscriptionId, string resourceGroupName, string resourceName, string fabricName, string protectionContainerName, string replicationProtectionClusterName, string recoveryPointName)
+ {
+ var resourceId = $"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionClusters/{replicationProtectionClusterName}/recoveryPoints/{recoveryPointName}";
+ return new ResourceIdentifier(resourceId);
+ }
+
+ private readonly ClientDiagnostics _clusterRecoveryPointClientDiagnostics;
+ private readonly ClusterRecoveryPointRestOperations _clusterRecoveryPointRestClient;
+ private readonly ClusterRecoveryPointData _data;
+
+ /// Gets the resource type for the operations.
+ public static readonly ResourceType ResourceType = "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionClusters/recoveryPoints";
+
+ /// Initializes a new instance of the class for mocking.
+ protected ClusterRecoveryPointResource()
+ {
+ }
+
+ /// Initializes a new instance of the class.
+ /// The client parameters to use in these operations.
+ /// The resource that is the target of operations.
+ internal ClusterRecoveryPointResource(ArmClient client, ClusterRecoveryPointData data) : this(client, data.Id)
+ {
+ HasData = true;
+ _data = data;
+ }
+
+ /// Initializes a new instance of the class.
+ /// The client parameters to use in these operations.
+ /// The identifier of the resource that is the target of operations.
+ internal ClusterRecoveryPointResource(ArmClient client, ResourceIdentifier id) : base(client, id)
+ {
+ _clusterRecoveryPointClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.RecoveryServicesSiteRecovery", ResourceType.Namespace, Diagnostics);
+ TryGetApiVersion(ResourceType, out string clusterRecoveryPointApiVersion);
+ _clusterRecoveryPointRestClient = new ClusterRecoveryPointRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint, clusterRecoveryPointApiVersion);
+#if DEBUG
+ ValidateResourceId(Id);
+#endif
+ }
+
+ /// Gets whether or not the current instance has data.
+ public virtual bool HasData { get; }
+
+ /// Gets the data representing this Feature.
+ /// Throws if there is no data loaded in the current instance.
+ public virtual ClusterRecoveryPointData Data
+ {
+ get
+ {
+ if (!HasData)
+ throw new InvalidOperationException("The current instance does not have data, you must call Get first.");
+ return _data;
+ }
+ }
+
+ internal static void ValidateResourceId(ResourceIdentifier id)
+ {
+ if (id.ResourceType != ResourceType)
+ throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, "Invalid resource type {0} expected {1}", id.ResourceType, ResourceType), nameof(id));
+ }
+
+ ///
+ /// Get the details of specified recovery point.
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionClusters/{replicationProtectionClusterName}/recoveryPoints/{recoveryPointName}
+ ///
+ /// -
+ /// Operation Id
+ /// ClusterRecoveryPoint_Get
+ ///
+ /// -
+ /// Default Api Version
+ /// 2024-10-01
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The cancellation token to use.
+ public virtual async Task> GetAsync(CancellationToken cancellationToken = default)
+ {
+ using var scope = _clusterRecoveryPointClientDiagnostics.CreateScope("ClusterRecoveryPointResource.Get");
+ scope.Start();
+ try
+ {
+ var response = await _clusterRecoveryPointRestClient.GetAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Parent.Parent.Parent.Name, Id.Parent.Parent.Parent.Name, Id.Parent.Parent.Name, Id.Parent.Name, Id.Name, cancellationToken).ConfigureAwait(false);
+ if (response.Value == null)
+ throw new RequestFailedException(response.GetRawResponse());
+ return Response.FromValue(new ClusterRecoveryPointResource(Client, response.Value), response.GetRawResponse());
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// Get the details of specified recovery point.
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionClusters/{replicationProtectionClusterName}/recoveryPoints/{recoveryPointName}
+ ///
+ /// -
+ /// Operation Id
+ /// ClusterRecoveryPoint_Get
+ ///
+ /// -
+ /// Default Api Version
+ /// 2024-10-01
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The cancellation token to use.
+ public virtual Response Get(CancellationToken cancellationToken = default)
+ {
+ using var scope = _clusterRecoveryPointClientDiagnostics.CreateScope("ClusterRecoveryPointResource.Get");
+ scope.Start();
+ try
+ {
+ var response = _clusterRecoveryPointRestClient.Get(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Parent.Parent.Parent.Name, Id.Parent.Parent.Parent.Name, Id.Parent.Parent.Name, Id.Parent.Name, Id.Name, cancellationToken);
+ if (response.Value == null)
+ throw new RequestFailedException(response.GetRawResponse());
+ return Response.FromValue(new ClusterRecoveryPointResource(Client, response.Value), response.GetRawResponse());
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+ }
+}
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Extensions/MockableRecoveryServicesSiteRecoveryArmClient.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Extensions/MockableRecoveryServicesSiteRecoveryArmClient.cs
index 2ace92574b67..41d4f0e07910 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Extensions/MockableRecoveryServicesSiteRecoveryArmClient.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Extensions/MockableRecoveryServicesSiteRecoveryArmClient.cs
@@ -190,6 +190,42 @@ public virtual SiteRecoveryPointResource GetSiteRecoveryPointResource(ResourceId
return new SiteRecoveryPointResource(Client, id);
}
+ ///
+ /// Gets an object representing a along with the instance operations that can be performed on it but with no data.
+ /// You can use to create a from its components.
+ ///
+ /// The resource ID of the resource to get.
+ /// Returns a object.
+ public virtual VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource(ResourceIdentifier id)
+ {
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource.ValidateResourceId(id);
+ return new VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource(Client, id);
+ }
+
+ ///
+ /// Gets an object representing a along with the instance operations that can be performed on it but with no data.
+ /// You can use to create a from its components.
+ ///
+ /// The resource ID of the resource to get.
+ /// Returns a object.
+ public virtual VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultResource GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultResource(ResourceIdentifier id)
+ {
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultResource.ValidateResourceId(id);
+ return new VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultResource(Client, id);
+ }
+
+ ///
+ /// Gets an object representing a along with the instance operations that can be performed on it but with no data.
+ /// You can use to create a from its components.
+ ///
+ /// The resource ID of the resource to get.
+ /// Returns a object.
+ public virtual ClusterRecoveryPointResource GetClusterRecoveryPointResource(ResourceIdentifier id)
+ {
+ ClusterRecoveryPointResource.ValidateResourceId(id);
+ return new ClusterRecoveryPointResource(Client, id);
+ }
+
///
/// Gets an object representing a along with the instance operations that can be performed on it but with no data.
/// You can use to create a from its components.
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Extensions/MockableRecoveryServicesSiteRecoveryResourceGroupResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Extensions/MockableRecoveryServicesSiteRecoveryResourceGroupResource.cs
index 2103a298c82d..edb1939ac14d 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Extensions/MockableRecoveryServicesSiteRecoveryResourceGroupResource.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Extensions/MockableRecoveryServicesSiteRecoveryResourceGroupResource.cs
@@ -30,6 +30,8 @@ public partial class MockableRecoveryServicesSiteRecoveryResourceGroupResource :
private ReplicationMigrationItemsRestOperations _siteRecoveryMigrationItemReplicationMigrationItemsRestClient;
private ClientDiagnostics _replicationProtectedItemClientDiagnostics;
private ReplicationProtectedItemsRestOperations _replicationProtectedItemRestClient;
+ private ClientDiagnostics _replicationProtectionClustersClientDiagnostics;
+ private ReplicationProtectionClustersRestOperations _replicationProtectionClustersRestClient;
private ClientDiagnostics _protectionContainerMappingReplicationProtectionContainerMappingsClientDiagnostics;
private ReplicationProtectionContainerMappingsRestOperations _protectionContainerMappingReplicationProtectionContainerMappingsRestClient;
private ClientDiagnostics _siteRecoveryServicesProviderReplicationRecoveryServicesProvidersClientDiagnostics;
@@ -69,6 +71,8 @@ internal MockableRecoveryServicesSiteRecoveryResourceGroupResource(ArmClient cli
private ReplicationMigrationItemsRestOperations SiteRecoveryMigrationItemReplicationMigrationItemsRestClient => _siteRecoveryMigrationItemReplicationMigrationItemsRestClient ??= new ReplicationMigrationItemsRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint, GetApiVersionOrNull(SiteRecoveryMigrationItemResource.ResourceType));
private ClientDiagnostics ReplicationProtectedItemClientDiagnostics => _replicationProtectedItemClientDiagnostics ??= new ClientDiagnostics("Azure.ResourceManager.RecoveryServicesSiteRecovery", ReplicationProtectedItemResource.ResourceType.Namespace, Diagnostics);
private ReplicationProtectedItemsRestOperations ReplicationProtectedItemRestClient => _replicationProtectedItemRestClient ??= new ReplicationProtectedItemsRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint, GetApiVersionOrNull(ReplicationProtectedItemResource.ResourceType));
+ private ClientDiagnostics ReplicationProtectionClustersClientDiagnostics => _replicationProtectionClustersClientDiagnostics ??= new ClientDiagnostics("Azure.ResourceManager.RecoveryServicesSiteRecovery", ProviderConstants.DefaultProviderNamespace, Diagnostics);
+ private ReplicationProtectionClustersRestOperations ReplicationProtectionClustersRestClient => _replicationProtectionClustersRestClient ??= new ReplicationProtectionClustersRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint);
private ClientDiagnostics ProtectionContainerMappingReplicationProtectionContainerMappingsClientDiagnostics => _protectionContainerMappingReplicationProtectionContainerMappingsClientDiagnostics ??= new ClientDiagnostics("Azure.ResourceManager.RecoveryServicesSiteRecovery", ProtectionContainerMappingResource.ResourceType.Namespace, Diagnostics);
private ReplicationProtectionContainerMappingsRestOperations ProtectionContainerMappingReplicationProtectionContainerMappingsRestClient => _protectionContainerMappingReplicationProtectionContainerMappingsRestClient ??= new ReplicationProtectionContainerMappingsRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint, GetApiVersionOrNull(ProtectionContainerMappingResource.ResourceType));
private ClientDiagnostics SiteRecoveryServicesProviderReplicationRecoveryServicesProvidersClientDiagnostics => _siteRecoveryServicesProviderReplicationRecoveryServicesProvidersClientDiagnostics ??= new ClientDiagnostics("Azure.ResourceManager.RecoveryServicesSiteRecovery", SiteRecoveryServicesProviderResource.ResourceType.Namespace, Diagnostics);
@@ -113,7 +117,7 @@ public virtual SiteRecoveryAlertCollection GetSiteRecoveryAlerts(string resource
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -145,7 +149,7 @@ public virtual async Task> GetSiteRecoveryAl
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -187,7 +191,7 @@ public virtual ReplicationEligibilityResultCollection GetReplicationEligibilityR
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -218,7 +222,7 @@ public virtual async Task> GetRep
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -259,7 +263,7 @@ public virtual SiteRecoveryEventCollection GetSiteRecoveryEvents(string resource
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -291,7 +295,7 @@ public virtual async Task> GetSiteRecoveryEv
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -333,7 +337,7 @@ public virtual SiteRecoveryFabricCollection GetSiteRecoveryFabrics(string resour
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -366,7 +370,7 @@ public virtual async Task> GetSiteRecoveryF
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -409,7 +413,7 @@ public virtual SiteRecoveryJobCollection GetSiteRecoveryJobs(string resourceName
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -441,7 +445,7 @@ public virtual async Task> GetSiteRecoveryJobA
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -483,7 +487,7 @@ public virtual SiteRecoveryPolicyCollection GetSiteRecoveryPolicies(string resou
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -515,7 +519,7 @@ public virtual async Task> GetSiteRecoveryP
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -557,7 +561,7 @@ public virtual ReplicationProtectionIntentCollection GetReplicationProtectionInt
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -589,7 +593,7 @@ public virtual async Task> GetRepl
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -631,7 +635,7 @@ public virtual SiteRecoveryRecoveryPlanCollection GetSiteRecoveryRecoveryPlans(s
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -663,7 +667,7 @@ public virtual async Task> GetSiteRec
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -705,7 +709,7 @@ public virtual SiteRecoveryVaultSettingCollection GetSiteRecoveryVaultSettings(s
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -737,7 +741,7 @@ public virtual async Task> GetSiteRec
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -769,7 +773,7 @@ public virtual Response GetSiteRecoveryVaultSe
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
///
///
@@ -801,7 +805,7 @@ public virtual AsyncPageable GetReplicationApp
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
///
///
@@ -833,7 +837,7 @@ public virtual Pageable GetReplicationApplianc
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -868,7 +872,7 @@ public virtual AsyncPageable GetSiteRecoveryNetwork
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -903,7 +907,7 @@ public virtual Pageable GetSiteRecoveryNetworks(str
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -938,7 +942,7 @@ public virtual AsyncPageable GetSiteRecovery
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -973,7 +977,7 @@ public virtual Pageable GetSiteRecoveryNetwo
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1008,7 +1012,7 @@ public virtual AsyncPageable GetSiteRec
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1043,7 +1047,7 @@ public virtual Pageable GetSiteRecovery
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1081,7 +1085,7 @@ public virtual AsyncPageable GetSiteRecoveryM
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1119,7 +1123,7 @@ public virtual Pageable GetSiteRecoveryMigrat
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1156,7 +1160,7 @@ public virtual AsyncPageable GetReplicationPro
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1180,6 +1184,72 @@ public virtual Pageable GetReplicationProtecte
return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => new ReplicationProtectedItemResource(Client, ReplicationProtectedItemData.DeserializeReplicationProtectedItemData(e)), ReplicationProtectedItemClientDiagnostics, Pipeline, "MockableRecoveryServicesSiteRecoveryResourceGroupResource.GetReplicationProtectedItems", "value", "nextLink", cancellationToken);
}
+ ///
+ /// Gets the list of ASR replication protected clusters in the vault.
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionClusters
+ ///
+ /// -
+ /// Operation Id
+ /// ReplicationProtectionClusters_List
+ ///
+ /// -
+ /// Default Api Version
+ /// 2024-10-01
+ ///
+ ///
+ ///
+ /// The name of the recovery services vault.
+ /// The pagination token. Possible values: "FabricId" or "FabricId_CloudId" or null.
+ /// OData filter options.
+ /// The cancellation token to use.
+ /// is an empty string, and was expected to be non-empty.
+ /// is null.
+ /// An async collection of that may take multiple service requests to iterate over.
+ public virtual AsyncPageable GetReplicationProtectionClustersAsync(string resourceName, string skipToken = null, string filter = null, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(resourceName, nameof(resourceName));
+
+ HttpMessage FirstPageRequest(int? pageSizeHint) => ReplicationProtectionClustersRestClient.CreateListRequest(Id.SubscriptionId, Id.ResourceGroupName, resourceName, skipToken, filter);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => ReplicationProtectionClustersRestClient.CreateListNextPageRequest(nextLink, Id.SubscriptionId, Id.ResourceGroupName, resourceName, skipToken, filter);
+ return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => ReplicationProtectionClusterData.DeserializeReplicationProtectionClusterData(e), ReplicationProtectionClustersClientDiagnostics, Pipeline, "MockableRecoveryServicesSiteRecoveryResourceGroupResource.GetReplicationProtectionClusters", "value", "nextLink", cancellationToken);
+ }
+
+ ///
+ /// Gets the list of ASR replication protected clusters in the vault.
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionClusters
+ ///
+ /// -
+ /// Operation Id
+ /// ReplicationProtectionClusters_List
+ ///
+ /// -
+ /// Default Api Version
+ /// 2024-10-01
+ ///
+ ///
+ ///
+ /// The name of the recovery services vault.
+ /// The pagination token. Possible values: "FabricId" or "FabricId_CloudId" or null.
+ /// OData filter options.
+ /// The cancellation token to use.
+ /// is an empty string, and was expected to be non-empty.
+ /// is null.
+ /// A collection of that may take multiple service requests to iterate over.
+ public virtual Pageable GetReplicationProtectionClusters(string resourceName, string skipToken = null, string filter = null, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(resourceName, nameof(resourceName));
+
+ HttpMessage FirstPageRequest(int? pageSizeHint) => ReplicationProtectionClustersRestClient.CreateListRequest(Id.SubscriptionId, Id.ResourceGroupName, resourceName, skipToken, filter);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => ReplicationProtectionClustersRestClient.CreateListNextPageRequest(nextLink, Id.SubscriptionId, Id.ResourceGroupName, resourceName, skipToken, filter);
+ return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => ReplicationProtectionClusterData.DeserializeReplicationProtectionClusterData(e), ReplicationProtectionClustersClientDiagnostics, Pipeline, "MockableRecoveryServicesSiteRecoveryResourceGroupResource.GetReplicationProtectionClusters", "value", "nextLink", cancellationToken);
+ }
+
///
/// Lists the protection container mappings in the vault.
///
@@ -1193,7 +1263,7 @@ public virtual Pageable GetReplicationProtecte
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1228,7 +1298,7 @@ public virtual AsyncPageable GetProtectionCo
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1263,7 +1333,7 @@ public virtual Pageable GetProtectionContain
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1298,7 +1368,7 @@ public virtual AsyncPageable GetSiteRecove
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1333,7 +1403,7 @@ public virtual Pageable GetSiteRecoverySer
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1368,7 +1438,7 @@ public virtual AsyncPageable GetStorageClassifica
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1403,7 +1473,7 @@ public virtual Pageable GetStorageClassifications
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1438,7 +1508,7 @@ public virtual AsyncPageable GetStorageCla
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1473,7 +1543,7 @@ public virtual Pageable GetStorageClassifi
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1508,7 +1578,7 @@ public virtual AsyncPageable GetSiteRecoveryVCenter
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1543,7 +1613,7 @@ public virtual Pageable GetSiteRecoveryVCenters(str
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
///
///
@@ -1583,7 +1653,7 @@ public virtual async Task> GetSu
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
///
///
@@ -1623,7 +1693,7 @@ public virtual Response GetSupportedOpera
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
///
///
@@ -1662,7 +1732,7 @@ public virtual async Task> GetReplicationVaultHealt
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
///
///
@@ -1701,7 +1771,7 @@ public virtual Response GetReplicationVaultHealth(string res
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
///
///
@@ -1744,7 +1814,7 @@ public virtual async Task> RefreshReplicationVa
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
///
///
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Extensions/RecoveryServicesSiteRecoveryExtensions.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Extensions/RecoveryServicesSiteRecoveryExtensions.cs
index fd642d1c924f..9d07c45cf684 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Extensions/RecoveryServicesSiteRecoveryExtensions.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Extensions/RecoveryServicesSiteRecoveryExtensions.cs
@@ -275,6 +275,63 @@ public static SiteRecoveryPointResource GetSiteRecoveryPointResource(this ArmCli
return GetMockableRecoveryServicesSiteRecoveryArmClient(client).GetSiteRecoveryPointResource(id);
}
+ ///
+ /// Gets an object representing a along with the instance operations that can be performed on it but with no data.
+ /// You can use to create a from its components.
+ /// -
+ /// Mocking
+ /// To mock this method, please mock instead.
+ ///
+ ///
+ /// The instance the method will execute against.
+ /// The resource ID of the resource to get.
+ /// is null.
+ /// Returns a object.
+ public static VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource(this ArmClient client, ResourceIdentifier id)
+ {
+ Argument.AssertNotNull(client, nameof(client));
+
+ return GetMockableRecoveryServicesSiteRecoveryArmClient(client).GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource(id);
+ }
+
+ ///
+ /// Gets an object representing a along with the instance operations that can be performed on it but with no data.
+ /// You can use to create a from its components.
+ /// -
+ /// Mocking
+ /// To mock this method, please mock instead.
+ ///
+ ///
+ /// The instance the method will execute against.
+ /// The resource ID of the resource to get.
+ /// is null.
+ /// Returns a object.
+ public static VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultResource GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultResource(this ArmClient client, ResourceIdentifier id)
+ {
+ Argument.AssertNotNull(client, nameof(client));
+
+ return GetMockableRecoveryServicesSiteRecoveryArmClient(client).GetVaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationResultResource(id);
+ }
+
+ ///
+ /// Gets an object representing a along with the instance operations that can be performed on it but with no data.
+ /// You can use to create a from its components.
+ /// -
+ /// Mocking
+ /// To mock this method, please mock instead.
+ ///
+ ///
+ /// The instance the method will execute against.
+ /// The resource ID of the resource to get.
+ /// is null.
+ /// Returns a object.
+ public static ClusterRecoveryPointResource GetClusterRecoveryPointResource(this ArmClient client, ResourceIdentifier id)
+ {
+ Argument.AssertNotNull(client, nameof(client));
+
+ return GetMockableRecoveryServicesSiteRecoveryArmClient(client).GetClusterRecoveryPointResource(id);
+ }
+
///
/// Gets an object representing a along with the instance operations that can be performed on it but with no data.
/// You can use to create a from its components.
@@ -497,7 +554,7 @@ public static SiteRecoveryAlertCollection GetSiteRecoveryAlerts(this ResourceGro
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -536,7 +593,7 @@ public static async Task> GetSiteRecoveryAle
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -594,7 +651,7 @@ public static ReplicationEligibilityResultCollection GetReplicationEligibilityRe
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -632,7 +689,7 @@ public static async Task> GetRepl
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -689,7 +746,7 @@ public static SiteRecoveryEventCollection GetSiteRecoveryEvents(this ResourceGro
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -728,7 +785,7 @@ public static async Task> GetSiteRecoveryEve
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -786,7 +843,7 @@ public static SiteRecoveryFabricCollection GetSiteRecoveryFabrics(this ResourceG
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -826,7 +883,7 @@ public static async Task> GetSiteRecoveryFa
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -885,7 +942,7 @@ public static SiteRecoveryJobCollection GetSiteRecoveryJobs(this ResourceGroupRe
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -924,7 +981,7 @@ public static async Task> GetSiteRecoveryJobAs
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -982,7 +1039,7 @@ public static SiteRecoveryPolicyCollection GetSiteRecoveryPolicies(this Resource
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1021,7 +1078,7 @@ public static async Task> GetSiteRecoveryPo
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1079,7 +1136,7 @@ public static ReplicationProtectionIntentCollection GetReplicationProtectionInte
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1118,7 +1175,7 @@ public static async Task> GetRepli
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1176,7 +1233,7 @@ public static SiteRecoveryRecoveryPlanCollection GetSiteRecoveryRecoveryPlans(th
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1215,7 +1272,7 @@ public static async Task> GetSiteReco
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1273,7 +1330,7 @@ public static SiteRecoveryVaultSettingCollection GetSiteRecoveryVaultSettings(th
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1312,7 +1369,7 @@ public static async Task> GetSiteReco
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1351,7 +1408,7 @@ public static Response GetSiteRecoveryVaultSet
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
///
/// -
@@ -1386,7 +1443,7 @@ public static AsyncPageable GetReplicationAppl
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
///
/// -
@@ -1421,7 +1478,7 @@ public static Pageable GetReplicationAppliance
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1459,7 +1516,7 @@ public static AsyncPageable GetSiteRecoveryNetworks
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1497,7 +1554,7 @@ public static Pageable GetSiteRecoveryNetworks(this
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1535,7 +1592,7 @@ public static AsyncPageable GetSiteRecoveryN
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1573,7 +1630,7 @@ public static Pageable GetSiteRecoveryNetwor
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1611,7 +1668,7 @@ public static AsyncPageable GetSiteReco
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1649,7 +1706,7 @@ public static Pageable GetSiteRecoveryP
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1690,7 +1747,7 @@ public static AsyncPageable GetSiteRecoveryMi
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1731,7 +1788,7 @@ public static Pageable GetSiteRecoveryMigrati
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1771,7 +1828,7 @@ public static AsyncPageable GetReplicationProt
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1798,6 +1855,78 @@ public static Pageable GetReplicationProtected
return GetMockableRecoveryServicesSiteRecoveryResourceGroupResource(resourceGroupResource).GetReplicationProtectedItems(resourceName, skipToken, filter, cancellationToken);
}
+ ///
+ /// Gets the list of ASR replication protected clusters in the vault.
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionClusters
+ ///
+ /// -
+ /// Operation Id
+ /// ReplicationProtectionClusters_List
+ ///
+ /// -
+ /// Default Api Version
+ /// 2024-10-01
+ ///
+ ///
+ /// -
+ /// Mocking
+ /// To mock this method, please mock instead.
+ ///
+ ///
+ /// The instance the method will execute against.
+ /// The name of the recovery services vault.
+ /// The pagination token. Possible values: "FabricId" or "FabricId_CloudId" or null.
+ /// OData filter options.
+ /// The cancellation token to use.
+ /// is an empty string, and was expected to be non-empty.
+ /// or is null.
+ /// An async collection of that may take multiple service requests to iterate over.
+ public static AsyncPageable GetReplicationProtectionClustersAsync(this ResourceGroupResource resourceGroupResource, string resourceName, string skipToken = null, string filter = null, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNull(resourceGroupResource, nameof(resourceGroupResource));
+
+ return GetMockableRecoveryServicesSiteRecoveryResourceGroupResource(resourceGroupResource).GetReplicationProtectionClustersAsync(resourceName, skipToken, filter, cancellationToken);
+ }
+
+ ///
+ /// Gets the list of ASR replication protected clusters in the vault.
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionClusters
+ ///
+ /// -
+ /// Operation Id
+ /// ReplicationProtectionClusters_List
+ ///
+ /// -
+ /// Default Api Version
+ /// 2024-10-01
+ ///
+ ///
+ /// -
+ /// Mocking
+ /// To mock this method, please mock instead.
+ ///
+ ///
+ /// The instance the method will execute against.
+ /// The name of the recovery services vault.
+ /// The pagination token. Possible values: "FabricId" or "FabricId_CloudId" or null.
+ /// OData filter options.
+ /// The cancellation token to use.
+ /// is an empty string, and was expected to be non-empty.
+ /// or is null.
+ /// A collection of that may take multiple service requests to iterate over.
+ public static Pageable GetReplicationProtectionClusters(this ResourceGroupResource resourceGroupResource, string resourceName, string skipToken = null, string filter = null, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNull(resourceGroupResource, nameof(resourceGroupResource));
+
+ return GetMockableRecoveryServicesSiteRecoveryResourceGroupResource(resourceGroupResource).GetReplicationProtectionClusters(resourceName, skipToken, filter, cancellationToken);
+ }
+
///
/// Lists the protection container mappings in the vault.
///
@@ -1811,7 +1940,7 @@ public static Pageable GetReplicationProtected
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1849,7 +1978,7 @@ public static AsyncPageable GetProtectionCon
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1887,7 +2016,7 @@ public static Pageable GetProtectionContaine
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1925,7 +2054,7 @@ public static AsyncPageable GetSiteRecover
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -1963,7 +2092,7 @@ public static Pageable GetSiteRecoveryServ
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -2001,7 +2130,7 @@ public static AsyncPageable GetStorageClassificat
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -2039,7 +2168,7 @@ public static Pageable GetStorageClassifications(
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -2077,7 +2206,7 @@ public static AsyncPageable GetStorageClas
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -2115,7 +2244,7 @@ public static Pageable GetStorageClassific
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -2153,7 +2282,7 @@ public static AsyncPageable GetSiteRecoveryVCenters
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -2191,7 +2320,7 @@ public static Pageable GetSiteRecoveryVCenters(this
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
///
/// -
@@ -2225,7 +2354,7 @@ public static async Task> GetSup
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
///
/// -
@@ -2259,7 +2388,7 @@ public static Response GetSupportedOperat
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
///
/// -
@@ -2292,7 +2421,7 @@ public static async Task> GetReplicationVaultHealth
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
///
/// -
@@ -2325,7 +2454,7 @@ public static Response GetReplicationVaultHealth(this Resour
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
///
/// -
@@ -2359,7 +2488,7 @@ public static async Task> RefreshReplicationVau
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
///
/// -
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/LongRunningOperation/VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationSource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/LongRunningOperation/VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationSource.cs
new file mode 100644
index 000000000000..3905d8c17d4e
--- /dev/null
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/LongRunningOperation/VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationSource.cs
@@ -0,0 +1,38 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System.Text.Json;
+using System.Threading;
+using System.Threading.Tasks;
+using Azure.Core;
+
+namespace Azure.ResourceManager.RecoveryServicesSiteRecovery
+{
+ internal class VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationSource : IOperationSource
+ {
+ private readonly ArmClient _client;
+
+ internal VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterOperationSource(ArmClient client)
+ {
+ _client = client;
+ }
+
+ VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource IOperationSource.CreateResult(Response response, CancellationToken cancellationToken)
+ {
+ using var document = JsonDocument.Parse(response.ContentStream);
+ var data = ReplicationProtectionClusterData.DeserializeReplicationProtectionClusterData(document.RootElement);
+ return new VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource(_client, data);
+ }
+
+ async ValueTask IOperationSource.CreateResultAsync(Response response, CancellationToken cancellationToken)
+ {
+ using var document = await JsonDocument.ParseAsync(response.ContentStream, default, cancellationToken).ConfigureAwait(false);
+ var data = ReplicationProtectionClusterData.DeserializeReplicationProtectionClusterData(document.RootElement);
+ return new VaultReplicationFabricReplicationProtectionContainerReplicationProtectionClusterResource(_client, data);
+ }
+ }
+}
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/MigrationRecoveryPointCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/MigrationRecoveryPointCollection.cs
index 8c31a8794eeb..472d106698c1 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/MigrationRecoveryPointCollection.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/MigrationRecoveryPointCollection.cs
@@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -109,7 +109,7 @@ public virtual async Task> GetAsync(str
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -154,7 +154,7 @@ public virtual Response Get(string migrationReco
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -184,7 +184,7 @@ public virtual AsyncPageable GetAllAsync(Cancell
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -214,7 +214,7 @@ public virtual Pageable GetAll(CancellationToken
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -257,7 +257,7 @@ public virtual async Task> ExistsAsync(string migrationRecoveryPo
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -300,7 +300,7 @@ public virtual Response Exists(string migrationRecoveryPointName, Cancella
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -345,7 +345,7 @@ public virtual async Task> GetI
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/MigrationRecoveryPointResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/MigrationRecoveryPointResource.cs
index 9fb63bad1217..e79ccf542499 100644
--- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/MigrationRecoveryPointResource.cs
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/MigrationRecoveryPointResource.cs
@@ -104,7 +104,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
@@ -144,7 +144,7 @@ public virtual async Task> GetAsync(Can
///
/// -
/// Default Api Version
- /// 2023-08-01
+ /// 2024-10-01
///
/// -
/// Resource
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AApplyClusterRecoveryPointContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AApplyClusterRecoveryPointContent.Serialization.cs
new file mode 100644
index 000000000000..1c4f1295133e
--- /dev/null
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AApplyClusterRecoveryPointContent.Serialization.cs
@@ -0,0 +1,110 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel.Primitives;
+using System.Collections.Generic;
+using System.Text.Json;
+using Azure.Core;
+
+namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Models
+{
+ public partial class A2AApplyClusterRecoveryPointContent : IUtf8JsonSerializable, IJsonModel
+ {
+ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions);
+
+ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ writer.WriteStartObject();
+ JsonModelWriteCore(writer, options);
+ writer.WriteEndObject();
+ }
+
+ /// The JSON writer.
+ /// The client options for reading and writing models.
+ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(A2AApplyClusterRecoveryPointContent)} does not support writing '{format}' format.");
+ }
+
+ base.JsonModelWriteCore(writer, options);
+ }
+
+ A2AApplyClusterRecoveryPointContent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(A2AApplyClusterRecoveryPointContent)} does not support reading '{format}' format.");
+ }
+
+ using JsonDocument document = JsonDocument.ParseValue(ref reader);
+ return DeserializeA2AApplyClusterRecoveryPointContent(document.RootElement, options);
+ }
+
+ internal static A2AApplyClusterRecoveryPointContent DeserializeA2AApplyClusterRecoveryPointContent(JsonElement element, ModelReaderWriterOptions options = null)
+ {
+ options ??= ModelSerializationExtensions.WireOptions;
+
+ if (element.ValueKind == JsonValueKind.Null)
+ {
+ return null;
+ }
+ string instanceType = default;
+ IDictionary serializedAdditionalRawData = default;
+ Dictionary rawDataDictionary = new Dictionary();
+ foreach (var property in element.EnumerateObject())
+ {
+ if (property.NameEquals("instanceType"u8))
+ {
+ instanceType = property.Value.GetString();
+ continue;
+ }
+ if (options.Format != "W")
+ {
+ rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText()));
+ }
+ }
+ serializedAdditionalRawData = rawDataDictionary;
+ return new A2AApplyClusterRecoveryPointContent(instanceType, serializedAdditionalRawData);
+ }
+
+ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ return ModelReaderWriter.Write(this, options);
+ default:
+ throw new FormatException($"The model {nameof(A2AApplyClusterRecoveryPointContent)} does not support writing '{options.Format}' format.");
+ }
+ }
+
+ A2AApplyClusterRecoveryPointContent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ {
+ using JsonDocument document = JsonDocument.Parse(data);
+ return DeserializeA2AApplyClusterRecoveryPointContent(document.RootElement, options);
+ }
+ default:
+ throw new FormatException($"The model {nameof(A2AApplyClusterRecoveryPointContent)} does not support reading '{options.Format}' format.");
+ }
+ }
+
+ string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J";
+ }
+}
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AApplyClusterRecoveryPointContent.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AApplyClusterRecoveryPointContent.cs
new file mode 100644
index 000000000000..bec053ddc5ca
--- /dev/null
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AApplyClusterRecoveryPointContent.cs
@@ -0,0 +1,30 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections.Generic;
+
+namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Models
+{
+ /// A2A provider specific input for apply cluster recovery point.
+ public partial class A2AApplyClusterRecoveryPointContent : ApplyClusterRecoveryPointProviderSpecificContent
+ {
+ /// Initializes a new instance of .
+ public A2AApplyClusterRecoveryPointContent()
+ {
+ InstanceType = "A2A";
+ }
+
+ /// Initializes a new instance of .
+ /// The class type.
+ /// Keeps track of any properties unknown to the library.
+ internal A2AApplyClusterRecoveryPointContent(string instanceType, IDictionary serializedAdditionalRawData) : base(instanceType, serializedAdditionalRawData)
+ {
+ InstanceType = instanceType ?? "A2A";
+ }
+ }
+}
diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AClusterRecoveryPointDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AClusterRecoveryPointDetails.Serialization.cs
new file mode 100644
index 000000000000..4610592c763d
--- /dev/null
+++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AClusterRecoveryPointDetails.Serialization.cs
@@ -0,0 +1,162 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel.Primitives;
+using System.Collections.Generic;
+using System.Text.Json;
+using Azure.Core;
+
+namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Models
+{
+ public partial class A2AClusterRecoveryPointDetails : IUtf8JsonSerializable, IJsonModel
+ {
+ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions);
+
+ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ writer.WriteStartObject();
+ JsonModelWriteCore(writer, options);
+ writer.WriteEndObject();
+ }
+
+ /// The JSON writer.
+ /// The client options for reading and writing models.
+ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(A2AClusterRecoveryPointDetails)} does not support writing '{format}' format.");
+ }
+
+ base.JsonModelWriteCore(writer, options);
+ if (Optional.IsDefined(RecoveryPointSyncType))
+ {
+ writer.WritePropertyName("recoveryPointSyncType"u8);
+ writer.WriteStringValue(RecoveryPointSyncType.Value.ToString());
+ }
+ if (Optional.IsCollectionDefined(Nodes))
+ {
+ writer.WritePropertyName("nodes"u8);
+ writer.WriteStartArray();
+ foreach (var item in Nodes)
+ {
+ if (item == null)
+ {
+ writer.WriteNullValue();
+ continue;
+ }
+ writer.WriteStringValue(item);
+ }
+ writer.WriteEndArray();
+ }
+ }
+
+ A2AClusterRecoveryPointDetails IJsonModel