diff --git a/sdk/advisor/ci.mgmt.yml b/sdk/advisor/ci.mgmt.yml index 6b9f8d6952e63..22df99de35f22 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 ee27d71f94951..03a5f6399ccbb 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 f33a90fffe5cd..ad3a8d3d1efd9 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 33729b962d88a..d3774b3583805 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 41c037327e330..4882d4409c0b5 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 b72c80a2e0e6c..2f766edb95283 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 d8a31e0139a83..7c3b00d97c17c 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 a883eaefcd594..e53dd63aca0fc 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 af82b66e69521..361f4019d3222 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 1d28b9352b6cc..023cebeb8d718 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 bbc2db0c9f630..53438df9d3324 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 f6099036651ce..d0de6d52b29aa 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 51d1ac0c82401..595f887b2c356 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 7ac32fcc55439..9c9d9638348db 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 5a2467820b855..8e45b6506aa83 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 45bec5d1c1964..b2cb0f44bf225 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 6404a2ba34cec..7030303dc9f44 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 fbe98927ef15a..d9425419d2c37 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 89c22080e00c4..167241c22e36e 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 fdb37873525c8..57a9135b3c713 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 67cf904850c69..0efcab4a9c907 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 9900a842be4f4..d2d1e939d8cd1 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 65bd23b77f51b..6524937da4eeb 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 8e5444ff3f9a8..3e991a6ebab1a 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 ac2ea82249d11..f1932c6d31b97 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 65c6e90d195aa..aee7612c339ff 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 585591bcb6bd7..a74922d279328 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 ddeb32b868ce2..79dda70912e29 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 8fc73e1077450..be0c8b4b59034 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 d9520f58d12ca..9736fea82d638 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 de169e18c5997..58fc15347c98a 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 d3a367f825511..01d026ef37eaa 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 7343d843f2ee9..b61c498ed14ad 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 12d37aa41bd20..757508d306f93 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 a9d0db85cf821..f8990a206c45a 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 6b0ebe2b2fa7e..ccda85ce57898 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 7715d499fa59f..69564e2f1920d 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 0b4d90bf6d1c1..865705313c2c8 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 0a036386143ba..98ade1bcf8c69 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 e3f0cfb5bfa53..5fa9fce02790e 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 9eb58047b02e9..8eb615e701f76 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 1eab24b3bbf9e..ac1fce954c2ac 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 ef6098c3999f9..bfe2761181a8c 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 e59280ba6be22..cee9459831fbf 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 124af418dcfaa..a5d4f1a60cb57 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 edd63a7017009..6525b0b436ccb 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 29e3b1537c782..3cf952bd82f3b 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 9e9d6825d8b09..c1b66f6edb09c 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 85d246a5d4e7e..1f1a4ba295cd1 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 b8794cd18f9e4..44823b2f94442 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 469839fd30241..27295ad1c28c5 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 1e64024fed175..f26452e1de486 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 25637090aedb1..0b74e9436cc75 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 f6dd41e0f37f1..dcb3801e3f58f 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 dd90e5a466901..2dc5c04ec007f 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 3d6f40025c779..b6af32cc15c34 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 136d77bbba6dd..cfa8320239ddd 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 f9c94973a3244..733989d927dc2 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 05fffe3011148..271e718d86760 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 c1315e462bb92..d8abd00a22562 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 0f2db1225cf00..8e463b9f37949 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 b63234a645556..248d3c3143f09 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 1946409a6b752..7ee994de378bd 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 a0e8233a36cfc..a8766e215b7cb 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 8357809b4e6f4..ec6edfb217751 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 afa270cdc600e..6b2569c11c492 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 f76bf3a316af6..fe97a3c1f612e 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 4d1fbaa121f94..cb4d87c29a1b4 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 9dc8d79aab306..ebed00842581d 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 76ecd8b3923dd..2e29070fce4a1 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 7e2bb35dde217..dba4416415e9b 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 cb02a1b84e8ba..1b2eaffc0fddb 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 b7c0045fffb31..dadda2db6dc55 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 4fb53374be742..e9c6939e2b1d0 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 d0bc6cea6eb9f..5cc91d0c8722e 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 09a225882401d..469d40cad6191 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 d43dfe94d7297..1673db3a9f269 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 bff9dbcae78c2..f19923a1b43de 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 a2f22e6ee33b1..848173351b4d4 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 717a9a4a19633..ccd14b614b43a 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 5ebc59550f58e..c2d2526d488ba 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 21778711f99e5..d94eea966253a 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 4df0a02f5c80d..29d3b404c76a7 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 69a7566e0caa6..66a879d8fbcd1 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 14bfc7f855e62..4c2698659502f 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 57030df35e566..6f02ac8fd023e 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 016a917c1e19c..45857afa5722a 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 552eb3298d3a0..af3d82703d11a 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 d163a966512d4..15f8656c399e0 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 9ccca42ef5571..8d809d4d96339 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 fff768430c9d9..bb98635a8e1ce 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 35f71f8ae8705..39412ff81f054 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 03013cc9c90bf..82d3bafd3f7f2 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 6260cd0d71f2b..199578b03331a 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 1702fd71c6dd8..1225f99c37fdb 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 5eb9e999a89c3..63fb10994eac4 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 b48c2f8d4ff49..8ad905079a0ac 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 4249ef57fa6ea..d3fb470a7b6ec 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 374cf1f0cb812..c410d1487d18b 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 48f80379ab14b..f8a9820729656 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 4e3d99d429796..dfc32939e4973 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 b89b224082ee6..5bed51facd34b 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 9ea84fdf4d158..5ea6192311915 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/Azure.ResourceManager.MachineLearning/api/Azure.ResourceManager.MachineLearning.net8.0.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/api/Azure.ResourceManager.MachineLearning.net8.0.cs index 349bae83d975e..a5c1086f98bf0 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/api/Azure.ResourceManager.MachineLearning.net8.0.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/api/Azure.ResourceManager.MachineLearning.net8.0.cs @@ -9620,7 +9620,6 @@ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter write public partial class RegistryAcrDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public RegistryAcrDetails() { } - public Azure.Core.ResourceIdentifier ArmResourceId { get { throw null; } set { } } public Azure.ResourceManager.MachineLearning.Models.SystemCreatedAcrAccount SystemCreatedAcrAccount { get { throw null; } set { } } protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.MachineLearning.Models.RegistryAcrDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } @@ -10025,7 +10024,6 @@ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter write public partial class StorageAccountDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public StorageAccountDetails() { } - public Azure.Core.ResourceIdentifier ArmResourceId { get { throw null; } set { } } public Azure.ResourceManager.MachineLearning.Models.SystemCreatedStorageAccount SystemCreatedStorageAccount { get { throw null; } set { } } protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.MachineLearning.Models.StorageAccountDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/api/Azure.ResourceManager.MachineLearning.netstandard2.0.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/api/Azure.ResourceManager.MachineLearning.netstandard2.0.cs index 349bae83d975e..a5c1086f98bf0 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/api/Azure.ResourceManager.MachineLearning.netstandard2.0.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/api/Azure.ResourceManager.MachineLearning.netstandard2.0.cs @@ -9620,7 +9620,6 @@ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter write public partial class RegistryAcrDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public RegistryAcrDetails() { } - public Azure.Core.ResourceIdentifier ArmResourceId { get { throw null; } set { } } public Azure.ResourceManager.MachineLearning.Models.SystemCreatedAcrAccount SystemCreatedAcrAccount { get { throw null; } set { } } protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.MachineLearning.Models.RegistryAcrDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } @@ -10025,7 +10024,6 @@ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter write public partial class StorageAccountDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public StorageAccountDetails() { } - public Azure.Core.ResourceIdentifier ArmResourceId { get { throw null; } set { } } public Azure.ResourceManager.MachineLearning.Models.SystemCreatedStorageAccount SystemCreatedStorageAccount { get { throw null; } set { } } protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.MachineLearning.Models.StorageAccountDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryCollection.cs index dfe8d16d363d9..1b008c8d0a265 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryCollection.cs @@ -22,7 +22,7 @@ public partial class Sample_MachineLearningRegistryCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateRegistryWithSystemCreatedAccounts() { - // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/createOrUpdate-SystemCreated.json + // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/createOrUpdate.json // this example is just showing the usage of "Registries_CreateOrUpdate" 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 @@ -117,131 +117,11 @@ public async Task CreateOrUpdate_CreateOrUpdateRegistryWithSystemCreatedAccounts Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - [Test] - [Ignore("Only validating compilation of examples")] - public async Task CreateOrUpdate_CreateOrUpdateRegistryWithUserCreatedAccounts() - { - // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/createOrUpdate-UserCreated.json - // this example is just showing the usage of "Registries_CreateOrUpdate" 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 = "00000000-1111-2222-3333-444444444444"; - string resourceGroupName = "test-rg"; - ResourceIdentifier resourceGroupResourceId = ResourceGroupResource.CreateResourceIdentifier(subscriptionId, resourceGroupName); - ResourceGroupResource resourceGroupResource = client.GetResourceGroupResource(resourceGroupResourceId); - - // get the collection of this MachineLearningRegistryResource - MachineLearningRegistryCollection collection = resourceGroupResource.GetMachineLearningRegistries(); - - // invoke the operation - string registryName = "string"; - MachineLearningRegistryData data = new MachineLearningRegistryData(new AzureLocation("string")) - { - Identity = new ManagedServiceIdentity("None") - { - UserAssignedIdentities = -{ -[new ResourceIdentifier("string")] = new UserAssignedIdentity() -}, - }, - Kind = "string", - Sku = new MachineLearningSku("string") - { - Tier = MachineLearningSkuTier.Free, - Size = "string", - Family = "string", - Capacity = 1, - }, - DiscoveryUri = new Uri("string"), - IntellectualPropertyPublisher = "string", - ManagedResourceId = new ResourceIdentifier("string"), - MlFlowRegistryUri = new Uri("string"), - RegistryPrivateEndpointConnections = {new RegistryPrivateEndpointConnection -{ -Id = new ResourceIdentifier("string"), -Location = new AzureLocation("string"), -GroupIds = {"string"}, -PrivateEndpoint = new RegistryPrivateEndpoint -{ -SubnetArmId = new ResourceIdentifier("string"), -}, -RegistryPrivateLinkServiceConnectionState = new RegistryPrivateLinkServiceConnectionState -{ -ActionsRequired = "string", -Description = "string", -Status = EndpointServiceConnectionStatus.Approved, -}, -ProvisioningState = "string", -}}, - PublicNetworkAccess = "string", - RegionDetails = {new RegistryRegionArmDetails -{ -AcrDetails = {new RegistryAcrDetails -{ -ArmResourceId = new ResourceIdentifier("string"), -}}, -Location = new AzureLocation("string"), -StorageAccountDetails = {new StorageAccountDetails -{ -ArmResourceId = new ResourceIdentifier("string"), -}}, -}}, - Tags = { }, - }; - ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, registryName, data); - MachineLearningRegistryResource 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 - MachineLearningRegistryData resourceData = result.Data; - // for demo we just print out the id - Console.WriteLine($"Succeeded on id: {resourceData.Id}"); - } - [Test] [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistryWithSystemCreatedAccounts() { - // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/get-SystemCreated.json - // this example is just showing the usage of "Registries_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 ResourceGroupResource created on azure - // for more information of creating ResourceGroupResource, please refer to the document of ResourceGroupResource - string subscriptionId = "00000000-1111-2222-3333-444444444444"; - string resourceGroupName = "test-rg"; - ResourceIdentifier resourceGroupResourceId = ResourceGroupResource.CreateResourceIdentifier(subscriptionId, resourceGroupName); - ResourceGroupResource resourceGroupResource = client.GetResourceGroupResource(resourceGroupResourceId); - - // get the collection of this MachineLearningRegistryResource - MachineLearningRegistryCollection collection = resourceGroupResource.GetMachineLearningRegistries(); - - // invoke the operation - string registryName = "string"; - MachineLearningRegistryResource result = await collection.GetAsync(registryName); - - // 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 - MachineLearningRegistryData resourceData = result.Data; - // for demo we just print out the id - Console.WriteLine($"Succeeded on id: {resourceData.Id}"); - } - - [Test] - [Ignore("Only validating compilation of examples")] - public async Task Get_GetRegistryWithUserCreatedAccounts() - { - // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/get-UserCreated.json + // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/get.json // this example is just showing the usage of "Registries_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 @@ -274,42 +154,7 @@ public async Task Get_GetRegistryWithUserCreatedAccounts() [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRegistriesWithSystemCreatedAccounts() { - // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/list-SystemCreated.json - // this example is just showing the usage of "Registries_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 = "00000000-1111-2222-3333-444444444444"; - string resourceGroupName = "test-rg"; - ResourceIdentifier resourceGroupResourceId = ResourceGroupResource.CreateResourceIdentifier(subscriptionId, resourceGroupName); - ResourceGroupResource resourceGroupResource = client.GetResourceGroupResource(resourceGroupResourceId); - - // get the collection of this MachineLearningRegistryResource - MachineLearningRegistryCollection collection = resourceGroupResource.GetMachineLearningRegistries(); - - // invoke the operation and iterate over the result - await foreach (MachineLearningRegistryResource 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 - MachineLearningRegistryData resourceData = item.Data; - // for demo we just print out the id - Console.WriteLine($"Succeeded on id: {resourceData.Id}"); - } - - Console.WriteLine("Succeeded"); - } - - [Test] - [Ignore("Only validating compilation of examples")] - public async Task GetAll_ListRegistriesWithUserCreatedAccounts() - { - // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/list-UserCreated.json + // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/list.json // this example is just showing the usage of "Registries_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 @@ -344,36 +189,7 @@ public async Task GetAll_ListRegistriesWithUserCreatedAccounts() [Ignore("Only validating compilation of examples")] public async Task Exists_GetRegistryWithSystemCreatedAccounts() { - // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/get-SystemCreated.json - // this example is just showing the usage of "Registries_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 ResourceGroupResource created on azure - // for more information of creating ResourceGroupResource, please refer to the document of ResourceGroupResource - string subscriptionId = "00000000-1111-2222-3333-444444444444"; - string resourceGroupName = "test-rg"; - ResourceIdentifier resourceGroupResourceId = ResourceGroupResource.CreateResourceIdentifier(subscriptionId, resourceGroupName); - ResourceGroupResource resourceGroupResource = client.GetResourceGroupResource(resourceGroupResourceId); - - // get the collection of this MachineLearningRegistryResource - MachineLearningRegistryCollection collection = resourceGroupResource.GetMachineLearningRegistries(); - - // invoke the operation - string registryName = "string"; - bool result = await collection.ExistsAsync(registryName); - - Console.WriteLine($"Succeeded: {result}"); - } - - [Test] - [Ignore("Only validating compilation of examples")] - public async Task Exists_GetRegistryWithUserCreatedAccounts() - { - // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/get-UserCreated.json + // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/get.json // this example is just showing the usage of "Registries_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 @@ -402,48 +218,7 @@ public async Task Exists_GetRegistryWithUserCreatedAccounts() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRegistryWithSystemCreatedAccounts() { - // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/get-SystemCreated.json - // this example is just showing the usage of "Registries_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 ResourceGroupResource created on azure - // for more information of creating ResourceGroupResource, please refer to the document of ResourceGroupResource - string subscriptionId = "00000000-1111-2222-3333-444444444444"; - string resourceGroupName = "test-rg"; - ResourceIdentifier resourceGroupResourceId = ResourceGroupResource.CreateResourceIdentifier(subscriptionId, resourceGroupName); - ResourceGroupResource resourceGroupResource = client.GetResourceGroupResource(resourceGroupResourceId); - - // get the collection of this MachineLearningRegistryResource - MachineLearningRegistryCollection collection = resourceGroupResource.GetMachineLearningRegistries(); - - // invoke the operation - string registryName = "string"; - NullableResponse response = await collection.GetIfExistsAsync(registryName); - MachineLearningRegistryResource 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 - MachineLearningRegistryData resourceData = result.Data; - // for demo we just print out the id - Console.WriteLine($"Succeeded on id: {resourceData.Id}"); - } - } - - [Test] - [Ignore("Only validating compilation of examples")] - public async Task GetIfExists_GetRegistryWithUserCreatedAccounts() - { - // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/get-UserCreated.json + // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/get.json // this example is just showing the usage of "Registries_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/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryResource.cs index ed2dd89089629..d205d3afe4545 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryResource.cs @@ -21,37 +21,7 @@ public partial class Sample_MachineLearningRegistryResource [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistryWithSystemCreatedAccounts() { - // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/get-SystemCreated.json - // this example is just showing the usage of "Registries_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 MachineLearningRegistryResource created on azure - // for more information of creating MachineLearningRegistryResource, please refer to the document of MachineLearningRegistryResource - string subscriptionId = "00000000-1111-2222-3333-444444444444"; - string resourceGroupName = "test-rg"; - string registryName = "string"; - ResourceIdentifier machineLearningRegistryResourceId = MachineLearningRegistryResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, registryName); - MachineLearningRegistryResource machineLearningRegistry = client.GetMachineLearningRegistryResource(machineLearningRegistryResourceId); - - // invoke the operation - MachineLearningRegistryResource result = await machineLearningRegistry.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 - MachineLearningRegistryData resourceData = result.Data; - // for demo we just print out the id - Console.WriteLine($"Succeeded on id: {resourceData.Id}"); - } - - [Test] - [Ignore("Only validating compilation of examples")] - public async Task Get_GetRegistryWithUserCreatedAccounts() - { - // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/get-UserCreated.json + // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/get.json // this example is just showing the usage of "Registries_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 @@ -107,7 +77,7 @@ public async Task Delete_DeleteRegistry() [Ignore("Only validating compilation of examples")] public async Task Update_UpdateRegistryWithSystemCreatedAccounts() { - // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/update-SystemCreated.json + // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/update.json // this example is just showing the usage of "Registries_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 @@ -152,55 +122,6 @@ public async Task Update_UpdateRegistryWithSystemCreatedAccounts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - [Test] - [Ignore("Only validating compilation of examples")] - public async Task Update_UpdateRegistryWithUserCreatedAccounts() - { - // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/update-UserCreated.json - // this example is just showing the usage of "Registries_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 - TokenCredential cred = new DefaultAzureCredential(); - // authenticate your client - ArmClient client = new ArmClient(cred); - - // this example assumes you already have this MachineLearningRegistryResource created on azure - // for more information of creating MachineLearningRegistryResource, please refer to the document of MachineLearningRegistryResource - string subscriptionId = "00000000-1111-2222-3333-444444444444"; - string resourceGroupName = "test-rg"; - string registryName = "string"; - ResourceIdentifier machineLearningRegistryResourceId = MachineLearningRegistryResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, registryName); - MachineLearningRegistryResource machineLearningRegistry = client.GetMachineLearningRegistryResource(machineLearningRegistryResourceId); - - // invoke the operation - MachineLearningRegistryPatch patch = new MachineLearningRegistryPatch - { - Identity = new ManagedServiceIdentity("UserAssigned") - { - UserAssignedIdentities = -{ -[new ResourceIdentifier("string")] = new UserAssignedIdentity() -}, - }, - Sku = new MachineLearningSkuPatch - { - Name = "string", - Tier = MachineLearningSkuTier.Basic, - Size = "string", - Family = "string", - Capacity = 1, - }, - Tags = { }, - }; - MachineLearningRegistryResource result = await machineLearningRegistry.UpdateAsync(patch); - - // 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 - MachineLearningRegistryData resourceData = result.Data; - // for demo we just print out the id - Console.WriteLine($"Succeeded on id: {resourceData.Id}"); - } - [Test] [Ignore("Only validating compilation of examples")] public async Task GetBlobReferenceSasRegistryDataReference_GetBlobReferenceSASDataReference() @@ -304,7 +225,6 @@ public async Task RemoveRegions_RemoveRegionsFromRegistry() AcrAccountSku = "string", ArmResourceId = new ResourceIdentifier("string"), }, -ArmResourceId = new ResourceIdentifier("string"), }}, Location = new AzureLocation("string"), StorageAccountDetails = {new StorageAccountDetails @@ -317,7 +237,6 @@ public async Task RemoveRegions_RemoveRegionsFromRegistry() StorageAccountName = "string", StorageAccountType = "string", }, -ArmResourceId = new ResourceIdentifier("string"), }}, }}, Tags = { }, diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningWorkspaceResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningWorkspaceResource.cs index b027872ad57b9..f36b1c69c7ffb 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningWorkspaceResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningWorkspaceResource.cs @@ -109,6 +109,35 @@ public async Task Update_UpdateWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } + [Test] + [Ignore("Only validating compilation of examples")] + public async Task GetWorkspaceFeatures_ListWorkspaceFeatures() + { + // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/WorkspaceFeature/list.json + // this example is just showing the usage of "WorkspaceFeatures_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 MachineLearningWorkspaceResource created on azure + // for more information of creating MachineLearningWorkspaceResource, please refer to the document of MachineLearningWorkspaceResource + string subscriptionId = "00000000-0000-0000-0000-000000000000"; + string resourceGroupName = "myResourceGroup"; + string workspaceName = "testworkspace"; + ResourceIdentifier machineLearningWorkspaceResourceId = MachineLearningWorkspaceResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, workspaceName); + MachineLearningWorkspaceResource machineLearningWorkspace = client.GetMachineLearningWorkspaceResource(machineLearningWorkspaceResourceId); + + // invoke the operation and iterate over the result + await foreach (MachineLearningUserFeature item in machineLearningWorkspace.GetWorkspaceFeaturesAsync()) + { + Console.WriteLine($"Succeeded: {item}"); + } + + Console.WriteLine("Succeeded"); + } + [Test] [Ignore("Only validating compilation of examples")] public async Task Diagnose_DiagnoseWorkspace() @@ -396,34 +425,5 @@ public async Task ProvisionManagedNetworkManagedNetworkProvision_ProvisionManage Console.WriteLine($"Succeeded: {result}"); } - - [Test] - [Ignore("Only validating compilation of examples")] - public async Task GetWorkspaceFeatures_ListWorkspaceFeatures() - { - // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/WorkspaceFeature/list.json - // this example is just showing the usage of "WorkspaceFeatures_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 MachineLearningWorkspaceResource created on azure - // for more information of creating MachineLearningWorkspaceResource, please refer to the document of MachineLearningWorkspaceResource - string subscriptionId = "00000000-0000-0000-0000-000000000000"; - string resourceGroupName = "myResourceGroup"; - string workspaceName = "testworkspace"; - ResourceIdentifier machineLearningWorkspaceResourceId = MachineLearningWorkspaceResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, workspaceName); - MachineLearningWorkspaceResource machineLearningWorkspace = client.GetMachineLearningWorkspaceResource(machineLearningWorkspaceResourceId); - - // invoke the operation and iterate over the result - await foreach (MachineLearningUserFeature item in machineLearningWorkspace.GetWorkspaceFeaturesAsync()) - { - Console.WriteLine($"Succeeded: {item}"); - } - - Console.WriteLine("Succeeded"); - } } } diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 1a10c85e1ff35..f2fe72ba41ad3 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -17,37 +17,6 @@ namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_SubscriptionResourceExtensions { - [Test] - [Ignore("Only validating compilation of examples")] - public async Task GetMachineLearningWorkspaces_GetWorkspacesBySubscription() - { - // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/listBySubscription.json - // this example is just showing the usage of "Workspaces_ListBySubscription" 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 SubscriptionResource created on azure - // for more information of creating SubscriptionResource, please refer to the document of SubscriptionResource - string subscriptionId = "00000000-1111-2222-3333-444444444444"; - ResourceIdentifier subscriptionResourceId = SubscriptionResource.CreateResourceIdentifier(subscriptionId); - SubscriptionResource subscriptionResource = client.GetSubscriptionResource(subscriptionResourceId); - - // invoke the operation and iterate over the result - await foreach (MachineLearningWorkspaceResource item in subscriptionResource.GetMachineLearningWorkspacesAsync()) - { - // 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 - MachineLearningWorkspaceData resourceData = item.Data; - // for demo we just print out the id - Console.WriteLine($"Succeeded on id: {resourceData.Id}"); - } - - Console.WriteLine("Succeeded"); - } - [Test] [Ignore("Only validating compilation of examples")] public async Task GetMachineLearningUsages_ListUsages() @@ -206,5 +175,36 @@ public async Task GetMachineLearningRegistries_ListRegistriesBySubscription() Console.WriteLine("Succeeded"); } + + [Test] + [Ignore("Only validating compilation of examples")] + public async Task GetMachineLearningWorkspaces_GetWorkspacesBySubscription() + { + // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/listBySubscription.json + // this example is just showing the usage of "Workspaces_ListBySubscription" 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 SubscriptionResource created on azure + // for more information of creating SubscriptionResource, please refer to the document of SubscriptionResource + string subscriptionId = "00000000-1111-2222-3333-444444444444"; + ResourceIdentifier subscriptionResourceId = SubscriptionResource.CreateResourceIdentifier(subscriptionId); + SubscriptionResource subscriptionResource = client.GetSubscriptionResource(subscriptionResourceId); + + // invoke the operation and iterate over the result + await foreach (MachineLearningWorkspaceResource item in subscriptionResource.GetMachineLearningWorkspacesAsync()) + { + // 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 + MachineLearningWorkspaceData resourceData = item.Data; + // for demo we just print out the id + Console.WriteLine($"Succeeded on id: {resourceData.Id}"); + } + + Console.WriteLine("Succeeded"); + } } } diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/ArmMachineLearningModelFactory.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/ArmMachineLearningModelFactory.cs index c064a17675dd8..8605dce3eca8b 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/ArmMachineLearningModelFactory.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/ArmMachineLearningModelFactory.cs @@ -17,6 +17,37 @@ namespace Azure.ResourceManager.MachineLearning.Models /// Model factory for models. public static partial class ArmMachineLearningModelFactory { + /// Initializes a new instance of . + /// Specifies the resource ID. + /// Region of the AML workspace in the id. + /// Specifies the resource type. + /// An enum describing the unit of usage measurement. + /// The current usage of the resource. + /// The maximum permitted usage of the resource. + /// The name of the type of usage. + /// A new instance for mocking. + public static MachineLearningUsage MachineLearningUsage(string id = null, string amlWorkspaceLocation = null, string usageType = null, MachineLearningUsageUnit? unit = null, long? currentValue = null, long? limit = null, MachineLearningUsageName name = null) + { + return new MachineLearningUsage( + id, + amlWorkspaceLocation, + usageType, + unit, + currentValue, + limit, + name, + serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// The name of the resource. + /// The localized name of the resource. + /// A new instance for mocking. + public static MachineLearningUsageName MachineLearningUsageName(string value = null, string localizedValue = null) + { + return new MachineLearningUsageName(value, localizedValue, serializedAdditionalRawData: null); + } + /// Initializes a new instance of . /// The error object. /// A new instance for mocking. @@ -25,102 +56,108 @@ public static MachineLearningError MachineLearningError(ResponseError error = nu return new MachineLearningError(error, serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// The id. - /// The name. - /// The resourceType. - /// The systemData. - /// The tags. - /// The location. - /// The identity of the resource. - /// - /// The sku of the workspace. - /// The immutable id associated with this workspace. - /// The description of this workspace. - /// The friendly name for this workspace. This name in mutable. - /// ARM id of the key vault associated with this workspace. This cannot be changed once the workspace has been created. - /// ARM id of the application insights associated with this workspace. - /// ARM id of the container registry associated with this workspace. - /// ARM id of the storage account associated with this workspace. This cannot be changed once the workspace has been created. - /// Url for the discovery service to identify regional endpoints for machine learning experimentation services. - /// The current deployment state of workspace resource. The provisioningState is to indicate states for resource provisioning. - /// The encryption settings of Azure ML workspace. - /// The flag to signal HBI data in the workspace and reduce diagnostic data collected by the service. - /// The name of the managed resource group created by workspace RP in customer subscription if the workspace is CMK workspace. - /// Count of private connections in the workspace. - /// The compute name for image build. - /// The flag to indicate whether to allow public access when behind VNet. - /// Whether requests from Public Network are allowed. - /// The list of private endpoint connections in the workspace. - /// Settings for serverless compute created in the workspace. - /// The list of shared private link resources in this workspace. - /// The notebook info of Azure ML workspace. - /// The service managed resource settings. - /// The user assigned identity resource id that represents the workspace identity. - /// The tenant id associated with this workspace. - /// If the storage associated with the workspace has hierarchical namespace(HNS) enabled. - /// The URI associated with this workspace that machine learning flow must point at to set up tracking. - /// Enabling v1_legacy_mode may prevent you from using features provided by the v2 API. - /// Managed Network settings for a machine learning workspace. - /// Settings for feature store type workspace. - /// - /// - /// - /// WorkspaceHub's configuration object. - /// A new instance for mocking. - public static MachineLearningWorkspaceData MachineLearningWorkspaceData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ManagedServiceIdentity identity = null, string kind = null, MachineLearningSku sku = null, string workspaceId = null, string description = null, string friendlyName = null, string keyVault = null, string applicationInsights = null, string containerRegistry = null, string storageAccount = null, Uri discoveryUri = null, MachineLearningProvisioningState? provisioningState = null, MachineLearningEncryptionSetting encryption = null, bool? isHbiWorkspace = null, string serviceProvisionedResourceGroup = null, int? privateLinkCount = null, string imageBuildCompute = null, bool? allowPublicAccessWhenBehindVnet = null, PublicNetworkAccess? publicNetworkAccessType = null, IEnumerable privateEndpointConnections = null, ServerlessComputeSettings serverlessComputeSettings = null, IEnumerable sharedPrivateLinkResources = null, MachineLearningNotebookResourceInfo notebookInfo = null, int? cosmosDbCollectionsThroughput = null, string primaryUserAssignedIdentity = null, Guid? tenantId = null, bool? isStorageHnsEnabled = null, Uri mlFlowTrackingUri = null, bool? isV1LegacyMode = null, ManagedNetworkSettings managedNetwork = null, FeatureStoreSettings featureStoreSettings = null, IEnumerable associatedWorkspaces = null, bool? enableDataIsolation = null, ResourceIdentifier hubResourceId = null, WorkspaceHubConfig workspaceHubConfig = null) + /// Initializes a new instance of . + /// The name of the virtual machine size. + /// The family name of the virtual machine size. + /// The number of vCPUs supported by the virtual machine size. + /// The number of gPUs supported by the virtual machine size. + /// The OS VHD disk size, in MB, allowed by the virtual machine size. + /// The resource volume size, in MB, allowed by the virtual machine size. + /// The amount of memory, in GB, supported by the virtual machine size. + /// Specifies if the virtual machine size supports low priority VMs. + /// Specifies if the virtual machine size supports premium IO. + /// The estimated price information for using a VM. + /// Specifies the compute types supported by the virtual machine size. + /// A new instance for mocking. + public static MachineLearningVmSize MachineLearningVmSize(string name = null, string family = null, int? vCpus = null, int? gpus = null, int? osVhdSizeMB = null, int? maxResourceVolumeMB = null, double? memoryGB = null, bool? lowPriorityCapable = null, bool? isPremiumIOSupported = null, MachineLearningEstimatedVmPrices estimatedVmPrices = null, IEnumerable supportedComputeTypes = null) { - tags ??= new Dictionary(); - privateEndpointConnections ??= new List(); - sharedPrivateLinkResources ??= new List(); - associatedWorkspaces ??= new List(); + supportedComputeTypes ??= new List(); - return new MachineLearningWorkspaceData( + return new MachineLearningVmSize( + name, + family, + vCpus, + gpus, + osVhdSizeMB, + maxResourceVolumeMB, + memoryGB, + lowPriorityCapable, + isPremiumIOSupported, + estimatedVmPrices, + supportedComputeTypes?.ToList(), + serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// Three lettered code specifying the currency of the VM price. Example: USD. + /// The unit of time measurement for the specified VM price. Example: OneHour. + /// The list of estimated prices for using a VM of a particular OS type, tier, etc. + /// A new instance for mocking. + public static MachineLearningEstimatedVmPrices MachineLearningEstimatedVmPrices(MachineLearningBillingCurrency billingCurrency = default, MachineLearningUnitOfMeasure unitOfMeasure = default, IEnumerable values = null) + { + values ??= new List(); + + return new MachineLearningEstimatedVmPrices(billingCurrency, unitOfMeasure, values?.ToList(), serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// The price charged for using the VM. + /// Operating system type used by the VM. + /// The type of the VM. + /// A new instance for mocking. + public static MachineLearningEstimatedVmPrice MachineLearningEstimatedVmPrice(double retailPrice = default, MachineLearningVmPriceOSType osType = default, MachineLearningVmTier vmTier = default) + { + return new MachineLearningEstimatedVmPrice(retailPrice, osType, vmTier, serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// Specifies the resource ID. + /// Specifies the resource type. + /// The maximum permitted quota of the resource. + /// An enum describing the unit of quota measurement. + /// Status of update workspace quota. + /// A new instance for mocking. + public static MachineLearningWorkspaceQuotaUpdate MachineLearningWorkspaceQuotaUpdate(string id = null, string updateWorkspaceQuotasType = null, long? limit = null, MachineLearningQuotaUnit? unit = null, MachineLearningWorkspaceQuotaStatus? status = null) + { + return new MachineLearningWorkspaceQuotaUpdate( + id, + updateWorkspaceQuotasType, + limit, + unit, + status, + serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// Specifies the resource ID. + /// Region of the AML workspace in the id. + /// Specifies the resource type. + /// Name of the resource. + /// The maximum permitted quota of the resource. + /// An enum describing the unit of quota measurement. + /// A new instance for mocking. + public static MachineLearningResourceQuota MachineLearningResourceQuota(string id = null, string amlWorkspaceLocation = null, string resourceQuotaType = null, MachineLearningResourceName name = null, long? limit = null, MachineLearningQuotaUnit? unit = null) + { + return new MachineLearningResourceQuota( id, + amlWorkspaceLocation, + resourceQuotaType, name, - resourceType, - systemData, - tags, - location, - identity, - kind, - sku, - workspaceId, - description, - friendlyName, - keyVault, - applicationInsights, - containerRegistry, - storageAccount, - discoveryUri, - provisioningState, - encryption, - isHbiWorkspace, - serviceProvisionedResourceGroup, - privateLinkCount, - imageBuildCompute, - allowPublicAccessWhenBehindVnet, - publicNetworkAccessType, - privateEndpointConnections?.ToList(), - serverlessComputeSettings, - sharedPrivateLinkResources?.ToList(), - notebookInfo, - cosmosDbCollectionsThroughput != null ? new ServiceManagedResourcesSettings(new CosmosDbSettings(cosmosDbCollectionsThroughput, serializedAdditionalRawData: null), serializedAdditionalRawData: null) : null, - primaryUserAssignedIdentity, - tenantId, - isStorageHnsEnabled, - mlFlowTrackingUri, - isV1LegacyMode, - managedNetwork, - featureStoreSettings, - associatedWorkspaces?.ToList(), - enableDataIsolation, - hubResourceId, - workspaceHubConfig, + limit, + unit, serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . + /// The name of the resource. + /// The localized name of the resource. + /// A new instance for mocking. + public static MachineLearningResourceName MachineLearningResourceName(string value = null, string localizedValue = null) + { + return new MachineLearningResourceName(value, localizedValue, serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . /// The id. /// The name. /// The resourceType. @@ -129,15 +166,17 @@ public static MachineLearningWorkspaceData MachineLearningWorkspaceData(Resource /// The location. /// The identity of the resource. /// The sku of the workspace. - /// The resource of private end point. - /// A collection of information about the state of the connection between service consumer and provider. - /// The provisioning state of the private endpoint connection resource. - /// A new instance for mocking. - public static MachineLearningPrivateEndpointConnectionData MachineLearningPrivateEndpointConnectionData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ManagedServiceIdentity identity = null, MachineLearningSku sku = null, ResourceIdentifier subResourceId = null, MachineLearningPrivateLinkServiceConnectionState connectionState = null, MachineLearningPrivateEndpointConnectionProvisioningState? provisioningState = null) + /// + /// Compute properties + /// 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 . + /// + /// A new instance for mocking. + public static MachineLearningComputeData MachineLearningComputeData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ManagedServiceIdentity identity = null, MachineLearningSku sku = null, MachineLearningComputeProperties properties = null) { tags ??= new Dictionary(); - return new MachineLearningPrivateEndpointConnectionData( + return new MachineLearningComputeData( id, name, resourceType, @@ -146,451 +185,382 @@ public static MachineLearningPrivateEndpointConnectionData MachineLearningPrivat location, identity, sku, - subResourceId != null ? ResourceManagerModelFactory.SubResource(subResourceId) : null, - connectionState, - provisioningState, + properties, serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// The ARM identifier for Private Endpoint. - /// A new instance for mocking. - public static PrivateEndpointBase PrivateEndpointBase(ResourceIdentifier id = null) + /// Initializes a new instance of . + /// The type of compute. + /// Location for the underlying compute. + /// The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed. + /// The description of the Machine Learning compute. + /// The time at which the compute was created. + /// The time at which the compute was last modified. + /// ARM resource id of the underlying compute. + /// Errors during provisioning. + /// Indicating whether the compute was provisioned by user and brought from outside if true, or machine learning service provisioned it if false. + /// Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication. + /// A new instance for mocking. + public static MachineLearningComputeProperties MachineLearningComputeProperties(string computeType = null, string computeLocation = null, MachineLearningProvisioningState? provisioningState = null, string description = null, DateTimeOffset? createdOn = null, DateTimeOffset? modifiedOn = null, ResourceIdentifier resourceId = null, IEnumerable provisioningErrors = null, bool? isAttachedCompute = null, bool? disableLocalAuth = null) { - return new PrivateEndpointBase(id, serializedAdditionalRawData: null); - } + provisioningErrors ??= new List(); - /// Initializes a new instance of . - /// - /// the data plane resourceId that used to initialize notebook component. - /// The error that occurs when preparing notebook. - /// A new instance for mocking. - public static MachineLearningNotebookResourceInfo MachineLearningNotebookResourceInfo(string fqdn = null, string resourceId = null, MachineLearningNotebookPreparationError notebookPreparationError = null) - { - return new MachineLearningNotebookResourceInfo(fqdn, resourceId, notebookPreparationError, serializedAdditionalRawData: null); - } - - /// Initializes a new instance of . - /// - /// - /// A new instance for mocking. - public static MachineLearningNotebookPreparationError MachineLearningNotebookPreparationError(string errorMessage = null, int? statusCode = null) - { - return new MachineLearningNotebookPreparationError(errorMessage, statusCode, serializedAdditionalRawData: null); + return new UnknownCompute( + computeType == null ? default : new ComputeType(computeType), + computeLocation, + provisioningState, + description, + createdOn, + modifiedOn, + resourceId, + provisioningErrors?.ToList(), + isAttachedCompute, + disableLocalAuth, + serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// Isolation mode for the managed network of a machine learning workspace. - /// - /// - /// Dictionary of <OutboundRule> - /// 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 . - /// - /// Status of the Provisioning for the managed network of a machine learning workspace. - /// A new instance for mocking. - public static ManagedNetworkSettings ManagedNetworkSettings(IsolationMode? isolationMode = null, string networkId = null, IDictionary outboundRules = null, ManagedNetworkProvisionStatus status = null) + /// Initializes a new instance of . + /// ID of the compute node. + /// Private IP address of the compute node. + /// Public IP address of the compute node. + /// SSH port number of the node. + /// State of the compute node. Values are idle, running, preparing, unusable, leaving and preempted. + /// ID of the Experiment running on the node, if any else null. + /// A new instance for mocking. + public static AmlComputeNodeInformation AmlComputeNodeInformation(string nodeId = null, IPAddress privateIPAddress = null, IPAddress publicIPAddress = null, int? port = null, MachineLearningNodeState? nodeState = null, string runId = null) { - outboundRules ??= new Dictionary(); - - return new ManagedNetworkSettings(isolationMode, networkId, outboundRules, status, serializedAdditionalRawData: null); + return new AmlComputeNodeInformation( + nodeId, + privateIPAddress, + publicIPAddress, + port, + nodeState, + runId, + serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// - /// A new instance for mocking. - public static MachineLearningWorkspaceDiagnoseResult MachineLearningWorkspaceDiagnoseResult(MachineLearningDiagnoseResultValue value = null) + /// Initializes a new instance of . + /// The id. + /// The name. + /// The resourceType. + /// The systemData. + /// [Required] Additional attributes of the entity. + /// A new instance for mocking. + public static MachineLearningCodeContainerData MachineLearningCodeContainerData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningCodeContainerProperties properties = null) { - return new MachineLearningWorkspaceDiagnoseResult(value, serializedAdditionalRawData: null); + return new MachineLearningCodeContainerData( + id, + name, + resourceType, + systemData, + properties, + serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// A new instance for mocking. - public static MachineLearningDiagnoseResultValue MachineLearningDiagnoseResultValue(IEnumerable userDefinedRouteResults = null, IEnumerable networkSecurityRuleResults = null, IEnumerable resourceLockResults = null, IEnumerable dnsResolutionResults = null, IEnumerable storageAccountResults = null, IEnumerable keyVaultResults = null, IEnumerable containerRegistryResults = null, IEnumerable applicationInsightsResults = null, IEnumerable otherResults = null) + /// Initializes a new instance of . + /// The asset description text. + /// Tag dictionary. Tags can be added, removed, and updated. + /// The asset property dictionary. + /// Is the asset archived?. + /// The latest version inside this container. + /// The next auto incremental version. + /// Provisioning state for the code container. + /// A new instance for mocking. + public static MachineLearningCodeContainerProperties MachineLearningCodeContainerProperties(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isArchived = null, string latestVersion = null, string nextVersion = null, RegistryAssetProvisioningState? provisioningState = null) { - userDefinedRouteResults ??= new List(); - networkSecurityRuleResults ??= new List(); - resourceLockResults ??= new List(); - dnsResolutionResults ??= new List(); - storageAccountResults ??= new List(); - keyVaultResults ??= new List(); - containerRegistryResults ??= new List(); - applicationInsightsResults ??= new List(); - otherResults ??= new List(); + tags ??= new Dictionary(); + properties ??= new Dictionary(); - return new MachineLearningDiagnoseResultValue( - userDefinedRouteResults?.ToList(), - networkSecurityRuleResults?.ToList(), - resourceLockResults?.ToList(), - dnsResolutionResults?.ToList(), - storageAccountResults?.ToList(), - keyVaultResults?.ToList(), - containerRegistryResults?.ToList(), - applicationInsightsResults?.ToList(), - otherResults?.ToList(), - serializedAdditionalRawData: null); + return new MachineLearningCodeContainerProperties( + description, + tags, + properties, + serializedAdditionalRawData: null, + isArchived, + latestVersion, + nextVersion, + provisioningState); } - /// Initializes a new instance of . - /// Code for workspace setup error. - /// Level of workspace setup error. - /// Message of workspace setup error. - /// A new instance for mocking. - public static MachineLearningDiagnoseResult MachineLearningDiagnoseResult(string code = null, MachineLearningDiagnoseResultLevel? level = null, string message = null) + /// Initializes a new instance of . + /// The asset description text. + /// Tag dictionary. Tags can be added, removed, and updated. + /// The asset property dictionary. + /// Is the asset archived?. + /// The latest version inside this container. + /// The next auto incremental version. + /// A new instance for mocking. + public static MachineLearningAssetContainer MachineLearningAssetContainer(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isArchived = null, string latestVersion = null, string nextVersion = null) { - return new MachineLearningDiagnoseResult(code, level, message, serializedAdditionalRawData: null); + tags ??= new Dictionary(); + properties ??= new Dictionary(); + + return new MachineLearningAssetContainer( + description, + tags, + properties, + serializedAdditionalRawData: null, + isArchived, + latestVersion, + nextVersion); } - /// Initializes a new instance of . - /// - /// - /// - /// - /// - /// A new instance for mocking. - public static MachineLearningWorkspaceGetKeysResult MachineLearningWorkspaceGetKeysResult(string userStorageKey = null, string userStorageResourceId = null, string appInsightsInstrumentationKey = null, MachineLearningContainerRegistryCredentials containerRegistryCredentials = null, MachineLearningWorkspaceGetNotebookKeysResult notebookAccessKeys = null) + /// Initializes a new instance of . + /// The id. + /// The name. + /// The resourceType. + /// The systemData. + /// [Required] Additional attributes of the entity. + /// A new instance for mocking. + public static MachineLearningCodeVersionData MachineLearningCodeVersionData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningCodeVersionProperties properties = null) { - return new MachineLearningWorkspaceGetKeysResult( - userStorageKey, - userStorageResourceId, - appInsightsInstrumentationKey, - containerRegistryCredentials, - notebookAccessKeys, + return new MachineLearningCodeVersionData( + id, + name, + resourceType, + systemData, + properties, serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// - /// - /// - /// A new instance for mocking. - public static MachineLearningContainerRegistryCredentials MachineLearningContainerRegistryCredentials(AzureLocation? location = null, string username = null, IEnumerable passwords = null) + /// Initializes a new instance of . + /// The asset description text. + /// Tag dictionary. Tags can be added, removed, and updated. + /// The asset property dictionary. + /// Is the asset archived?. + /// If the name version are system generated (anonymous registration). + /// Uri where code is located. + /// Provisioning state for the code version. + /// A new instance for mocking. + public static MachineLearningCodeVersionProperties MachineLearningCodeVersionProperties(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isArchived = null, bool? isAnonymous = null, Uri codeUri = null, RegistryAssetProvisioningState? provisioningState = null) { - passwords ??= new List(); + tags ??= new Dictionary(); + properties ??= new Dictionary(); - return new MachineLearningContainerRegistryCredentials(location, username, passwords?.ToList(), serializedAdditionalRawData: null); + return new MachineLearningCodeVersionProperties( + description, + tags, + properties, + serializedAdditionalRawData: null, + isArchived, + isAnonymous, + codeUri, + provisioningState); } - /// Initializes a new instance of . - /// - /// - /// A new instance for mocking. - public static MachineLearningPasswordDetail MachineLearningPasswordDetail(string name = null, string value = null) + /// Initializes a new instance of . + /// Container level read, write, list SAS. + /// ID for this upload request. + /// TemporaryBlobReference is the only supported type. + /// A new instance for mocking. + public static PendingUploadResponseDto PendingUploadResponseDto(BlobReferenceForConsumptionDto blobReferenceForConsumption = null, string pendingUploadId = null, PendingUploadType? pendingUploadType = null) { - return new MachineLearningPasswordDetail(name, value, serializedAdditionalRawData: null); + return new PendingUploadResponseDto(blobReferenceForConsumption, pendingUploadId, pendingUploadType, serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// - /// - /// A new instance for mocking. - public static MachineLearningWorkspaceGetNotebookKeysResult MachineLearningWorkspaceGetNotebookKeysResult(string primaryAccessKey = null, string secondaryAccessKey = null) + /// Initializes a new instance of . + /// + /// Blob URI path for client to upload data. + /// Example: https://blob.windows.core.net/Container/Path + /// + /// Arm ID of the storage account to use. + /// + /// Credential info to access storage account + /// 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 BlobReferenceForConsumptionDto BlobReferenceForConsumptionDto(Uri blobUri = null, ResourceIdentifier storageAccountArmId = null, PendingUploadCredentialDto credential = null) { - return new MachineLearningWorkspaceGetNotebookKeysResult(primaryAccessKey, secondaryAccessKey, serializedAdditionalRawData: null); + return new BlobReferenceForConsumptionDto(blobUri, storageAccountArmId, credential, serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// Specifies the resource ID. - /// Region of the AML workspace in the id. - /// Specifies the resource type. - /// An enum describing the unit of usage measurement. - /// The current usage of the resource. - /// The maximum permitted usage of the resource. - /// The name of the type of usage. - /// A new instance for mocking. - public static MachineLearningUsage MachineLearningUsage(string id = null, string amlWorkspaceLocation = null, string usageType = null, MachineLearningUsageUnit? unit = null, long? currentValue = null, long? limit = null, MachineLearningUsageName name = null) + /// Initializes a new instance of . + /// The id. + /// The name. + /// The resourceType. + /// The systemData. + /// [Required] Additional attributes of the entity. + /// A new instance for mocking. + public static MachineLearningComponentContainerData MachineLearningComponentContainerData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningComponentContainerProperties properties = null) { - return new MachineLearningUsage( + return new MachineLearningComponentContainerData( id, - amlWorkspaceLocation, - usageType, - unit, - currentValue, - limit, name, + resourceType, + systemData, + properties, serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// The name of the resource. - /// The localized name of the resource. - /// A new instance for mocking. - public static MachineLearningUsageName MachineLearningUsageName(string value = null, string localizedValue = null) + /// Initializes a new instance of . + /// The asset description text. + /// Tag dictionary. Tags can be added, removed, and updated. + /// The asset property dictionary. + /// Is the asset archived?. + /// The latest version inside this container. + /// The next auto incremental version. + /// Provisioning state for the component container. + /// A new instance for mocking. + public static MachineLearningComponentContainerProperties MachineLearningComponentContainerProperties(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isArchived = null, string latestVersion = null, string nextVersion = null, RegistryAssetProvisioningState? provisioningState = null) { - return new MachineLearningUsageName(value, localizedValue, serializedAdditionalRawData: null); + tags ??= new Dictionary(); + properties ??= new Dictionary(); + + return new MachineLearningComponentContainerProperties( + description, + tags, + properties, + serializedAdditionalRawData: null, + isArchived, + latestVersion, + nextVersion, + provisioningState); } - /// Initializes a new instance of . - /// The name of the virtual machine size. - /// The family name of the virtual machine size. - /// The number of vCPUs supported by the virtual machine size. - /// The number of gPUs supported by the virtual machine size. - /// The OS VHD disk size, in MB, allowed by the virtual machine size. - /// The resource volume size, in MB, allowed by the virtual machine size. - /// The amount of memory, in GB, supported by the virtual machine size. - /// Specifies if the virtual machine size supports low priority VMs. - /// Specifies if the virtual machine size supports premium IO. - /// The estimated price information for using a VM. - /// Specifies the compute types supported by the virtual machine size. - /// A new instance for mocking. - public static MachineLearningVmSize MachineLearningVmSize(string name = null, string family = null, int? vCpus = null, int? gpus = null, int? osVhdSizeMB = null, int? maxResourceVolumeMB = null, double? memoryGB = null, bool? lowPriorityCapable = null, bool? isPremiumIOSupported = null, MachineLearningEstimatedVmPrices estimatedVmPrices = null, IEnumerable supportedComputeTypes = null) + /// Initializes a new instance of . + /// The id. + /// The name. + /// The resourceType. + /// The systemData. + /// [Required] Additional attributes of the entity. + /// A new instance for mocking. + public static MachineLearningComponentVersionData MachineLearningComponentVersionData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningComponentVersionProperties properties = null) { - supportedComputeTypes ??= new List(); - - return new MachineLearningVmSize( + return new MachineLearningComponentVersionData( + id, name, - family, - vCpus, - gpus, - osVhdSizeMB, - maxResourceVolumeMB, - memoryGB, - lowPriorityCapable, - isPremiumIOSupported, - estimatedVmPrices, - supportedComputeTypes?.ToList(), + resourceType, + systemData, + properties, serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// Three lettered code specifying the currency of the VM price. Example: USD. - /// The unit of time measurement for the specified VM price. Example: OneHour. - /// The list of estimated prices for using a VM of a particular OS type, tier, etc. - /// A new instance for mocking. - public static MachineLearningEstimatedVmPrices MachineLearningEstimatedVmPrices(MachineLearningBillingCurrency billingCurrency = default, MachineLearningUnitOfMeasure unitOfMeasure = default, IEnumerable values = null) - { - values ??= new List(); - - return new MachineLearningEstimatedVmPrices(billingCurrency, unitOfMeasure, values?.ToList(), serializedAdditionalRawData: null); - } - - /// Initializes a new instance of . - /// The price charged for using the VM. - /// Operating system type used by the VM. - /// The type of the VM. - /// A new instance for mocking. - public static MachineLearningEstimatedVmPrice MachineLearningEstimatedVmPrice(double retailPrice = default, MachineLearningVmPriceOSType osType = default, MachineLearningVmTier vmTier = default) + /// Initializes a new instance of . + /// The asset description text. + /// Tag dictionary. Tags can be added, removed, and updated. + /// The asset property dictionary. + /// Is the asset archived?. + /// If the name version are system generated (anonymous registration). + /// + /// Defines Component definition details. + /// <see href="https://docs.microsoft.com/en-us/azure/machine-learning/reference-yaml-component-command" /> + /// + /// Provisioning state for the component version. + /// A new instance for mocking. + public static MachineLearningComponentVersionProperties MachineLearningComponentVersionProperties(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isArchived = null, bool? isAnonymous = null, BinaryData componentSpec = null, RegistryAssetProvisioningState? provisioningState = null) { - return new MachineLearningEstimatedVmPrice(retailPrice, osType, vmTier, serializedAdditionalRawData: null); - } + tags ??= new Dictionary(); + properties ??= new Dictionary(); - /// Initializes a new instance of . - /// Specifies the resource ID. - /// Specifies the resource type. - /// The maximum permitted quota of the resource. - /// An enum describing the unit of quota measurement. - /// Status of update workspace quota. - /// A new instance for mocking. - public static MachineLearningWorkspaceQuotaUpdate MachineLearningWorkspaceQuotaUpdate(string id = null, string updateWorkspaceQuotasType = null, long? limit = null, MachineLearningQuotaUnit? unit = null, MachineLearningWorkspaceQuotaStatus? status = null) - { - return new MachineLearningWorkspaceQuotaUpdate( - id, - updateWorkspaceQuotasType, - limit, - unit, - status, - serializedAdditionalRawData: null); + return new MachineLearningComponentVersionProperties( + description, + tags, + properties, + serializedAdditionalRawData: null, + isArchived, + isAnonymous, + componentSpec, + provisioningState); } - /// Initializes a new instance of . - /// Specifies the resource ID. - /// Region of the AML workspace in the id. - /// Specifies the resource type. - /// Name of the resource. - /// The maximum permitted quota of the resource. - /// An enum describing the unit of quota measurement. - /// A new instance for mocking. - public static MachineLearningResourceQuota MachineLearningResourceQuota(string id = null, string amlWorkspaceLocation = null, string resourceQuotaType = null, MachineLearningResourceName name = null, long? limit = null, MachineLearningQuotaUnit? unit = null) + /// Initializes a new instance of . + /// The id. + /// The name. + /// The resourceType. + /// The systemData. + /// [Required] Additional attributes of the entity. + /// A new instance for mocking. + public static MachineLearningDataContainerData MachineLearningDataContainerData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningDataContainerProperties properties = null) { - return new MachineLearningResourceQuota( + return new MachineLearningDataContainerData( id, - amlWorkspaceLocation, - resourceQuotaType, name, - limit, - unit, + resourceType, + systemData, + properties, serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// The name of the resource. - /// The localized name of the resource. - /// A new instance for mocking. - public static MachineLearningResourceName MachineLearningResourceName(string value = null, string localizedValue = null) + /// Initializes a new instance of . + /// The asset description text. + /// Tag dictionary. Tags can be added, removed, and updated. + /// The asset property dictionary. + /// Is the asset archived?. + /// The latest version inside this container. + /// The next auto incremental version. + /// [Required] Specifies the type of data. + /// A new instance for mocking. + public static MachineLearningDataContainerProperties MachineLearningDataContainerProperties(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isArchived = null, string latestVersion = null, string nextVersion = null, MachineLearningDataType dataType = default) { - return new MachineLearningResourceName(value, localizedValue, serializedAdditionalRawData: null); + tags ??= new Dictionary(); + properties ??= new Dictionary(); + + return new MachineLearningDataContainerProperties( + description, + tags, + properties, + serializedAdditionalRawData: null, + isArchived, + latestVersion, + nextVersion, + dataType); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The id. /// The name. /// The resourceType. /// The systemData. - /// The tags. - /// The location. - /// The identity of the resource. - /// The sku of the workspace. /// - /// Compute properties - /// 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 . + /// [Required] Additional attributes of the entity. + /// 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 . /// - /// A new instance for mocking. - public static MachineLearningComputeData MachineLearningComputeData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ManagedServiceIdentity identity = null, MachineLearningSku sku = null, MachineLearningComputeProperties properties = null) + /// A new instance for mocking. + public static MachineLearningDataVersionData MachineLearningDataVersionData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningDataVersionProperties properties = null) { - tags ??= new Dictionary(); - - return new MachineLearningComputeData( + return new MachineLearningDataVersionData( id, name, resourceType, systemData, - tags, - location, - identity, - sku, properties, serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// The type of compute. - /// Location for the underlying compute. - /// The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed. - /// The description of the Machine Learning compute. - /// The time at which the compute was created. - /// The time at which the compute was last modified. - /// ARM resource id of the underlying compute. - /// Errors during provisioning. - /// Indicating whether the compute was provisioned by user and brought from outside if true, or machine learning service provisioned it if false. - /// Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication. - /// A new instance for mocking. - public static MachineLearningComputeProperties MachineLearningComputeProperties(string computeType = null, string computeLocation = null, MachineLearningProvisioningState? provisioningState = null, string description = null, DateTimeOffset? createdOn = null, DateTimeOffset? modifiedOn = null, ResourceIdentifier resourceId = null, IEnumerable provisioningErrors = null, bool? isAttachedCompute = null, bool? disableLocalAuth = null) + /// Initializes a new instance of . + /// Blob reference for consumption details. + /// A new instance for mocking. + public static BlobReferenceSasResult BlobReferenceSasResult(GetBlobReferenceForConsumptionDto blobReferenceForConsumption = null) { - provisioningErrors ??= new List(); + return new BlobReferenceSasResult(blobReferenceForConsumption, serializedAdditionalRawData: null); + } - return new UnknownCompute( - computeType == null ? default : new ComputeType(computeType), - computeLocation, - provisioningState, - description, - createdOn, - modifiedOn, - resourceId, - provisioningErrors?.ToList(), - isAttachedCompute, - disableLocalAuth, - serializedAdditionalRawData: null); - } - - /// Initializes a new instance of . - /// ID of the compute node. - /// Private IP address of the compute node. - /// Public IP address of the compute node. - /// SSH port number of the node. - /// State of the compute node. Values are idle, running, preparing, unusable, leaving and preempted. - /// ID of the Experiment running on the node, if any else null. - /// A new instance for mocking. - public static AmlComputeNodeInformation AmlComputeNodeInformation(string nodeId = null, IPAddress privateIPAddress = null, IPAddress publicIPAddress = null, int? port = null, MachineLearningNodeState? nodeState = null, string runId = null) - { - return new AmlComputeNodeInformation( - nodeId, - privateIPAddress, - publicIPAddress, - port, - nodeState, - runId, - serializedAdditionalRawData: null); - } - - /// Initializes a new instance of . - /// - /// - /// - /// - /// - /// - /// - /// - /// A new instance for mocking. - public static MachineLearningWorkspaceNotebookAccessTokenResult MachineLearningWorkspaceNotebookAccessTokenResult(string notebookResourceId = null, string hostName = null, string publicDns = null, string accessToken = null, string tokenType = null, int? expiresIn = null, string refreshToken = null, string scope = null) - { - return new MachineLearningWorkspaceNotebookAccessTokenResult( - notebookResourceId, - hostName, - publicDns, - accessToken, - tokenType, - expiresIn, - refreshToken, - scope, - serializedAdditionalRawData: null); - } - - /// Initializes a new instance of . - /// The id. - /// The name. - /// The resourceType. - /// The systemData. - /// The tags. - /// The location. - /// The identity of the resource. - /// The sku of the workspace. - /// The private link resource group id. - /// The private link resource required member names. - /// The private link resource Private link DNS zone name. - /// A new instance for mocking. - public static MachineLearningPrivateLinkResource MachineLearningPrivateLinkResource(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ManagedServiceIdentity identity = null, MachineLearningSku sku = null, string groupId = null, IEnumerable requiredMembers = null, IEnumerable requiredZoneNames = null) - { - tags ??= new Dictionary(); - requiredMembers ??= new List(); - requiredZoneNames ??= new List(); - - return new MachineLearningPrivateLinkResource( - id, - name, - resourceType, - systemData, - tags, - location, - identity, - sku, - groupId, - requiredMembers?.ToList(), - requiredZoneNames?.ToList(), - serializedAdditionalRawData: null); - } - - /// Initializes a new instance of . - /// - /// A new instance for mocking. - public static MachineLearningWorkspaceGetStorageAccountKeysResult MachineLearningWorkspaceGetStorageAccountKeysResult(string userStorageKey = null) + /// Initializes a new instance of . + /// Blob uri, example: https://blob.windows.core.net/Container/Path. + /// The ARM id of the storage account. + /// + /// Credential info to access storage account + /// 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 . + /// + /// A new instance for mocking. + public static GetBlobReferenceForConsumptionDto GetBlobReferenceForConsumptionDto(Uri blobUri = null, string storageAccountArmId = null, DataReferenceCredential credential = null) { - return new MachineLearningWorkspaceGetStorageAccountKeysResult(userStorageKey, serializedAdditionalRawData: null); + return new GetBlobReferenceForConsumptionDto(blobUri, storageAccountArmId, credential, serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The id. /// The name. /// The resourceType. /// The systemData. - /// - /// 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 . - /// - /// A new instance for mocking. - public static MachineLearningWorkspaceConnectionData MachineLearningWorkspaceConnectionData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningWorkspaceConnectionProperties properties = null) + /// [Required] Additional attributes of the entity. + /// A new instance for mocking. + public static MachineLearningEnvironmentContainerData MachineLearningEnvironmentContainerData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningEnvironmentContainerProperties properties = null) { - return new MachineLearningWorkspaceConnectionData( + return new MachineLearningEnvironmentContainerData( id, name, resourceType, @@ -599,109 +569,41 @@ public static MachineLearningWorkspaceConnectionData MachineLearningWorkspaceCon serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// Authentication type of the connection target. - /// Category of the connection. - /// - /// - /// Group based on connection category. - /// - /// - /// Store user metadata for this connection. - /// - /// Value details of the workspace connection. - /// format for the workspace connection value. - /// A new instance for mocking. - public static MachineLearningWorkspaceConnectionProperties MachineLearningWorkspaceConnectionProperties(string authType = null, MachineLearningConnectionCategory? category = null, ResourceIdentifier createdByWorkspaceArmId = null, DateTimeOffset? expiryOn = null, WorkspaceConnectionGroup? group = null, bool? isSharedToAll = null, string target = null, IDictionary metadata = null, IEnumerable sharedUserList = null, string value = null, MachineLearningValueFormat? valueFormat = null) - { - metadata ??= new Dictionary(); - sharedUserList ??= new List(); - - return new UnknownWorkspaceConnectionPropertiesV2( - authType == null ? default : new MachineLearningConnectionAuthType(authType), - category, - createdByWorkspaceArmId, - expiryOn, - group, - isSharedToAll, - target, - metadata, - sharedUserList?.ToList(), - value, - valueFormat, - serializedAdditionalRawData: null); - } - - /// Initializes a new instance of . - /// - /// A new instance for mocking. - public static MachineLearningFqdnEndpoints MachineLearningFqdnEndpoints(MachineLearningFqdnEndpointsProperties properties = null) - { - return new MachineLearningFqdnEndpoints(properties, serializedAdditionalRawData: null); - } - - /// Initializes a new instance of . - /// - /// - /// A new instance for mocking. - public static MachineLearningFqdnEndpointsProperties MachineLearningFqdnEndpointsProperties(string category = null, IEnumerable endpoints = null) - { - endpoints ??= new List(); - - return new MachineLearningFqdnEndpointsProperties(category, endpoints?.ToList(), serializedAdditionalRawData: null); - } - - /// Initializes a new instance of . - /// - /// - /// A new instance for mocking. - public static MachineLearningFqdnEndpoint MachineLearningFqdnEndpoint(string domainName = null, IEnumerable endpointDetails = null) - { - endpointDetails ??= new List(); - - return new MachineLearningFqdnEndpoint(domainName, endpointDetails?.ToList(), serializedAdditionalRawData: null); - } - - /// Initializes a new instance of . - /// - /// A new instance for mocking. - public static MachineLearningFqdnEndpointDetail MachineLearningFqdnEndpointDetail(int? port = null) + /// Initializes a new instance of . + /// The asset description text. + /// Tag dictionary. Tags can be added, removed, and updated. + /// The asset property dictionary. + /// Is the asset archived?. + /// The latest version inside this container. + /// The next auto incremental version. + /// Provisioning state for the environment container. + /// A new instance for mocking. + public static MachineLearningEnvironmentContainerProperties MachineLearningEnvironmentContainerProperties(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isArchived = null, string latestVersion = null, string nextVersion = null, RegistryAssetProvisioningState? provisioningState = null) { - return new MachineLearningFqdnEndpointDetail(port, serializedAdditionalRawData: null); - } + tags ??= new Dictionary(); + properties ??= new Dictionary(); - /// Initializes a new instance of . - /// The id. - /// The name. - /// The resourceType. - /// The systemData. - /// - /// Outbound Rule for the managed network of a machine learning workspace. - /// 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 . - /// - /// A new instance for mocking. - public static MachineLearningOutboundRuleBasicData MachineLearningOutboundRuleBasicData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningOutboundRule properties = null) - { - return new MachineLearningOutboundRuleBasicData( - id, - name, - resourceType, - systemData, + return new MachineLearningEnvironmentContainerProperties( + description, + tags, properties, - serializedAdditionalRawData: null); + serializedAdditionalRawData: null, + isArchived, + latestVersion, + nextVersion, + provisioningState); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The id. /// The name. /// The resourceType. /// The systemData. /// [Required] Additional attributes of the entity. - /// A new instance for mocking. - public static MachineLearningCodeContainerData MachineLearningCodeContainerData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningCodeContainerProperties properties = null) + /// A new instance for mocking. + public static MachineLearningEnvironmentVersionData MachineLearningEnvironmentVersionData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningEnvironmentVersionProperties properties = null) { - return new MachineLearningCodeContainerData( + return new MachineLearningEnvironmentVersionData( id, name, resourceType, @@ -710,64 +612,64 @@ public static MachineLearningCodeContainerData MachineLearningCodeContainerData( serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The asset description text. /// Tag dictionary. Tags can be added, removed, and updated. /// The asset property dictionary. /// Is the asset archived?. - /// The latest version inside this container. - /// The next auto incremental version. - /// Provisioning state for the code container. - /// A new instance for mocking. - public static MachineLearningCodeContainerProperties MachineLearningCodeContainerProperties(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isArchived = null, string latestVersion = null, string nextVersion = null, RegistryAssetProvisioningState? provisioningState = null) + /// If the name version are system generated (anonymous registration). + /// + /// Environment type is either user managed or curated by the Azure ML service + /// <see href="https://docs.microsoft.com/en-us/azure/machine-learning/resource-curated-environments" /> + /// + /// + /// Name of the image that will be used for the environment. + /// <seealso href="https://docs.microsoft.com/en-us/azure/machine-learning/how-to-deploy-custom-docker-image#use-a-custom-base-image" /> + /// + /// + /// Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages. + /// <see href="https://repo2docker.readthedocs.io/en/latest/config_files.html#environment-yml-install-a-conda-environment" /> + /// + /// Configuration settings for Docker build context. + /// The OS type of the environment. + /// Defines configuration specific to inference. + /// Defines if image needs to be rebuilt based on base image changes. + /// Provisioning state for the environment version. + /// Stage in the environment lifecycle assigned to this environment. + /// A new instance for mocking. + public static MachineLearningEnvironmentVersionProperties MachineLearningEnvironmentVersionProperties(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isArchived = null, bool? isAnonymous = null, MachineLearningEnvironmentType? environmentType = null, string image = null, string condaFile = null, MachineLearningBuildContext build = null, MachineLearningOperatingSystemType? osType = null, MachineLearningInferenceContainerProperties inferenceConfig = null, AutoRebuildSetting? autoRebuild = null, RegistryAssetProvisioningState? provisioningState = null, string stage = null) { tags ??= new Dictionary(); properties ??= new Dictionary(); - return new MachineLearningCodeContainerProperties( + return new MachineLearningEnvironmentVersionProperties( description, tags, properties, serializedAdditionalRawData: null, isArchived, - latestVersion, - nextVersion, - provisioningState); - } - - /// Initializes a new instance of . - /// The asset description text. - /// Tag dictionary. Tags can be added, removed, and updated. - /// The asset property dictionary. - /// Is the asset archived?. - /// The latest version inside this container. - /// The next auto incremental version. - /// A new instance for mocking. - public static MachineLearningAssetContainer MachineLearningAssetContainer(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isArchived = null, string latestVersion = null, string nextVersion = null) - { - tags ??= new Dictionary(); - properties ??= new Dictionary(); - - return new MachineLearningAssetContainer( - description, - tags, - properties, - serializedAdditionalRawData: null, - isArchived, - latestVersion, - nextVersion); + isAnonymous, + environmentType, + image, + condaFile, + build, + osType, + inferenceConfig, + autoRebuild, + provisioningState, + stage); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The id. /// The name. /// The resourceType. /// The systemData. /// [Required] Additional attributes of the entity. - /// A new instance for mocking. - public static MachineLearningCodeVersionData MachineLearningCodeVersionData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningCodeVersionProperties properties = null) + /// A new instance for mocking. + public static MachineLearningModelContainerData MachineLearningModelContainerData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningModelContainerProperties properties = null) { - return new MachineLearningCodeVersionData( + return new MachineLearningModelContainerData( id, name, resourceType, @@ -776,68 +678,41 @@ public static MachineLearningCodeVersionData MachineLearningCodeVersionData(Reso serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The asset description text. /// Tag dictionary. Tags can be added, removed, and updated. /// The asset property dictionary. /// Is the asset archived?. - /// If the name version are system generated (anonymous registration). - /// Uri where code is located. - /// Provisioning state for the code version. - /// A new instance for mocking. - public static MachineLearningCodeVersionProperties MachineLearningCodeVersionProperties(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isArchived = null, bool? isAnonymous = null, Uri codeUri = null, RegistryAssetProvisioningState? provisioningState = null) + /// The latest version inside this container. + /// The next auto incremental version. + /// Provisioning state for the model container. + /// A new instance for mocking. + public static MachineLearningModelContainerProperties MachineLearningModelContainerProperties(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isArchived = null, string latestVersion = null, string nextVersion = null, RegistryAssetProvisioningState? provisioningState = null) { tags ??= new Dictionary(); properties ??= new Dictionary(); - return new MachineLearningCodeVersionProperties( + return new MachineLearningModelContainerProperties( description, tags, properties, serializedAdditionalRawData: null, isArchived, - isAnonymous, - codeUri, + latestVersion, + nextVersion, provisioningState); } - /// Initializes a new instance of . - /// Container level read, write, list SAS. - /// ID for this upload request. - /// TemporaryBlobReference is the only supported type. - /// A new instance for mocking. - public static PendingUploadResponseDto PendingUploadResponseDto(BlobReferenceForConsumptionDto blobReferenceForConsumption = null, string pendingUploadId = null, PendingUploadType? pendingUploadType = null) - { - return new PendingUploadResponseDto(blobReferenceForConsumption, pendingUploadId, pendingUploadType, serializedAdditionalRawData: null); - } - - /// Initializes a new instance of . - /// - /// Blob URI path for client to upload data. - /// Example: https://blob.windows.core.net/Container/Path - /// - /// Arm ID of the storage account to use. - /// - /// Credential info to access storage account - /// 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 BlobReferenceForConsumptionDto BlobReferenceForConsumptionDto(Uri blobUri = null, ResourceIdentifier storageAccountArmId = null, PendingUploadCredentialDto credential = null) - { - return new BlobReferenceForConsumptionDto(blobUri, storageAccountArmId, credential, serializedAdditionalRawData: null); - } - - /// Initializes a new instance of . + /// Initializes a new instance of . /// The id. /// The name. /// The resourceType. /// The systemData. /// [Required] Additional attributes of the entity. - /// A new instance for mocking. - public static MachineLearningComponentContainerData MachineLearningComponentContainerData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningComponentContainerProperties properties = null) + /// A new instance for mocking. + public static MachineLearningModelVersionData MachineLearningModelVersionData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningModelVersionProperties properties = null) { - return new MachineLearningComponentContainerData( + return new MachineLearningModelVersionData( id, name, resourceType, @@ -846,134 +721,237 @@ public static MachineLearningComponentContainerData MachineLearningComponentCont serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The asset description text. /// Tag dictionary. Tags can be added, removed, and updated. /// The asset property dictionary. /// Is the asset archived?. - /// The latest version inside this container. - /// The next auto incremental version. - /// Provisioning state for the component container. - /// A new instance for mocking. - public static MachineLearningComponentContainerProperties MachineLearningComponentContainerProperties(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isArchived = null, string latestVersion = null, string nextVersion = null, RegistryAssetProvisioningState? provisioningState = null) + /// If the name version are system generated (anonymous registration). + /// Mapping of model flavors to their properties. + /// The storage format for this entity. Used for NCD. + /// The URI path to the model contents. + /// Name of the training job which produced this model. + /// Provisioning state for the model version. + /// Stage in the model lifecycle assigned to this model. + /// A new instance for mocking. + public static MachineLearningModelVersionProperties MachineLearningModelVersionProperties(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isArchived = null, bool? isAnonymous = null, IDictionary flavors = null, string modelType = null, Uri modelUri = null, string jobName = null, RegistryAssetProvisioningState? provisioningState = null, string stage = null) { tags ??= new Dictionary(); properties ??= new Dictionary(); + flavors ??= new Dictionary(); - return new MachineLearningComponentContainerProperties( + return new MachineLearningModelVersionProperties( description, tags, properties, serializedAdditionalRawData: null, isArchived, - latestVersion, - nextVersion, - provisioningState); + isAnonymous, + flavors, + modelType, + modelUri, + jobName, + provisioningState, + stage); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The id. /// The name. /// The resourceType. /// The systemData. + /// The tags. + /// The location. /// [Required] Additional attributes of the entity. - /// A new instance for mocking. - public static MachineLearningComponentVersionData MachineLearningComponentVersionData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningComponentVersionProperties properties = null) + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. + /// Managed service identity (system assigned and/or user assigned identities). + /// Sku details required for ARM contract for Autoscaling. + /// A new instance for mocking. + public static MachineLearningBatchEndpointData MachineLearningBatchEndpointData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, MachineLearningBatchEndpointProperties properties = null, string kind = null, ManagedServiceIdentity identity = null, MachineLearningSku sku = null) { - return new MachineLearningComponentVersionData( + tags ??= new Dictionary(); + + return new MachineLearningBatchEndpointData( id, name, resourceType, systemData, + tags, + location, properties, + kind, + identity, + sku, serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// The asset description text. - /// Tag dictionary. Tags can be added, removed, and updated. - /// The asset property dictionary. - /// Is the asset archived?. - /// If the name version are system generated (anonymous registration). - /// - /// Defines Component definition details. - /// <see href="https://docs.microsoft.com/en-us/azure/machine-learning/reference-yaml-component-command" /> + /// Initializes a new instance of . + /// Description of the inference endpoint. + /// Property dictionary. Properties can be added, but not removed or altered. + /// Endpoint URI. + /// Endpoint Swagger URI. + /// [Required] Use 'Key' for key based authentication and 'AMLToken' for Azure Machine Learning token-based authentication. 'Key' doesn't expire but 'AMLToken' does. + /// + /// EndpointAuthKeys to set initially on an Endpoint. + /// This property will always be returned as null. AuthKey values must be retrieved using the ListKeys API. /// - /// Provisioning state for the component version. - /// A new instance for mocking. - public static MachineLearningComponentVersionProperties MachineLearningComponentVersionProperties(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isArchived = null, bool? isAnonymous = null, BinaryData componentSpec = null, RegistryAssetProvisioningState? provisioningState = null) + /// Default values for Batch Endpoint. + /// Provisioning state for the endpoint. + /// A new instance for mocking. + public static MachineLearningBatchEndpointProperties MachineLearningBatchEndpointProperties(string description = null, IDictionary properties = null, Uri scoringUri = null, Uri swaggerUri = null, MachineLearningEndpointAuthMode authMode = default, MachineLearningEndpointAuthKeys keys = null, string defaultsDeploymentName = null, MachineLearningEndpointProvisioningState? provisioningState = null) { - tags ??= new Dictionary(); properties ??= new Dictionary(); - return new MachineLearningComponentVersionProperties( + return new MachineLearningBatchEndpointProperties( description, - tags, properties, + scoringUri, + swaggerUri, + authMode, + keys, serializedAdditionalRawData: null, - isArchived, - isAnonymous, - componentSpec, + defaultsDeploymentName != null ? new BatchEndpointDefaults(defaultsDeploymentName, serializedAdditionalRawData: null) : null, provisioningState); } - /// Initializes a new instance of . + /// Initializes a new instance of . + /// Description of the inference endpoint. + /// Property dictionary. Properties can be added, but not removed or altered. + /// Endpoint URI. + /// Endpoint Swagger URI. + /// [Required] Use 'Key' for key based authentication and 'AMLToken' for Azure Machine Learning token-based authentication. 'Key' doesn't expire but 'AMLToken' does. + /// + /// EndpointAuthKeys to set initially on an Endpoint. + /// This property will always be returned as null. AuthKey values must be retrieved using the ListKeys API. + /// + /// A new instance for mocking. + public static MachineLearningEndpointProperties MachineLearningEndpointProperties(string description = null, IDictionary properties = null, Uri scoringUri = null, Uri swaggerUri = null, MachineLearningEndpointAuthMode authMode = default, MachineLearningEndpointAuthKeys keys = null) + { + properties ??= new Dictionary(); + + return new MachineLearningEndpointProperties( + description, + properties, + scoringUri, + swaggerUri, + authMode, + keys, + serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . /// The id. /// The name. /// The resourceType. /// The systemData. + /// The tags. + /// The location. /// [Required] Additional attributes of the entity. - /// A new instance for mocking. - public static MachineLearningDataContainerData MachineLearningDataContainerData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningDataContainerProperties properties = null) + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. + /// Managed service identity (system assigned and/or user assigned identities). + /// Sku details required for ARM contract for Autoscaling. + /// A new instance for mocking. + public static MachineLearningBatchDeploymentData MachineLearningBatchDeploymentData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, MachineLearningBatchDeploymentProperties properties = null, string kind = null, ManagedServiceIdentity identity = null, MachineLearningSku sku = null) { - return new MachineLearningDataContainerData( + tags ??= new Dictionary(); + + return new MachineLearningBatchDeploymentData( id, name, resourceType, systemData, - properties, - serializedAdditionalRawData: null); - } - - /// Initializes a new instance of . - /// The asset description text. - /// Tag dictionary. Tags can be added, removed, and updated. - /// The asset property dictionary. - /// Is the asset archived?. - /// The latest version inside this container. - /// The next auto incremental version. - /// [Required] Specifies the type of data. - /// A new instance for mocking. - public static MachineLearningDataContainerProperties MachineLearningDataContainerProperties(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isArchived = null, string latestVersion = null, string nextVersion = null, MachineLearningDataType dataType = default) - { - tags ??= new Dictionary(); - properties ??= new Dictionary(); - - return new MachineLearningDataContainerProperties( - description, tags, + location, properties, - serializedAdditionalRawData: null, - isArchived, - latestVersion, - nextVersion, - dataType); + kind, + identity, + sku, + serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// The id. - /// The name. + /// Initializes a new instance of . + /// Description of the endpoint deployment. + /// Property dictionary. Properties can be added, but not removed or altered. + /// Code configuration for the endpoint deployment. + /// ARM resource ID or AssetId of the environment specification for the endpoint deployment. + /// Environment variables configuration for the deployment. + /// Compute target for batch inference operation. + /// + /// Properties relevant to different deployment types. + /// 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 . + /// + /// + /// Error threshold, if the error count for the entire input goes above this value, + /// the batch inference will be aborted. Range is [-1, int.MaxValue]. + /// For FileDataset, this value is the count of file failures. + /// For TabularDataset, this value is the count of record failures. + /// If set to -1 (the lower bound), all failures during batch inference will be ignored. + /// + /// + /// Retry Settings for the batch inference operation. + /// If not provided, will default to the defaults defined in BatchRetrySettings. + /// + /// + /// Size of the mini-batch passed to each batch invocation. + /// For FileDataset, this is the number of files per mini-batch. + /// For TabularDataset, this is the size of the records in bytes, per mini-batch. + /// + /// Logging level for batch inference operation. + /// + /// Reference to the model asset for the endpoint deployment. + /// 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 . + /// + /// Indicates maximum number of parallelism per instance. + /// Indicates how the output will be organized. + /// Customized output file name for append_row output action. + /// + /// Indicates compute configuration for the job. + /// If not provided, will default to the defaults defined in ResourceConfiguration. + /// + /// Provisioning state for the endpoint deployment. + /// A new instance for mocking. + public static MachineLearningBatchDeploymentProperties MachineLearningBatchDeploymentProperties(string description = null, IDictionary properties = null, MachineLearningCodeConfiguration codeConfiguration = null, string environmentId = null, IDictionary environmentVariables = null, string compute = null, BatchDeploymentConfiguration deploymentConfiguration = null, int? errorThreshold = null, MachineLearningBatchRetrySettings retrySettings = null, long? miniBatchSize = null, MachineLearningBatchLoggingLevel? loggingLevel = null, MachineLearningAssetReferenceBase model = null, int? maxConcurrencyPerInstance = null, MachineLearningBatchOutputAction? outputAction = null, string outputFileName = null, MachineLearningDeploymentResourceConfiguration resources = null, MachineLearningDeploymentProvisioningState? provisioningState = null) + { + properties ??= new Dictionary(); + environmentVariables ??= new Dictionary(); + + return new MachineLearningBatchDeploymentProperties( + description, + properties, + codeConfiguration, + environmentId, + environmentVariables, + serializedAdditionalRawData: null, + compute, + deploymentConfiguration, + errorThreshold, + retrySettings, + miniBatchSize, + loggingLevel, + model, + maxConcurrencyPerInstance, + outputAction, + outputFileName, + resources, + provisioningState); + } + + /// Initializes a new instance of . + /// The id. + /// The name. /// The resourceType. /// The systemData. /// /// [Required] Additional attributes of the entity. - /// 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 . + /// 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 . /// - /// A new instance for mocking. - public static MachineLearningDataVersionData MachineLearningDataVersionData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningDataVersionProperties properties = null) + /// A new instance for mocking. + public static MachineLearningDatastoreData MachineLearningDatastoreData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningDatastoreProperties properties = null) { - return new MachineLearningDataVersionData( + return new MachineLearningDatastoreData( id, name, resourceType, @@ -982,38 +960,43 @@ public static MachineLearningDataVersionData MachineLearningDataVersionData(Reso serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// Blob reference for consumption details. - /// A new instance for mocking. - public static BlobReferenceSasResult BlobReferenceSasResult(GetBlobReferenceForConsumptionDto blobReferenceForConsumption = null) - { - return new BlobReferenceSasResult(blobReferenceForConsumption, serializedAdditionalRawData: null); - } - - /// Initializes a new instance of . - /// Blob uri, example: https://blob.windows.core.net/Container/Path. - /// The ARM id of the storage account. - /// - /// Credential info to access storage account - /// 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 . + /// Initializes a new instance of . + /// The asset description text. + /// Tag dictionary. Tags can be added, removed, and updated. + /// The asset property dictionary. + /// [Required] Storage type backing the datastore. + /// Readonly property to indicate if datastore is the workspace default datastore. + /// + /// [Required] Account credentials. + /// 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 . /// - /// A new instance for mocking. - public static GetBlobReferenceForConsumptionDto GetBlobReferenceForConsumptionDto(Uri blobUri = null, string storageAccountArmId = null, DataReferenceCredential credential = null) + /// A new instance for mocking. + public static MachineLearningDatastoreProperties MachineLearningDatastoreProperties(string description = null, IDictionary tags = null, IDictionary properties = null, string datastoreType = null, bool? isDefault = null, MachineLearningDatastoreCredentials credentials = null) { - return new GetBlobReferenceForConsumptionDto(blobUri, storageAccountArmId, credential, serializedAdditionalRawData: null); + tags ??= new Dictionary(); + properties ??= new Dictionary(); + + return new MachineLearningDatastoreProperties( + description, + tags, + properties, + serializedAdditionalRawData: null, + datastoreType == null ? default : new DatastoreType(datastoreType), + isDefault, + credentials); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The id. /// The name. /// The resourceType. /// The systemData. /// [Required] Additional attributes of the entity. - /// A new instance for mocking. - public static MachineLearningEnvironmentContainerData MachineLearningEnvironmentContainerData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningEnvironmentContainerProperties properties = null) + /// A new instance for mocking. + public static MachineLearningFeatureSetContainerData MachineLearningFeatureSetContainerData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningFeatureSetContainerProperties properties = null) { - return new MachineLearningEnvironmentContainerData( + return new MachineLearningFeatureSetContainerData( id, name, resourceType, @@ -1022,21 +1005,21 @@ public static MachineLearningEnvironmentContainerData MachineLearningEnvironment serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The asset description text. /// Tag dictionary. Tags can be added, removed, and updated. /// The asset property dictionary. /// Is the asset archived?. /// The latest version inside this container. /// The next auto incremental version. - /// Provisioning state for the environment container. - /// A new instance for mocking. - public static MachineLearningEnvironmentContainerProperties MachineLearningEnvironmentContainerProperties(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isArchived = null, string latestVersion = null, string nextVersion = null, RegistryAssetProvisioningState? provisioningState = null) + /// Provisioning state for the featureset container. + /// A new instance for mocking. + public static MachineLearningFeatureSetContainerProperties MachineLearningFeatureSetContainerProperties(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isArchived = null, string latestVersion = null, string nextVersion = null, RegistryAssetProvisioningState? provisioningState = null) { tags ??= new Dictionary(); properties ??= new Dictionary(); - return new MachineLearningEnvironmentContainerProperties( + return new MachineLearningFeatureSetContainerProperties( description, tags, properties, @@ -1047,16 +1030,16 @@ public static MachineLearningEnvironmentContainerProperties MachineLearningEnvir provisioningState); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The id. /// The name. /// The resourceType. /// The systemData. /// [Required] Additional attributes of the entity. - /// A new instance for mocking. - public static MachineLearningEnvironmentVersionData MachineLearningEnvironmentVersionData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningEnvironmentVersionProperties properties = null) + /// A new instance for mocking. + public static MachineLearningFeatureData MachineLearningFeatureData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningFeatureProperties properties = null) { - return new MachineLearningEnvironmentVersionData( + return new MachineLearningFeatureData( id, name, resourceType, @@ -1065,64 +1048,76 @@ public static MachineLearningEnvironmentVersionData MachineLearningEnvironmentVe serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . + /// The id. + /// The name. + /// The resourceType. + /// The systemData. + /// [Required] Additional attributes of the entity. + /// A new instance for mocking. + public static MachineLearningFeatureSetVersionData MachineLearningFeatureSetVersionData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningFeatureSetVersionProperties properties = null) + { + return new MachineLearningFeatureSetVersionData( + id, + name, + resourceType, + systemData, + properties, + serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . /// The asset description text. /// Tag dictionary. Tags can be added, removed, and updated. /// The asset property dictionary. /// Is the asset archived?. /// If the name version are system generated (anonymous registration). - /// - /// Environment type is either user managed or curated by the Azure ML service - /// <see href="https://docs.microsoft.com/en-us/azure/machine-learning/resource-curated-environments" /> - /// - /// - /// Name of the image that will be used for the environment. - /// <seealso href="https://docs.microsoft.com/en-us/azure/machine-learning/how-to-deploy-custom-docker-image#use-a-custom-base-image" /> - /// - /// - /// Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages. - /// <see href="https://repo2docker.readthedocs.io/en/latest/config_files.html#environment-yml-install-a-conda-environment" /> - /// - /// Configuration settings for Docker build context. - /// The OS type of the environment. - /// Defines configuration specific to inference. - /// Defines if image needs to be rebuilt based on base image changes. - /// Provisioning state for the environment version. - /// Stage in the environment lifecycle assigned to this environment. - /// A new instance for mocking. - public static MachineLearningEnvironmentVersionProperties MachineLearningEnvironmentVersionProperties(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isArchived = null, bool? isAnonymous = null, MachineLearningEnvironmentType? environmentType = null, string image = null, string condaFile = null, MachineLearningBuildContext build = null, MachineLearningOperatingSystemType? osType = null, MachineLearningInferenceContainerProperties inferenceConfig = null, AutoRebuildSetting? autoRebuild = null, RegistryAssetProvisioningState? provisioningState = null, string stage = null) + /// Specifies the feature spec details. + /// Specifies the materialization settings. + /// Specifies the asset stage. + /// Specifies list of entities. + /// Provisioning state for the featureset version container. + /// A new instance for mocking. + public static MachineLearningFeatureSetVersionProperties MachineLearningFeatureSetVersionProperties(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isArchived = null, bool? isAnonymous = null, string specificationPath = null, MaterializationSettings materializationSettings = null, string stage = null, IEnumerable entities = null, RegistryAssetProvisioningState? provisioningState = null) { tags ??= new Dictionary(); properties ??= new Dictionary(); + entities ??= new List(); - return new MachineLearningEnvironmentVersionProperties( + return new MachineLearningFeatureSetVersionProperties( description, tags, properties, serializedAdditionalRawData: null, isArchived, isAnonymous, - environmentType, - image, - condaFile, - build, - osType, - inferenceConfig, - autoRebuild, - provisioningState, - stage); + specificationPath != null ? new FeaturesetSpecification(specificationPath, serializedAdditionalRawData: null) : null, + materializationSettings, + stage, + entities?.ToList(), + provisioningState); } - /// Initializes a new instance of . + /// Initializes a new instance of . + /// List of jobs submitted as part of the backfill request. + /// A new instance for mocking. + public static FeaturesetVersionBackfillResponse FeaturesetVersionBackfillResponse(IEnumerable jobIds = null) + { + jobIds ??= new List(); + + return new FeaturesetVersionBackfillResponse(jobIds?.ToList(), serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . /// The id. /// The name. /// The resourceType. /// The systemData. /// [Required] Additional attributes of the entity. - /// A new instance for mocking. - public static MachineLearningModelContainerData MachineLearningModelContainerData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningModelContainerProperties properties = null) + /// A new instance for mocking. + public static MachineLearningFeatureStoreEntityContainerData MachineLearningFeatureStoreEntityContainerData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningFeatureStoreEntityContainerProperties properties = null) { - return new MachineLearningModelContainerData( + return new MachineLearningFeatureStoreEntityContainerData( id, name, resourceType, @@ -1131,21 +1126,21 @@ public static MachineLearningModelContainerData MachineLearningModelContainerDat serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The asset description text. /// Tag dictionary. Tags can be added, removed, and updated. /// The asset property dictionary. /// Is the asset archived?. /// The latest version inside this container. /// The next auto incremental version. - /// Provisioning state for the model container. - /// A new instance for mocking. - public static MachineLearningModelContainerProperties MachineLearningModelContainerProperties(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isArchived = null, string latestVersion = null, string nextVersion = null, RegistryAssetProvisioningState? provisioningState = null) + /// Provisioning state for the featurestore entity container. + /// A new instance for mocking. + public static MachineLearningFeatureStoreEntityContainerProperties MachineLearningFeatureStoreEntityContainerProperties(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isArchived = null, string latestVersion = null, string nextVersion = null, RegistryAssetProvisioningState? provisioningState = null) { tags ??= new Dictionary(); properties ??= new Dictionary(); - return new MachineLearningModelContainerProperties( + return new MachineLearningFeatureStoreEntityContainerProperties( description, tags, properties, @@ -1156,16 +1151,16 @@ public static MachineLearningModelContainerProperties MachineLearningModelContai provisioningState); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The id. /// The name. /// The resourceType. /// The systemData. /// [Required] Additional attributes of the entity. - /// A new instance for mocking. - public static MachineLearningModelVersionData MachineLearningModelVersionData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningModelVersionProperties properties = null) + /// A new instance for mocking. + public static MachineLearningFeaturestoreEntityVersionData MachineLearningFeaturestoreEntityVersionData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningFeatureStoreEntityVersionProperties properties = null) { - return new MachineLearningModelVersionData( + return new MachineLearningFeaturestoreEntityVersionData( id, name, resourceType, @@ -1174,41 +1169,171 @@ public static MachineLearningModelVersionData MachineLearningModelVersionData(Re serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The asset description text. /// Tag dictionary. Tags can be added, removed, and updated. /// The asset property dictionary. /// Is the asset archived?. /// If the name version are system generated (anonymous registration). - /// Mapping of model flavors to their properties. - /// The storage format for this entity. Used for NCD. - /// The URI path to the model contents. - /// Name of the training job which produced this model. - /// Provisioning state for the model version. - /// Stage in the model lifecycle assigned to this model. - /// A new instance for mocking. - public static MachineLearningModelVersionProperties MachineLearningModelVersionProperties(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isArchived = null, bool? isAnonymous = null, IDictionary flavors = null, string modelType = null, Uri modelUri = null, string jobName = null, RegistryAssetProvisioningState? provisioningState = null, string stage = null) + /// Specifies index columns. + /// Specifies the asset stage. + /// Provisioning state for the featurestore entity version. + /// A new instance for mocking. + public static MachineLearningFeatureStoreEntityVersionProperties MachineLearningFeatureStoreEntityVersionProperties(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isArchived = null, bool? isAnonymous = null, IEnumerable indexColumns = null, string stage = null, RegistryAssetProvisioningState? provisioningState = null) { tags ??= new Dictionary(); properties ??= new Dictionary(); - flavors ??= new Dictionary(); + indexColumns ??= new List(); - return new MachineLearningModelVersionProperties( + return new MachineLearningFeatureStoreEntityVersionProperties( description, tags, properties, serializedAdditionalRawData: null, isArchived, isAnonymous, - flavors, - modelType, - modelUri, - jobName, - provisioningState, - stage); + indexColumns?.ToList(), + stage, + provisioningState); } - /// Initializes a new instance of . + /// Initializes a new instance of . + /// The id. + /// The name. + /// The resourceType. + /// The systemData. + /// + /// [Required] Additional attributes of the entity. + /// 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 . + /// + /// A new instance for mocking. + public static MachineLearningJobData MachineLearningJobData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningJobProperties properties = null) + { + return new MachineLearningJobData( + id, + name, + resourceType, + systemData, + properties, + serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// The asset description text. + /// Tag dictionary. Tags can be added, removed, and updated. + /// The asset property dictionary. + /// [Required] Specifies the type of job. + /// Display name of job. + /// Status of the job. + /// The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment. + /// + /// List of JobEndpoints. + /// For local jobs, a job endpoint will have an endpoint value of FileStreamObject. + /// + /// ARM resource ID of the compute resource. + /// Is the asset archived?. + /// + /// Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, UserIdentity or null. + /// Defaults to AmlToken if null. + /// 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 . + /// + /// ARM resource ID of the component resource. + /// Notification setting for the job. + /// A new instance for mocking. + public static MachineLearningJobProperties MachineLearningJobProperties(string description = null, IDictionary tags = null, IDictionary properties = null, string jobType = null, string displayName = null, MachineLearningJobStatus? status = null, string experimentName = null, IDictionary services = null, ResourceIdentifier computeId = null, bool? isArchived = null, MachineLearningIdentityConfiguration identity = null, ResourceIdentifier componentId = null, NotificationSetting notificationSetting = null) + { + tags ??= new Dictionary(); + properties ??= new Dictionary(); + services ??= new Dictionary(); + + return new MachineLearningJobProperties( + description, + tags, + properties, + serializedAdditionalRawData: null, + jobType == null ? default : new JobType(jobType), + displayName, + status, + experimentName, + services, + computeId, + isArchived, + identity, + componentId, + notificationSetting); + } + + /// Initializes a new instance of . + /// Endpoint type. + /// Port for endpoint. + /// Url for endpoint. + /// Status of endpoint. + /// Any error in the service. + /// Additional properties to set on the endpoint. + /// + /// Nodes that user would like to start the service on. + /// If Nodes is not set or set to null, the service will only be started on leader node. + /// 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 MachineLearningJobService MachineLearningJobService(string jobServiceType = null, int? port = null, string endpoint = null, string status = null, string errorMessage = null, IDictionary properties = null, JobNodes nodes = null) + { + properties ??= new Dictionary(); + + return new MachineLearningJobService( + jobServiceType, + port, + endpoint, + status, + errorMessage, + properties, + nodes, + serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// The id. + /// The name. + /// The resourceType. + /// The systemData. + /// [Required] Additional attributes of the entity. + /// A new instance for mocking. + public static MachineLearningMarketplaceSubscriptionData MachineLearningMarketplaceSubscriptionData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningMarketplaceSubscriptionProperties properties = null) + { + return new MachineLearningMarketplaceSubscriptionData( + id, + name, + resourceType, + systemData, + properties, + serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// [Required] Target Marketplace Model ID to create a Marketplace Subscription for. + /// Marketplace Plan associated with the Marketplace Subscription. + /// Current status of the Marketplace Subscription. + /// Provisioning State of the Marketplace Subscription. + /// A new instance for mocking. + public static MachineLearningMarketplaceSubscriptionProperties MachineLearningMarketplaceSubscriptionProperties(string modelId = null, MachineLearningMarketplacePlan marketplacePlan = null, MarketplaceSubscriptionStatus? marketplaceSubscriptionStatus = null, MarketplaceSubscriptionProvisioningState? provisioningState = null) + { + return new MachineLearningMarketplaceSubscriptionProperties(modelId, marketplacePlan, marketplaceSubscriptionStatus, provisioningState, serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// The identifying name of the Publisher of the Marketplace Plan. + /// The identifying name of the Offer of the Marketplace Plan. + /// The identifying name of the Plan of the Marketplace Plan. + /// A new instance for mocking. + public static MachineLearningMarketplacePlan MachineLearningMarketplacePlan(string publisherId = null, string offerId = null, string planId = null) + { + return new MachineLearningMarketplacePlan(publisherId, offerId, planId, serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . /// The id. /// The name. /// The resourceType. @@ -1219,12 +1344,12 @@ public static MachineLearningModelVersionProperties MachineLearningModelVersionP /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. /// Managed service identity (system assigned and/or user assigned identities). /// Sku details required for ARM contract for Autoscaling. - /// A new instance for mocking. - public static MachineLearningBatchEndpointData MachineLearningBatchEndpointData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, MachineLearningBatchEndpointProperties properties = null, string kind = null, ManagedServiceIdentity identity = null, MachineLearningSku sku = null) + /// A new instance for mocking. + public static MachineLearningOnlineEndpointData MachineLearningOnlineEndpointData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, MachineLearningOnlineEndpointProperties properties = null, string kind = null, ManagedServiceIdentity identity = null, MachineLearningSku sku = null) { tags ??= new Dictionary(); - return new MachineLearningBatchEndpointData( + return new MachineLearningOnlineEndpointData( id, name, resourceType, @@ -1238,7 +1363,7 @@ public static MachineLearningBatchEndpointData MachineLearningBatchEndpointData( serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Description of the inference endpoint. /// Property dictionary. Properties can be added, but not removed or altered. /// Endpoint URI. @@ -1248,67 +1373,57 @@ public static MachineLearningBatchEndpointData MachineLearningBatchEndpointData( /// EndpointAuthKeys to set initially on an Endpoint. /// This property will always be returned as null. AuthKey values must be retrieved using the ListKeys API. /// - /// Default values for Batch Endpoint. /// Provisioning state for the endpoint. - /// A new instance for mocking. - public static MachineLearningBatchEndpointProperties MachineLearningBatchEndpointProperties(string description = null, IDictionary properties = null, Uri scoringUri = null, Uri swaggerUri = null, MachineLearningEndpointAuthMode authMode = default, MachineLearningEndpointAuthKeys keys = null, string defaultsDeploymentName = null, MachineLearningEndpointProvisioningState? provisioningState = null) - { - properties ??= new Dictionary(); - - return new MachineLearningBatchEndpointProperties( - description, - properties, - scoringUri, - swaggerUri, - authMode, - keys, - serializedAdditionalRawData: null, - defaultsDeploymentName != null ? new BatchEndpointDefaults(defaultsDeploymentName, serializedAdditionalRawData: null) : null, - provisioningState); - } - - /// Initializes a new instance of . - /// Description of the inference endpoint. - /// Property dictionary. Properties can be added, but not removed or altered. - /// Endpoint URI. - /// Endpoint Swagger URI. - /// [Required] Use 'Key' for key based authentication and 'AMLToken' for Azure Machine Learning token-based authentication. 'Key' doesn't expire but 'AMLToken' does. - /// - /// EndpointAuthKeys to set initially on an Endpoint. - /// This property will always be returned as null. AuthKey values must be retrieved using the ListKeys API. + /// + /// ARM resource ID of the compute if it exists. + /// optional /// - /// A new instance for mocking. - public static MachineLearningEndpointProperties MachineLearningEndpointProperties(string description = null, IDictionary properties = null, Uri scoringUri = null, Uri swaggerUri = null, MachineLearningEndpointAuthMode authMode = default, MachineLearningEndpointAuthKeys keys = null) + /// Set to "Enabled" for endpoints that should allow public access when Private Link is enabled. + /// Percentage of traffic from endpoint to divert to each deployment. Traffic values need to sum to 100. + /// Percentage of traffic to be mirrored to each deployment without using returned scoring. Traffic values need to sum to utmost 50. + /// A new instance for mocking. + public static MachineLearningOnlineEndpointProperties MachineLearningOnlineEndpointProperties(string description = null, IDictionary properties = null, Uri scoringUri = null, Uri swaggerUri = null, MachineLearningEndpointAuthMode authMode = default, MachineLearningEndpointAuthKeys keys = null, MachineLearningEndpointProvisioningState? provisioningState = null, string compute = null, MachineLearningPublicNetworkAccessType? publicNetworkAccess = null, IDictionary traffic = null, IDictionary mirrorTraffic = null) { properties ??= new Dictionary(); + traffic ??= new Dictionary(); + mirrorTraffic ??= new Dictionary(); - return new MachineLearningEndpointProperties( + return new MachineLearningOnlineEndpointProperties( description, properties, scoringUri, swaggerUri, authMode, keys, - serializedAdditionalRawData: null); + serializedAdditionalRawData: null, + provisioningState, + compute, + publicNetworkAccess, + traffic, + mirrorTraffic); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The id. /// The name. /// The resourceType. /// The systemData. /// The tags. /// The location. - /// [Required] Additional attributes of the entity. + /// + /// [Required] Additional attributes of the entity. + /// 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 . + /// /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. /// Managed service identity (system assigned and/or user assigned identities). /// Sku details required for ARM contract for Autoscaling. - /// A new instance for mocking. - public static MachineLearningBatchDeploymentData MachineLearningBatchDeploymentData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, MachineLearningBatchDeploymentProperties properties = null, string kind = null, ManagedServiceIdentity identity = null, MachineLearningSku sku = null) + /// A new instance for mocking. + public static MachineLearningOnlineDeploymentData MachineLearningOnlineDeploymentData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, MachineLearningOnlineDeploymentProperties properties = null, string kind = null, ManagedServiceIdentity identity = null, MachineLearningSku sku = null) { tags ??= new Dictionary(); - return new MachineLearningBatchDeploymentData( + return new MachineLearningOnlineDeploymentData( id, name, resourceType, @@ -1322,134 +1437,126 @@ public static MachineLearningBatchDeploymentData MachineLearningBatchDeploymentD serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Description of the endpoint deployment. /// Property dictionary. Properties can be added, but not removed or altered. /// Code configuration for the endpoint deployment. /// ARM resource ID or AssetId of the environment specification for the endpoint deployment. /// Environment variables configuration for the deployment. - /// Compute target for batch inference operation. - /// - /// Properties relevant to different deployment types. - /// 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 . - /// - /// - /// Error threshold, if the error count for the entire input goes above this value, - /// the batch inference will be aborted. Range is [-1, int.MaxValue]. - /// For FileDataset, this value is the count of file failures. - /// For TabularDataset, this value is the count of record failures. - /// If set to -1 (the lower bound), all failures during batch inference will be ignored. - /// - /// - /// Retry Settings for the batch inference operation. - /// If not provided, will default to the defaults defined in BatchRetrySettings. - /// - /// - /// Size of the mini-batch passed to each batch invocation. - /// For FileDataset, this is the number of files per mini-batch. - /// For TabularDataset, this is the size of the records in bytes, per mini-batch. - /// - /// Logging level for batch inference operation. - /// - /// Reference to the model asset for the endpoint deployment. - /// 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 . - /// - /// Indicates maximum number of parallelism per instance. - /// Indicates how the output will be organized. - /// Customized output file name for append_row output action. - /// - /// Indicates compute configuration for the job. - /// If not provided, will default to the defaults defined in ResourceConfiguration. + /// [Required] The compute type of the endpoint. + /// + /// Scale settings for the deployment. + /// If it is null or not provided, + /// it defaults to TargetUtilizationScaleSettings for KubernetesOnlineDeployment + /// and to DefaultScaleSettings for ManagedOnlineDeployment. + /// 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 . /// + /// Request settings for the deployment. + /// The path to mount the model in custom container. + /// If true, enables Application Insights logging. + /// Liveness probe monitors the health of the container regularly. + /// Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe. /// Provisioning state for the endpoint deployment. - /// A new instance for mocking. - public static MachineLearningBatchDeploymentProperties MachineLearningBatchDeploymentProperties(string description = null, IDictionary properties = null, MachineLearningCodeConfiguration codeConfiguration = null, string environmentId = null, IDictionary environmentVariables = null, string compute = null, BatchDeploymentConfiguration deploymentConfiguration = null, int? errorThreshold = null, MachineLearningBatchRetrySettings retrySettings = null, long? miniBatchSize = null, MachineLearningBatchLoggingLevel? loggingLevel = null, MachineLearningAssetReferenceBase model = null, int? maxConcurrencyPerInstance = null, MachineLearningBatchOutputAction? outputAction = null, string outputFileName = null, MachineLearningDeploymentResourceConfiguration resources = null, MachineLearningDeploymentProvisioningState? provisioningState = null) + /// Compute instance type. + /// The URI path to the model. + /// If Enabled, allow egress public network access. If Disabled, this will create secure egress. Default: Enabled. + /// The mdc configuration, we disable mdc when it's null. + /// A new instance for mocking. + public static MachineLearningOnlineDeploymentProperties MachineLearningOnlineDeploymentProperties(string description = null, IDictionary properties = null, MachineLearningCodeConfiguration codeConfiguration = null, string environmentId = null, IDictionary environmentVariables = null, string endpointComputeType = null, MachineLearningOnlineScaleSettings scaleSettings = null, MachineLearningOnlineRequestSettings requestSettings = null, string modelMountPath = null, bool? appInsightsEnabled = null, MachineLearningProbeSettings livenessProbe = null, MachineLearningProbeSettings readinessProbe = null, MachineLearningDeploymentProvisioningState? provisioningState = null, string instanceType = null, string model = null, MachineLearningEgressPublicNetworkAccessType? egressPublicNetworkAccess = null, DataCollector dataCollector = null) { properties ??= new Dictionary(); environmentVariables ??= new Dictionary(); - return new MachineLearningBatchDeploymentProperties( + return new MachineLearningOnlineDeploymentProperties( description, properties, codeConfiguration, environmentId, environmentVariables, serializedAdditionalRawData: null, - compute, - deploymentConfiguration, - errorThreshold, - retrySettings, - miniBatchSize, - loggingLevel, + endpointComputeType == null ? default : new MachineLearningEndpointComputeType(endpointComputeType), + scaleSettings, + requestSettings, + modelMountPath, + appInsightsEnabled, + livenessProbe, + readinessProbe, + provisioningState, + instanceType, model, - maxConcurrencyPerInstance, - outputAction, - outputFileName, - resources, - provisioningState); + egressPublicNetworkAccess, + dataCollector); } - /// Initializes a new instance of . - /// The id. - /// The name. - /// The resourceType. - /// The systemData. - /// - /// [Required] Additional attributes of the entity. - /// 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 . - /// - /// A new instance for mocking. - public static MachineLearningDatastoreData MachineLearningDatastoreData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningDatastoreProperties properties = null) + /// Initializes a new instance of . + /// The retrieved online deployment logs. + /// A new instance for mocking. + public static MachineLearningDeploymentLogs MachineLearningDeploymentLogs(string content = null) { - return new MachineLearningDatastoreData( - id, - name, - resourceType, - systemData, - properties, - serializedAdditionalRawData: null); + return new MachineLearningDeploymentLogs(content, serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// The asset description text. - /// Tag dictionary. Tags can be added, removed, and updated. - /// The asset property dictionary. - /// [Required] Storage type backing the datastore. - /// Readonly property to indicate if datastore is the workspace default datastore. - /// - /// [Required] Account credentials. - /// 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 . - /// - /// A new instance for mocking. - public static MachineLearningDatastoreProperties MachineLearningDatastoreProperties(string description = null, IDictionary tags = null, IDictionary properties = null, string datastoreType = null, bool? isDefault = null, MachineLearningDatastoreCredentials credentials = null) + /// Initializes a new instance of . + /// The resource type name. + /// Gets or sets the Sku. + /// Gets or sets the Sku Capacity. + /// A new instance for mocking. + public static MachineLearningSkuDetail MachineLearningSkuDetail(string resourceType = null, MachineLearningSkuSetting sku = null, MachineLearningSkuCapacity capacity = null) { - tags ??= new Dictionary(); - properties ??= new Dictionary(); + return new MachineLearningSkuDetail(resourceType, sku, capacity, serializedAdditionalRawData: null); + } - return new MachineLearningDatastoreProperties( - description, - tags, - properties, - serializedAdditionalRawData: null, - datastoreType == null ? default : new DatastoreType(datastoreType), - isDefault, - credentials); + /// Initializes a new instance of . + /// [Required] The name of the SKU. Ex - P3. It is typically a letter+number code. + /// This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + /// A new instance for mocking. + public static MachineLearningSkuSetting MachineLearningSkuSetting(string name = null, MachineLearningSkuTier? tier = null) + { + return new MachineLearningSkuSetting(name, tier, serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . + /// Gets or sets the minimum. + /// Gets or sets the maximum. + /// Gets or sets the default capacity. + /// Gets or sets the type of the scale. + /// A new instance for mocking. + public static MachineLearningSkuCapacity MachineLearningSkuCapacity(int? minimum = null, int? maximum = null, int? @default = null, MachineLearningSkuScaleType? scaleType = null) + { + return new MachineLearningSkuCapacity(minimum, maximum, @default, scaleType, serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// [Required] Specification for which type of key to generate. Primary or Secondary. + /// The value the key is set to. + /// A new instance for mocking. + public static MachineLearningEndpointKeyRegenerateContent MachineLearningEndpointKeyRegenerateContent(MachineLearningKeyType keyType = default, string keyValue = null) + { + return new MachineLearningEndpointKeyRegenerateContent(keyType, keyValue, serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// Access token for endpoint authentication. + /// Access token type. + /// Access token expiry time (UTC). + /// Refresh access token after time (UTC). + /// A new instance for mocking. + public static MachineLearningEndpointAuthToken MachineLearningEndpointAuthToken(string accessToken = null, string tokenType = null, DateTimeOffset? expireOn = null, DateTimeOffset? refreshOn = null) + { + return new MachineLearningEndpointAuthToken(accessToken, tokenType, expireOn, refreshOn, serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . /// The id. /// The name. /// The resourceType. /// The systemData. /// [Required] Additional attributes of the entity. - /// A new instance for mocking. - public static MachineLearningFeatureSetContainerData MachineLearningFeatureSetContainerData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningFeatureSetContainerProperties properties = null) + /// A new instance for mocking. + public static MachineLearningScheduleData MachineLearningScheduleData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningScheduleProperties properties = null) { - return new MachineLearningFeatureSetContainerData( + return new MachineLearningScheduleData( id, name, resourceType, @@ -1458,558 +1565,615 @@ public static MachineLearningFeatureSetContainerData MachineLearningFeatureSetCo serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The asset description text. /// Tag dictionary. Tags can be added, removed, and updated. /// The asset property dictionary. - /// Is the asset archived?. - /// The latest version inside this container. - /// The next auto incremental version. - /// Provisioning state for the featureset container. - /// A new instance for mocking. - public static MachineLearningFeatureSetContainerProperties MachineLearningFeatureSetContainerProperties(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isArchived = null, string latestVersion = null, string nextVersion = null, RegistryAssetProvisioningState? provisioningState = null) + /// Display name of schedule. + /// Is the schedule enabled?. + /// + /// [Required] Specifies the trigger 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 . + /// + /// + /// [Required] Specifies the action of the schedule + /// 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 . + /// + /// Provisioning state for the schedule. + /// A new instance for mocking. + public static MachineLearningScheduleProperties MachineLearningScheduleProperties(string description = null, IDictionary tags = null, IDictionary properties = null, string displayName = null, bool? isEnabled = null, MachineLearningTriggerBase trigger = null, MachineLearningScheduleAction action = null, MachineLearningScheduleProvisioningStatus? provisioningState = null) { tags ??= new Dictionary(); properties ??= new Dictionary(); - return new MachineLearningFeatureSetContainerProperties( + return new MachineLearningScheduleProperties( description, tags, properties, serializedAdditionalRawData: null, - isArchived, - latestVersion, - nextVersion, + displayName, + isEnabled, + trigger, + action, provisioningState); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The id. /// The name. /// The resourceType. /// The systemData. + /// The tags. + /// The location. /// [Required] Additional attributes of the entity. - /// A new instance for mocking. - public static MachineLearningFeatureData MachineLearningFeatureData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningFeatureProperties properties = null) + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. + /// Managed service identity (system assigned and/or user assigned identities). + /// Sku details required for ARM contract for Autoscaling. + /// A new instance for mocking. + public static MachineLearningServerlessEndpointData MachineLearningServerlessEndpointData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ServerlessEndpointProperties properties = null, string kind = null, ManagedServiceIdentity identity = null, MachineLearningSku sku = null) { - return new MachineLearningFeatureData( + tags ??= new Dictionary(); + + return new MachineLearningServerlessEndpointData( id, name, resourceType, systemData, + tags, + location, properties, + kind, + identity, + sku, serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// The id. - /// The name. - /// The resourceType. - /// The systemData. - /// [Required] Additional attributes of the entity. - /// A new instance for mocking. - public static MachineLearningFeatureSetVersionData MachineLearningFeatureSetVersionData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningFeatureSetVersionProperties properties = null) + /// Initializes a new instance of . + /// The model settings (model id) for the model being serviced on the ServerlessEndpoint. + /// [Required] Specifies the authentication mode for the Serverless endpoint. + /// The inference uri to target when making requests against the serverless endpoint. + /// Provisioning state for the endpoint. + /// The current state of the ServerlessEndpoint. + /// The MarketplaceSubscription Azure ID associated to this ServerlessEndpoint. + /// Specifies the content safety options. If omitted, the default content safety settings will be configured. + /// A new instance for mocking. + public static ServerlessEndpointProperties ServerlessEndpointProperties(string modelId = null, ServerlessInferenceEndpointAuthMode authMode = default, ServerlessInferenceEndpoint inferenceEndpoint = null, MachineLearningEndpointProvisioningState? provisioningState = null, ServerlessEndpointState? endpointState = null, string marketplaceSubscriptionId = null, ContentSafetyStatus? contentSafetyStatus = null) { - return new MachineLearningFeatureSetVersionData( - id, - name, - resourceType, - systemData, - properties, + return new ServerlessEndpointProperties( + modelId != null ? new ModelSettings(modelId, serializedAdditionalRawData: null) : null, + authMode, + inferenceEndpoint, + provisioningState, + endpointState, + marketplaceSubscriptionId, + contentSafetyStatus.HasValue ? new ContentSafety(contentSafetyStatus.Value, serializedAdditionalRawData: null) : null, serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// The asset description text. - /// Tag dictionary. Tags can be added, removed, and updated. - /// The asset property dictionary. - /// Is the asset archived?. - /// If the name version are system generated (anonymous registration). - /// Specifies the feature spec details. - /// Specifies the materialization settings. - /// Specifies the asset stage. - /// Specifies list of entities. - /// Provisioning state for the featureset version container. - /// A new instance for mocking. - public static MachineLearningFeatureSetVersionProperties MachineLearningFeatureSetVersionProperties(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isArchived = null, bool? isAnonymous = null, string specificationPath = null, MaterializationSettings materializationSettings = null, string stage = null, IEnumerable entities = null, RegistryAssetProvisioningState? provisioningState = null) - { - tags ??= new Dictionary(); - properties ??= new Dictionary(); - entities ??= new List(); - - return new MachineLearningFeatureSetVersionProperties( - description, - tags, - properties, - serializedAdditionalRawData: null, - isArchived, - isAnonymous, - specificationPath != null ? new FeaturesetSpecification(specificationPath, serializedAdditionalRawData: null) : null, - materializationSettings, - stage, - entities?.ToList(), - provisioningState); - } - - /// Initializes a new instance of . - /// List of jobs submitted as part of the backfill request. - /// A new instance for mocking. - public static FeaturesetVersionBackfillResponse FeaturesetVersionBackfillResponse(IEnumerable jobIds = null) + /// Initializes a new instance of . + /// [Required] The inference uri to target when making requests against the Serverless Endpoint. + /// Specifies any required headers to target this serverless endpoint. + /// A new instance for mocking. + public static ServerlessInferenceEndpoint ServerlessInferenceEndpoint(Uri uri = null, IReadOnlyDictionary headers = null) { - jobIds ??= new List(); + headers ??= new Dictionary(); - return new FeaturesetVersionBackfillResponse(jobIds?.ToList(), serializedAdditionalRawData: null); + return new ServerlessInferenceEndpoint(uri, headers, serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The id. /// The name. /// The resourceType. /// The systemData. - /// [Required] Additional attributes of the entity. - /// A new instance for mocking. - public static MachineLearningFeatureStoreEntityContainerData MachineLearningFeatureStoreEntityContainerData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningFeatureStoreEntityContainerProperties properties = null) + /// The tags. + /// The location. + /// Managed service identity (system assigned and/or user assigned identities). + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. + /// Sku details required for ARM contract for Autoscaling. + /// Discovery URL for the Registry. + /// IntellectualPropertyPublisher for the registry. + /// ResourceId of the managed RG if the registry has system created resources. + /// MLFlow Registry URI for the Registry. + /// Private endpoint connections info used for pending connections in private link portal. + /// + /// Is the Registry accessible from the internet? + /// Possible values: "Enabled" or "Disabled" + /// + /// Details of each region the registry is in. + /// A new instance for mocking. + public static MachineLearningRegistryData MachineLearningRegistryData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ManagedServiceIdentity identity = null, string kind = null, MachineLearningSku sku = null, Uri discoveryUri = null, string intellectualPropertyPublisher = null, ResourceIdentifier managedResourceId = null, Uri mlFlowRegistryUri = null, IEnumerable registryPrivateEndpointConnections = null, string publicNetworkAccess = null, IEnumerable regionDetails = null) { - return new MachineLearningFeatureStoreEntityContainerData( + tags ??= new Dictionary(); + registryPrivateEndpointConnections ??= new List(); + regionDetails ??= new List(); + + return new MachineLearningRegistryData( id, name, resourceType, systemData, - properties, + tags, + location, + identity, + kind, + sku, + discoveryUri, + intellectualPropertyPublisher, + managedResourceId != null ? new ArmResourceId(managedResourceId, serializedAdditionalRawData: null) : null, + mlFlowRegistryUri, + registryPrivateEndpointConnections?.ToList(), + publicNetworkAccess, + regionDetails?.ToList(), serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// The asset description text. - /// Tag dictionary. Tags can be added, removed, and updated. - /// The asset property dictionary. - /// Is the asset archived?. - /// The latest version inside this container. - /// The next auto incremental version. - /// Provisioning state for the featurestore entity container. - /// A new instance for mocking. - public static MachineLearningFeatureStoreEntityContainerProperties MachineLearningFeatureStoreEntityContainerProperties(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isArchived = null, string latestVersion = null, string nextVersion = null, RegistryAssetProvisioningState? provisioningState = null) + /// Initializes a new instance of . + /// The ARM identifier for Private Endpoint. + /// The subnetId that the private endpoint is connected to. + /// A new instance for mocking. + public static RegistryPrivateEndpoint RegistryPrivateEndpoint(ResourceIdentifier id = null, ResourceIdentifier subnetArmId = null) { - tags ??= new Dictionary(); - properties ??= new Dictionary(); + return new RegistryPrivateEndpoint(id, serializedAdditionalRawData: null, subnetArmId); + } - return new MachineLearningFeatureStoreEntityContainerProperties( - description, - tags, - properties, - serializedAdditionalRawData: null, - isArchived, - latestVersion, - nextVersion, - provisioningState); + /// Initializes a new instance of . + /// The ARM identifier for Private Endpoint. + /// A new instance for mocking. + public static PrivateEndpointBase PrivateEndpointBase(ResourceIdentifier id = null) + { + return new PrivateEndpointBase(id, serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . + /// Specifies the feature ID. + /// Specifies the feature name. + /// Describes the feature for user experience. + /// A new instance for mocking. + public static MachineLearningUserFeature MachineLearningUserFeature(string id = null, string displayName = null, string description = null) + { + return new MachineLearningUserFeature(id, displayName, description, serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . /// The id. /// The name. /// The resourceType. /// The systemData. - /// [Required] Additional attributes of the entity. - /// A new instance for mocking. - public static MachineLearningFeaturestoreEntityVersionData MachineLearningFeaturestoreEntityVersionData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningFeatureStoreEntityVersionProperties properties = null) + /// The tags. + /// The location. + /// The identity of the resource. + /// + /// The sku of the workspace. + /// The immutable id associated with this workspace. + /// The description of this workspace. + /// The friendly name for this workspace. This name in mutable. + /// ARM id of the key vault associated with this workspace. This cannot be changed once the workspace has been created. + /// ARM id of the application insights associated with this workspace. + /// ARM id of the container registry associated with this workspace. + /// ARM id of the storage account associated with this workspace. This cannot be changed once the workspace has been created. + /// Url for the discovery service to identify regional endpoints for machine learning experimentation services. + /// The current deployment state of workspace resource. The provisioningState is to indicate states for resource provisioning. + /// The encryption settings of Azure ML workspace. + /// The flag to signal HBI data in the workspace and reduce diagnostic data collected by the service. + /// The name of the managed resource group created by workspace RP in customer subscription if the workspace is CMK workspace. + /// Count of private connections in the workspace. + /// The compute name for image build. + /// The flag to indicate whether to allow public access when behind VNet. + /// Whether requests from Public Network are allowed. + /// The list of private endpoint connections in the workspace. + /// Settings for serverless compute created in the workspace. + /// The list of shared private link resources in this workspace. + /// The notebook info of Azure ML workspace. + /// The service managed resource settings. + /// The user assigned identity resource id that represents the workspace identity. + /// The tenant id associated with this workspace. + /// If the storage associated with the workspace has hierarchical namespace(HNS) enabled. + /// The URI associated with this workspace that machine learning flow must point at to set up tracking. + /// Enabling v1_legacy_mode may prevent you from using features provided by the v2 API. + /// Managed Network settings for a machine learning workspace. + /// Settings for feature store type workspace. + /// + /// + /// + /// WorkspaceHub's configuration object. + /// A new instance for mocking. + public static MachineLearningWorkspaceData MachineLearningWorkspaceData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ManagedServiceIdentity identity = null, string kind = null, MachineLearningSku sku = null, string workspaceId = null, string description = null, string friendlyName = null, string keyVault = null, string applicationInsights = null, string containerRegistry = null, string storageAccount = null, Uri discoveryUri = null, MachineLearningProvisioningState? provisioningState = null, MachineLearningEncryptionSetting encryption = null, bool? isHbiWorkspace = null, string serviceProvisionedResourceGroup = null, int? privateLinkCount = null, string imageBuildCompute = null, bool? allowPublicAccessWhenBehindVnet = null, PublicNetworkAccess? publicNetworkAccessType = null, IEnumerable privateEndpointConnections = null, ServerlessComputeSettings serverlessComputeSettings = null, IEnumerable sharedPrivateLinkResources = null, MachineLearningNotebookResourceInfo notebookInfo = null, int? cosmosDbCollectionsThroughput = null, string primaryUserAssignedIdentity = null, Guid? tenantId = null, bool? isStorageHnsEnabled = null, Uri mlFlowTrackingUri = null, bool? isV1LegacyMode = null, ManagedNetworkSettings managedNetwork = null, FeatureStoreSettings featureStoreSettings = null, IEnumerable associatedWorkspaces = null, bool? enableDataIsolation = null, ResourceIdentifier hubResourceId = null, WorkspaceHubConfig workspaceHubConfig = null) { - return new MachineLearningFeaturestoreEntityVersionData( + tags ??= new Dictionary(); + privateEndpointConnections ??= new List(); + sharedPrivateLinkResources ??= new List(); + associatedWorkspaces ??= new List(); + + return new MachineLearningWorkspaceData( id, name, resourceType, systemData, - properties, - serializedAdditionalRawData: null); - } - - /// Initializes a new instance of . - /// The asset description text. - /// Tag dictionary. Tags can be added, removed, and updated. - /// The asset property dictionary. - /// Is the asset archived?. - /// If the name version are system generated (anonymous registration). - /// Specifies index columns. - /// Specifies the asset stage. - /// Provisioning state for the featurestore entity version. - /// A new instance for mocking. - public static MachineLearningFeatureStoreEntityVersionProperties MachineLearningFeatureStoreEntityVersionProperties(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isArchived = null, bool? isAnonymous = null, IEnumerable indexColumns = null, string stage = null, RegistryAssetProvisioningState? provisioningState = null) - { - tags ??= new Dictionary(); - properties ??= new Dictionary(); - indexColumns ??= new List(); - - return new MachineLearningFeatureStoreEntityVersionProperties( - description, tags, - properties, - serializedAdditionalRawData: null, - isArchived, - isAnonymous, - indexColumns?.ToList(), - stage, - provisioningState); + location, + identity, + kind, + sku, + workspaceId, + description, + friendlyName, + keyVault, + applicationInsights, + containerRegistry, + storageAccount, + discoveryUri, + provisioningState, + encryption, + isHbiWorkspace, + serviceProvisionedResourceGroup, + privateLinkCount, + imageBuildCompute, + allowPublicAccessWhenBehindVnet, + publicNetworkAccessType, + privateEndpointConnections?.ToList(), + serverlessComputeSettings, + sharedPrivateLinkResources?.ToList(), + notebookInfo, + cosmosDbCollectionsThroughput != null ? new ServiceManagedResourcesSettings(new CosmosDbSettings(cosmosDbCollectionsThroughput, serializedAdditionalRawData: null), serializedAdditionalRawData: null) : null, + primaryUserAssignedIdentity, + tenantId, + isStorageHnsEnabled, + mlFlowTrackingUri, + isV1LegacyMode, + managedNetwork, + featureStoreSettings, + associatedWorkspaces?.ToList(), + enableDataIsolation, + hubResourceId, + workspaceHubConfig, + serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The id. /// The name. /// The resourceType. /// The systemData. - /// - /// [Required] Additional attributes of the entity. - /// 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 . - /// - /// A new instance for mocking. - public static MachineLearningJobData MachineLearningJobData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningJobProperties properties = null) + /// The tags. + /// The location. + /// The identity of the resource. + /// The sku of the workspace. + /// The resource of private end point. + /// A collection of information about the state of the connection between service consumer and provider. + /// The provisioning state of the private endpoint connection resource. + /// A new instance for mocking. + public static MachineLearningPrivateEndpointConnectionData MachineLearningPrivateEndpointConnectionData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ManagedServiceIdentity identity = null, MachineLearningSku sku = null, ResourceIdentifier subResourceId = null, MachineLearningPrivateLinkServiceConnectionState connectionState = null, MachineLearningPrivateEndpointConnectionProvisioningState? provisioningState = null) { - return new MachineLearningJobData( + tags ??= new Dictionary(); + + return new MachineLearningPrivateEndpointConnectionData( id, name, resourceType, systemData, - properties, - serializedAdditionalRawData: null); - } - - /// Initializes a new instance of . - /// The asset description text. - /// Tag dictionary. Tags can be added, removed, and updated. - /// The asset property dictionary. - /// [Required] Specifies the type of job. - /// Display name of job. - /// Status of the job. - /// The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment. - /// - /// List of JobEndpoints. - /// For local jobs, a job endpoint will have an endpoint value of FileStreamObject. - /// - /// ARM resource ID of the compute resource. - /// Is the asset archived?. - /// - /// Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, UserIdentity or null. - /// Defaults to AmlToken if null. - /// 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 . - /// - /// ARM resource ID of the component resource. - /// Notification setting for the job. - /// A new instance for mocking. - public static MachineLearningJobProperties MachineLearningJobProperties(string description = null, IDictionary tags = null, IDictionary properties = null, string jobType = null, string displayName = null, MachineLearningJobStatus? status = null, string experimentName = null, IDictionary services = null, ResourceIdentifier computeId = null, bool? isArchived = null, MachineLearningIdentityConfiguration identity = null, ResourceIdentifier componentId = null, NotificationSetting notificationSetting = null) - { - tags ??= new Dictionary(); - properties ??= new Dictionary(); - services ??= new Dictionary(); - - return new MachineLearningJobProperties( - description, tags, - properties, - serializedAdditionalRawData: null, - jobType == null ? default : new JobType(jobType), - displayName, - status, - experimentName, - services, - computeId, - isArchived, + location, identity, - componentId, - notificationSetting); + sku, + subResourceId != null ? ResourceManagerModelFactory.SubResource(subResourceId) : null, + connectionState, + provisioningState, + serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// Endpoint type. - /// Port for endpoint. - /// Url for endpoint. - /// Status of endpoint. - /// Any error in the service. - /// Additional properties to set on the endpoint. - /// - /// Nodes that user would like to start the service on. - /// If Nodes is not set or set to null, the service will only be started on leader node. - /// 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 . + /// Initializes a new instance of . + /// + /// the data plane resourceId that used to initialize notebook component. + /// The error that occurs when preparing notebook. + /// A new instance for mocking. + public static MachineLearningNotebookResourceInfo MachineLearningNotebookResourceInfo(string fqdn = null, string resourceId = null, MachineLearningNotebookPreparationError notebookPreparationError = null) + { + return new MachineLearningNotebookResourceInfo(fqdn, resourceId, notebookPreparationError, serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// + /// + /// A new instance for mocking. + public static MachineLearningNotebookPreparationError MachineLearningNotebookPreparationError(string errorMessage = null, int? statusCode = null) + { + return new MachineLearningNotebookPreparationError(errorMessage, statusCode, serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// Isolation mode for the managed network of a machine learning workspace. + /// + /// + /// Dictionary of <OutboundRule> + /// 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 . /// - /// A new instance for mocking. - public static MachineLearningJobService MachineLearningJobService(string jobServiceType = null, int? port = null, string endpoint = null, string status = null, string errorMessage = null, IDictionary properties = null, JobNodes nodes = null) + /// Status of the Provisioning for the managed network of a machine learning workspace. + /// A new instance for mocking. + public static ManagedNetworkSettings ManagedNetworkSettings(IsolationMode? isolationMode = null, string networkId = null, IDictionary outboundRules = null, ManagedNetworkProvisionStatus status = null) { - properties ??= new Dictionary(); + outboundRules ??= new Dictionary(); - return new MachineLearningJobService( - jobServiceType, - port, - endpoint, - status, - errorMessage, - properties, - nodes, + return new ManagedNetworkSettings(isolationMode, networkId, outboundRules, status, serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// + /// A new instance for mocking. + public static MachineLearningWorkspaceDiagnoseResult MachineLearningWorkspaceDiagnoseResult(MachineLearningDiagnoseResultValue value = null) + { + return new MachineLearningWorkspaceDiagnoseResult(value, serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// A new instance for mocking. + public static MachineLearningDiagnoseResultValue MachineLearningDiagnoseResultValue(IEnumerable userDefinedRouteResults = null, IEnumerable networkSecurityRuleResults = null, IEnumerable resourceLockResults = null, IEnumerable dnsResolutionResults = null, IEnumerable storageAccountResults = null, IEnumerable keyVaultResults = null, IEnumerable containerRegistryResults = null, IEnumerable applicationInsightsResults = null, IEnumerable otherResults = null) + { + userDefinedRouteResults ??= new List(); + networkSecurityRuleResults ??= new List(); + resourceLockResults ??= new List(); + dnsResolutionResults ??= new List(); + storageAccountResults ??= new List(); + keyVaultResults ??= new List(); + containerRegistryResults ??= new List(); + applicationInsightsResults ??= new List(); + otherResults ??= new List(); + + return new MachineLearningDiagnoseResultValue( + userDefinedRouteResults?.ToList(), + networkSecurityRuleResults?.ToList(), + resourceLockResults?.ToList(), + dnsResolutionResults?.ToList(), + storageAccountResults?.ToList(), + keyVaultResults?.ToList(), + containerRegistryResults?.ToList(), + applicationInsightsResults?.ToList(), + otherResults?.ToList(), serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// The id. - /// The name. - /// The resourceType. - /// The systemData. - /// [Required] Additional attributes of the entity. - /// A new instance for mocking. - public static MachineLearningMarketplaceSubscriptionData MachineLearningMarketplaceSubscriptionData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningMarketplaceSubscriptionProperties properties = null) + /// Initializes a new instance of . + /// Code for workspace setup error. + /// Level of workspace setup error. + /// Message of workspace setup error. + /// A new instance for mocking. + public static MachineLearningDiagnoseResult MachineLearningDiagnoseResult(string code = null, MachineLearningDiagnoseResultLevel? level = null, string message = null) { - return new MachineLearningMarketplaceSubscriptionData( - id, - name, - resourceType, - systemData, - properties, + return new MachineLearningDiagnoseResult(code, level, message, serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// + /// + /// + /// + /// + /// A new instance for mocking. + public static MachineLearningWorkspaceGetKeysResult MachineLearningWorkspaceGetKeysResult(string userStorageKey = null, string userStorageResourceId = null, string appInsightsInstrumentationKey = null, MachineLearningContainerRegistryCredentials containerRegistryCredentials = null, MachineLearningWorkspaceGetNotebookKeysResult notebookAccessKeys = null) + { + return new MachineLearningWorkspaceGetKeysResult( + userStorageKey, + userStorageResourceId, + appInsightsInstrumentationKey, + containerRegistryCredentials, + notebookAccessKeys, serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// [Required] Target Marketplace Model ID to create a Marketplace Subscription for. - /// Marketplace Plan associated with the Marketplace Subscription. - /// Current status of the Marketplace Subscription. - /// Provisioning State of the Marketplace Subscription. - /// A new instance for mocking. - public static MachineLearningMarketplaceSubscriptionProperties MachineLearningMarketplaceSubscriptionProperties(string modelId = null, MachineLearningMarketplacePlan marketplacePlan = null, MarketplaceSubscriptionStatus? marketplaceSubscriptionStatus = null, MarketplaceSubscriptionProvisioningState? provisioningState = null) + /// Initializes a new instance of . + /// + /// + /// + /// A new instance for mocking. + public static MachineLearningContainerRegistryCredentials MachineLearningContainerRegistryCredentials(AzureLocation? location = null, string username = null, IEnumerable passwords = null) { - return new MachineLearningMarketplaceSubscriptionProperties(modelId, marketplacePlan, marketplaceSubscriptionStatus, provisioningState, serializedAdditionalRawData: null); + passwords ??= new List(); + + return new MachineLearningContainerRegistryCredentials(location, username, passwords?.ToList(), serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// The identifying name of the Publisher of the Marketplace Plan. - /// The identifying name of the Offer of the Marketplace Plan. - /// The identifying name of the Plan of the Marketplace Plan. - /// A new instance for mocking. - public static MachineLearningMarketplacePlan MachineLearningMarketplacePlan(string publisherId = null, string offerId = null, string planId = null) + /// Initializes a new instance of . + /// + /// + /// A new instance for mocking. + public static MachineLearningPasswordDetail MachineLearningPasswordDetail(string name = null, string value = null) { - return new MachineLearningMarketplacePlan(publisherId, offerId, planId, serializedAdditionalRawData: null); + return new MachineLearningPasswordDetail(name, value, serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . + /// + /// + /// A new instance for mocking. + public static MachineLearningWorkspaceGetNotebookKeysResult MachineLearningWorkspaceGetNotebookKeysResult(string primaryAccessKey = null, string secondaryAccessKey = null) + { + return new MachineLearningWorkspaceGetNotebookKeysResult(primaryAccessKey, secondaryAccessKey, serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// + /// + /// + /// + /// + /// + /// + /// + /// A new instance for mocking. + public static MachineLearningWorkspaceNotebookAccessTokenResult MachineLearningWorkspaceNotebookAccessTokenResult(string notebookResourceId = null, string hostName = null, string publicDns = null, string accessToken = null, string tokenType = null, int? expiresIn = null, string refreshToken = null, string scope = null) + { + return new MachineLearningWorkspaceNotebookAccessTokenResult( + notebookResourceId, + hostName, + publicDns, + accessToken, + tokenType, + expiresIn, + refreshToken, + scope, + serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . /// The id. /// The name. /// The resourceType. /// The systemData. /// The tags. /// The location. - /// [Required] Additional attributes of the entity. - /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. - /// Managed service identity (system assigned and/or user assigned identities). - /// Sku details required for ARM contract for Autoscaling. - /// A new instance for mocking. - public static MachineLearningOnlineEndpointData MachineLearningOnlineEndpointData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, MachineLearningOnlineEndpointProperties properties = null, string kind = null, ManagedServiceIdentity identity = null, MachineLearningSku sku = null) - { - tags ??= new Dictionary(); + /// The identity of the resource. + /// The sku of the workspace. + /// The private link resource group id. + /// The private link resource required member names. + /// The private link resource Private link DNS zone name. + /// A new instance for mocking. + public static MachineLearningPrivateLinkResource MachineLearningPrivateLinkResource(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ManagedServiceIdentity identity = null, MachineLearningSku sku = null, string groupId = null, IEnumerable requiredMembers = null, IEnumerable requiredZoneNames = null) + { + tags ??= new Dictionary(); + requiredMembers ??= new List(); + requiredZoneNames ??= new List(); - return new MachineLearningOnlineEndpointData( + return new MachineLearningPrivateLinkResource( id, name, resourceType, systemData, tags, location, - properties, - kind, identity, sku, + groupId, + requiredMembers?.ToList(), + requiredZoneNames?.ToList(), serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// Description of the inference endpoint. - /// Property dictionary. Properties can be added, but not removed or altered. - /// Endpoint URI. - /// Endpoint Swagger URI. - /// [Required] Use 'Key' for key based authentication and 'AMLToken' for Azure Machine Learning token-based authentication. 'Key' doesn't expire but 'AMLToken' does. - /// - /// EndpointAuthKeys to set initially on an Endpoint. - /// This property will always be returned as null. AuthKey values must be retrieved using the ListKeys API. - /// - /// Provisioning state for the endpoint. - /// - /// ARM resource ID of the compute if it exists. - /// optional - /// - /// Set to "Enabled" for endpoints that should allow public access when Private Link is enabled. - /// Percentage of traffic from endpoint to divert to each deployment. Traffic values need to sum to 100. - /// Percentage of traffic to be mirrored to each deployment without using returned scoring. Traffic values need to sum to utmost 50. - /// A new instance for mocking. - public static MachineLearningOnlineEndpointProperties MachineLearningOnlineEndpointProperties(string description = null, IDictionary properties = null, Uri scoringUri = null, Uri swaggerUri = null, MachineLearningEndpointAuthMode authMode = default, MachineLearningEndpointAuthKeys keys = null, MachineLearningEndpointProvisioningState? provisioningState = null, string compute = null, MachineLearningPublicNetworkAccessType? publicNetworkAccess = null, IDictionary traffic = null, IDictionary mirrorTraffic = null) + /// Initializes a new instance of . + /// + /// A new instance for mocking. + public static MachineLearningWorkspaceGetStorageAccountKeysResult MachineLearningWorkspaceGetStorageAccountKeysResult(string userStorageKey = null) { - properties ??= new Dictionary(); - traffic ??= new Dictionary(); - mirrorTraffic ??= new Dictionary(); - - return new MachineLearningOnlineEndpointProperties( - description, - properties, - scoringUri, - swaggerUri, - authMode, - keys, - serializedAdditionalRawData: null, - provisioningState, - compute, - publicNetworkAccess, - traffic, - mirrorTraffic); + return new MachineLearningWorkspaceGetStorageAccountKeysResult(userStorageKey, serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The id. /// The name. /// The resourceType. /// The systemData. - /// The tags. - /// The location. /// - /// [Required] Additional attributes of the entity. - /// 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 . + /// 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 . /// - /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. - /// Managed service identity (system assigned and/or user assigned identities). - /// Sku details required for ARM contract for Autoscaling. - /// A new instance for mocking. - public static MachineLearningOnlineDeploymentData MachineLearningOnlineDeploymentData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, MachineLearningOnlineDeploymentProperties properties = null, string kind = null, ManagedServiceIdentity identity = null, MachineLearningSku sku = null) + /// A new instance for mocking. + public static MachineLearningWorkspaceConnectionData MachineLearningWorkspaceConnectionData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningWorkspaceConnectionProperties properties = null) { - tags ??= new Dictionary(); - - return new MachineLearningOnlineDeploymentData( + return new MachineLearningWorkspaceConnectionData( id, name, resourceType, systemData, - tags, - location, properties, - kind, - identity, - sku, serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// Description of the endpoint deployment. - /// Property dictionary. Properties can be added, but not removed or altered. - /// Code configuration for the endpoint deployment. - /// ARM resource ID or AssetId of the environment specification for the endpoint deployment. - /// Environment variables configuration for the deployment. - /// [Required] The compute type of the endpoint. - /// - /// Scale settings for the deployment. - /// If it is null or not provided, - /// it defaults to TargetUtilizationScaleSettings for KubernetesOnlineDeployment - /// and to DefaultScaleSettings for ManagedOnlineDeployment. - /// 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 . - /// - /// Request settings for the deployment. - /// The path to mount the model in custom container. - /// If true, enables Application Insights logging. - /// Liveness probe monitors the health of the container regularly. - /// Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe. - /// Provisioning state for the endpoint deployment. - /// Compute instance type. - /// The URI path to the model. - /// If Enabled, allow egress public network access. If Disabled, this will create secure egress. Default: Enabled. - /// The mdc configuration, we disable mdc when it's null. - /// A new instance for mocking. - public static MachineLearningOnlineDeploymentProperties MachineLearningOnlineDeploymentProperties(string description = null, IDictionary properties = null, MachineLearningCodeConfiguration codeConfiguration = null, string environmentId = null, IDictionary environmentVariables = null, string endpointComputeType = null, MachineLearningOnlineScaleSettings scaleSettings = null, MachineLearningOnlineRequestSettings requestSettings = null, string modelMountPath = null, bool? appInsightsEnabled = null, MachineLearningProbeSettings livenessProbe = null, MachineLearningProbeSettings readinessProbe = null, MachineLearningDeploymentProvisioningState? provisioningState = null, string instanceType = null, string model = null, MachineLearningEgressPublicNetworkAccessType? egressPublicNetworkAccess = null, DataCollector dataCollector = null) + /// Initializes a new instance of . + /// Authentication type of the connection target. + /// Category of the connection. + /// + /// + /// Group based on connection category. + /// + /// + /// Store user metadata for this connection. + /// + /// Value details of the workspace connection. + /// format for the workspace connection value. + /// A new instance for mocking. + public static MachineLearningWorkspaceConnectionProperties MachineLearningWorkspaceConnectionProperties(string authType = null, MachineLearningConnectionCategory? category = null, ResourceIdentifier createdByWorkspaceArmId = null, DateTimeOffset? expiryOn = null, WorkspaceConnectionGroup? group = null, bool? isSharedToAll = null, string target = null, IDictionary metadata = null, IEnumerable sharedUserList = null, string value = null, MachineLearningValueFormat? valueFormat = null) { - properties ??= new Dictionary(); - environmentVariables ??= new Dictionary(); + metadata ??= new Dictionary(); + sharedUserList ??= new List(); - return new MachineLearningOnlineDeploymentProperties( - description, - properties, - codeConfiguration, - environmentId, - environmentVariables, - serializedAdditionalRawData: null, - endpointComputeType == null ? default : new MachineLearningEndpointComputeType(endpointComputeType), - scaleSettings, - requestSettings, - modelMountPath, - appInsightsEnabled, - livenessProbe, - readinessProbe, - provisioningState, - instanceType, - model, - egressPublicNetworkAccess, - dataCollector); + return new UnknownWorkspaceConnectionPropertiesV2( + authType == null ? default : new MachineLearningConnectionAuthType(authType), + category, + createdByWorkspaceArmId, + expiryOn, + group, + isSharedToAll, + target, + metadata, + sharedUserList?.ToList(), + value, + valueFormat, + serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// The retrieved online deployment logs. - /// A new instance for mocking. - public static MachineLearningDeploymentLogs MachineLearningDeploymentLogs(string content = null) + /// Initializes a new instance of . + /// + /// A new instance for mocking. + public static MachineLearningFqdnEndpoints MachineLearningFqdnEndpoints(MachineLearningFqdnEndpointsProperties properties = null) { - return new MachineLearningDeploymentLogs(content, serializedAdditionalRawData: null); + return new MachineLearningFqdnEndpoints(properties, serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// The resource type name. - /// Gets or sets the Sku. - /// Gets or sets the Sku Capacity. - /// A new instance for mocking. - public static MachineLearningSkuDetail MachineLearningSkuDetail(string resourceType = null, MachineLearningSkuSetting sku = null, MachineLearningSkuCapacity capacity = null) + /// Initializes a new instance of . + /// + /// + /// A new instance for mocking. + public static MachineLearningFqdnEndpointsProperties MachineLearningFqdnEndpointsProperties(string category = null, IEnumerable endpoints = null) { - return new MachineLearningSkuDetail(resourceType, sku, capacity, serializedAdditionalRawData: null); - } + endpoints ??= new List(); - /// Initializes a new instance of . - /// [Required] The name of the SKU. Ex - P3. It is typically a letter+number code. - /// This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. - /// A new instance for mocking. - public static MachineLearningSkuSetting MachineLearningSkuSetting(string name = null, MachineLearningSkuTier? tier = null) - { - return new MachineLearningSkuSetting(name, tier, serializedAdditionalRawData: null); + return new MachineLearningFqdnEndpointsProperties(category, endpoints?.ToList(), serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// Gets or sets the minimum. - /// Gets or sets the maximum. - /// Gets or sets the default capacity. - /// Gets or sets the type of the scale. - /// A new instance for mocking. - public static MachineLearningSkuCapacity MachineLearningSkuCapacity(int? minimum = null, int? maximum = null, int? @default = null, MachineLearningSkuScaleType? scaleType = null) + /// Initializes a new instance of . + /// + /// + /// A new instance for mocking. + public static MachineLearningFqdnEndpoint MachineLearningFqdnEndpoint(string domainName = null, IEnumerable endpointDetails = null) { - return new MachineLearningSkuCapacity(minimum, maximum, @default, scaleType, serializedAdditionalRawData: null); - } + endpointDetails ??= new List(); - /// Initializes a new instance of . - /// [Required] Specification for which type of key to generate. Primary or Secondary. - /// The value the key is set to. - /// A new instance for mocking. - public static MachineLearningEndpointKeyRegenerateContent MachineLearningEndpointKeyRegenerateContent(MachineLearningKeyType keyType = default, string keyValue = null) - { - return new MachineLearningEndpointKeyRegenerateContent(keyType, keyValue, serializedAdditionalRawData: null); + return new MachineLearningFqdnEndpoint(domainName, endpointDetails?.ToList(), serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// Access token for endpoint authentication. - /// Access token type. - /// Access token expiry time (UTC). - /// Refresh access token after time (UTC). - /// A new instance for mocking. - public static MachineLearningEndpointAuthToken MachineLearningEndpointAuthToken(string accessToken = null, string tokenType = null, DateTimeOffset? expireOn = null, DateTimeOffset? refreshOn = null) + /// Initializes a new instance of . + /// + /// A new instance for mocking. + public static MachineLearningFqdnEndpointDetail MachineLearningFqdnEndpointDetail(int? port = null) { - return new MachineLearningEndpointAuthToken(accessToken, tokenType, expireOn, refreshOn, serializedAdditionalRawData: null); + return new MachineLearningFqdnEndpointDetail(port, serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The id. /// The name. /// The resourceType. /// The systemData. - /// [Required] Additional attributes of the entity. - /// A new instance for mocking. - public static MachineLearningScheduleData MachineLearningScheduleData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningScheduleProperties properties = null) + /// + /// Outbound Rule for the managed network of a machine learning workspace. + /// 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 . + /// + /// A new instance for mocking. + public static MachineLearningOutboundRuleBasicData MachineLearningOutboundRuleBasicData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, MachineLearningOutboundRule properties = null) { - return new MachineLearningScheduleData( + return new MachineLearningOutboundRuleBasicData( id, name, resourceType, @@ -2018,170 +2182,6 @@ public static MachineLearningScheduleData MachineLearningScheduleData(ResourceId serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// The asset description text. - /// Tag dictionary. Tags can be added, removed, and updated. - /// The asset property dictionary. - /// Display name of schedule. - /// Is the schedule enabled?. - /// - /// [Required] Specifies the trigger 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 . - /// - /// - /// [Required] Specifies the action of the schedule - /// 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 . - /// - /// Provisioning state for the schedule. - /// A new instance for mocking. - public static MachineLearningScheduleProperties MachineLearningScheduleProperties(string description = null, IDictionary tags = null, IDictionary properties = null, string displayName = null, bool? isEnabled = null, MachineLearningTriggerBase trigger = null, MachineLearningScheduleAction action = null, MachineLearningScheduleProvisioningStatus? provisioningState = null) - { - tags ??= new Dictionary(); - properties ??= new Dictionary(); - - return new MachineLearningScheduleProperties( - description, - tags, - properties, - serializedAdditionalRawData: null, - displayName, - isEnabled, - trigger, - action, - provisioningState); - } - - /// Initializes a new instance of . - /// The id. - /// The name. - /// The resourceType. - /// The systemData. - /// The tags. - /// The location. - /// [Required] Additional attributes of the entity. - /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. - /// Managed service identity (system assigned and/or user assigned identities). - /// Sku details required for ARM contract for Autoscaling. - /// A new instance for mocking. - public static MachineLearningServerlessEndpointData MachineLearningServerlessEndpointData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ServerlessEndpointProperties properties = null, string kind = null, ManagedServiceIdentity identity = null, MachineLearningSku sku = null) - { - tags ??= new Dictionary(); - - return new MachineLearningServerlessEndpointData( - id, - name, - resourceType, - systemData, - tags, - location, - properties, - kind, - identity, - sku, - serializedAdditionalRawData: null); - } - - /// Initializes a new instance of . - /// The model settings (model id) for the model being serviced on the ServerlessEndpoint. - /// [Required] Specifies the authentication mode for the Serverless endpoint. - /// The inference uri to target when making requests against the serverless endpoint. - /// Provisioning state for the endpoint. - /// The current state of the ServerlessEndpoint. - /// The MarketplaceSubscription Azure ID associated to this ServerlessEndpoint. - /// Specifies the content safety options. If omitted, the default content safety settings will be configured. - /// A new instance for mocking. - public static ServerlessEndpointProperties ServerlessEndpointProperties(string modelId = null, ServerlessInferenceEndpointAuthMode authMode = default, ServerlessInferenceEndpoint inferenceEndpoint = null, MachineLearningEndpointProvisioningState? provisioningState = null, ServerlessEndpointState? endpointState = null, string marketplaceSubscriptionId = null, ContentSafetyStatus? contentSafetyStatus = null) - { - return new ServerlessEndpointProperties( - modelId != null ? new ModelSettings(modelId, serializedAdditionalRawData: null) : null, - authMode, - inferenceEndpoint, - provisioningState, - endpointState, - marketplaceSubscriptionId, - contentSafetyStatus.HasValue ? new ContentSafety(contentSafetyStatus.Value, serializedAdditionalRawData: null) : null, - serializedAdditionalRawData: null); - } - - /// Initializes a new instance of . - /// [Required] The inference uri to target when making requests against the Serverless Endpoint. - /// Specifies any required headers to target this serverless endpoint. - /// A new instance for mocking. - public static ServerlessInferenceEndpoint ServerlessInferenceEndpoint(Uri uri = null, IReadOnlyDictionary headers = null) - { - headers ??= new Dictionary(); - - return new ServerlessInferenceEndpoint(uri, headers, serializedAdditionalRawData: null); - } - - /// Initializes a new instance of . - /// The id. - /// The name. - /// The resourceType. - /// The systemData. - /// The tags. - /// The location. - /// Managed service identity (system assigned and/or user assigned identities). - /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. - /// Sku details required for ARM contract for Autoscaling. - /// Discovery URL for the Registry. - /// IntellectualPropertyPublisher for the registry. - /// ResourceId of the managed RG if the registry has system created resources. - /// MLFlow Registry URI for the Registry. - /// Private endpoint connections info used for pending connections in private link portal. - /// - /// Is the Registry accessible from the internet? - /// Possible values: "Enabled" or "Disabled" - /// - /// Details of each region the registry is in. - /// A new instance for mocking. - public static MachineLearningRegistryData MachineLearningRegistryData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ManagedServiceIdentity identity = null, string kind = null, MachineLearningSku sku = null, Uri discoveryUri = null, string intellectualPropertyPublisher = null, ResourceIdentifier managedResourceId = null, Uri mlFlowRegistryUri = null, IEnumerable registryPrivateEndpointConnections = null, string publicNetworkAccess = null, IEnumerable regionDetails = null) - { - tags ??= new Dictionary(); - registryPrivateEndpointConnections ??= new List(); - regionDetails ??= new List(); - - return new MachineLearningRegistryData( - id, - name, - resourceType, - systemData, - tags, - location, - identity, - kind, - sku, - discoveryUri, - intellectualPropertyPublisher, - managedResourceId != null ? new ArmResourceId(managedResourceId, serializedAdditionalRawData: null) : null, - mlFlowRegistryUri, - registryPrivateEndpointConnections?.ToList(), - publicNetworkAccess, - regionDetails?.ToList(), - serializedAdditionalRawData: null); - } - - /// Initializes a new instance of . - /// The ARM identifier for Private Endpoint. - /// The subnetId that the private endpoint is connected to. - /// A new instance for mocking. - public static RegistryPrivateEndpoint RegistryPrivateEndpoint(ResourceIdentifier id = null, ResourceIdentifier subnetArmId = null) - { - return new RegistryPrivateEndpoint(id, serializedAdditionalRawData: null, subnetArmId); - } - - /// Initializes a new instance of . - /// Specifies the feature ID. - /// Specifies the feature name. - /// Describes the feature for user experience. - /// A new instance for mocking. - public static MachineLearningUserFeature MachineLearningUserFeature(string id = null, string displayName = null, string description = null) - { - return new MachineLearningUserFeature(id, displayName, description, serializedAdditionalRawData: null); - } - /// Initializes a new instance of . /// Location for the underlying compute. /// The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed. @@ -2770,659 +2770,231 @@ public static MachineLearningDatabricksComputeSecrets MachineLearningDatabricksC return new MachineLearningDatabricksComputeSecrets(ComputeType.Databricks, serializedAdditionalRawData: null, databricksAccessToken); } - /// Initializes a new instance of . - /// The action enum for networking rule. - /// Optional, if provided, the ServiceTag property will be ignored. - /// - /// - /// - /// A new instance for mocking. - public static ServiceTagDestination ServiceTagDestination(NetworkingRuleAction? action = null, IEnumerable addressPrefixes = null, string portRanges = null, string protocol = null, string serviceTag = null) + /// Initializes a new instance of . + /// The asset description text. + /// Tag dictionary. Tags can be added, removed, and updated. + /// The asset property dictionary. + /// Display name of job. + /// Status of the job. + /// The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment. + /// + /// List of JobEndpoints. + /// For local jobs, a job endpoint will have an endpoint value of FileStreamObject. + /// + /// ARM resource ID of the compute resource. + /// Is the asset archived?. + /// + /// Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, UserIdentity or null. + /// Defaults to AmlToken if null. + /// 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 . + /// + /// ARM resource ID of the component resource. + /// Notification setting for the job. + /// Compute Resource configuration for the job. + /// + /// The ARM resource ID of the Environment specification for the job. + /// This is optional value to provide, if not provided, AutoML will default this to Production AutoML curated environment version when running the job. + /// + /// Environment variables included in the job. + /// + /// [Required] This represents scenario which can be one of Tables/NLP/Image + /// 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 . + /// + /// + /// Mapping of output data bindings used in the job. + /// 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 . + /// + /// Queue settings for the job. + /// A new instance for mocking. + public static AutoMLJob AutoMLJob(string description = null, IDictionary tags = null, IDictionary properties = null, string displayName = null, MachineLearningJobStatus? status = null, string experimentName = null, IDictionary services = null, ResourceIdentifier computeId = null, bool? isArchived = null, MachineLearningIdentityConfiguration identity = null, ResourceIdentifier componentId = null, NotificationSetting notificationSetting = null, MachineLearningJobResourceConfiguration resources = null, string environmentId = null, IDictionary environmentVariables = null, AutoMLVertical taskDetails = null, IDictionary outputs = null, JobTier? queueJobTier = null) { - addressPrefixes ??= new List(); + tags ??= new Dictionary(); + properties ??= new Dictionary(); + services ??= new Dictionary(); + environmentVariables ??= new Dictionary(); + outputs ??= new Dictionary(); - return new ServiceTagDestination( - action, - addressPrefixes?.ToList(), - portRanges, - protocol, - serviceTag, - serializedAdditionalRawData: null); + return new AutoMLJob( + description, + tags, + properties, + serializedAdditionalRawData: null, + JobType.AutoML, + displayName, + status, + experimentName, + services, + computeId, + isArchived, + identity, + componentId, + notificationSetting, + resources, + environmentId, + environmentVariables, + taskDetails, + outputs, + queueJobTier != null ? new JobQueueSettings(queueJobTier, serializedAdditionalRawData: null) : null); } - /// Initializes a new instance of . - /// Category of the connection. - /// - /// - /// Group based on connection category. - /// - /// - /// Store user metadata for this connection. - /// - /// Value details of the workspace connection. - /// format for the workspace connection value. - /// - /// A new instance for mocking. - public static MachineLearningPatAuthTypeWorkspaceConnection MachineLearningPatAuthTypeWorkspaceConnection(MachineLearningConnectionCategory? category = null, ResourceIdentifier createdByWorkspaceArmId = null, DateTimeOffset? expiryOn = null, WorkspaceConnectionGroup? group = null, bool? isSharedToAll = null, string target = null, IDictionary metadata = null, IEnumerable sharedUserList = null, string value = null, MachineLearningValueFormat? valueFormat = null, string credentialsPat = null) - { - metadata ??= new Dictionary(); - sharedUserList ??= new List(); - - return new MachineLearningPatAuthTypeWorkspaceConnection( - MachineLearningConnectionAuthType.Pat, - category, - createdByWorkspaceArmId, - expiryOn, - group, - isSharedToAll, - target, - metadata, - sharedUserList?.ToList(), - value, - valueFormat, - serializedAdditionalRawData: null, - credentialsPat != null ? new WorkspaceConnectionPersonalAccessToken(credentialsPat, serializedAdditionalRawData: null) : null); - } - - /// Initializes a new instance of . - /// Category of the connection. - /// - /// - /// Group based on connection category. - /// - /// - /// Store user metadata for this connection. - /// - /// Value details of the workspace connection. - /// format for the workspace connection value. - /// - /// A new instance for mocking. - public static MachineLearningSasAuthTypeWorkspaceConnection MachineLearningSasAuthTypeWorkspaceConnection(MachineLearningConnectionCategory? category = null, ResourceIdentifier createdByWorkspaceArmId = null, DateTimeOffset? expiryOn = null, WorkspaceConnectionGroup? group = null, bool? isSharedToAll = null, string target = null, IDictionary metadata = null, IEnumerable sharedUserList = null, string value = null, MachineLearningValueFormat? valueFormat = null, string credentialsSas = null) + /// Initializes a new instance of . + /// The asset description text. + /// Tag dictionary. Tags can be added, removed, and updated. + /// The asset property dictionary. + /// Readonly property to indicate if datastore is the workspace default datastore. + /// + /// [Required] Account credentials. + /// 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 . + /// + /// Storage account name. + /// Storage account container name. + /// Azure cloud endpoint for the storage account. + /// Protocol used to communicate with the storage account. + /// Indicates which identity to use to authenticate service data access to customer's storage. + /// Azure Subscription Id. + /// Azure Resource Group name. + /// A new instance for mocking. + public static MachineLearningAzureBlobDatastore MachineLearningAzureBlobDatastore(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isDefault = null, MachineLearningDatastoreCredentials credentials = null, string accountName = null, string containerName = null, string endpoint = null, string protocol = null, MachineLearningServiceDataAccessAuthIdentity? serviceDataAccessAuthIdentity = null, string subscriptionId = null, string resourceGroup = null) { - metadata ??= new Dictionary(); - sharedUserList ??= new List(); + tags ??= new Dictionary(); + properties ??= new Dictionary(); - return new MachineLearningSasAuthTypeWorkspaceConnection( - MachineLearningConnectionAuthType.Sas, - category, - createdByWorkspaceArmId, - expiryOn, - group, - isSharedToAll, - target, - metadata, - sharedUserList?.ToList(), - value, - valueFormat, + return new MachineLearningAzureBlobDatastore( + description, + tags, + properties, serializedAdditionalRawData: null, - credentialsSas != null ? new WorkspaceConnectionSharedAccessSignature(credentialsSas, serializedAdditionalRawData: null) : null); + DatastoreType.AzureBlob, + isDefault, + credentials, + accountName, + containerName, + endpoint, + protocol, + serviceDataAccessAuthIdentity, + subscriptionId, + resourceGroup); } - /// Initializes a new instance of . - /// Category of the connection. - /// - /// - /// Group based on connection category. - /// - /// - /// Store user metadata for this connection. - /// - /// Value details of the workspace connection. - /// format for the workspace connection value. - /// - /// A new instance for mocking. - public static MachineLearningUsernamePasswordAuthTypeWorkspaceConnection MachineLearningUsernamePasswordAuthTypeWorkspaceConnection(MachineLearningConnectionCategory? category = null, ResourceIdentifier createdByWorkspaceArmId = null, DateTimeOffset? expiryOn = null, WorkspaceConnectionGroup? group = null, bool? isSharedToAll = null, string target = null, IDictionary metadata = null, IEnumerable sharedUserList = null, string value = null, MachineLearningValueFormat? valueFormat = null, MachineLearningWorkspaceConnectionUsernamePassword credentials = null) + /// Initializes a new instance of . + /// The asset description text. + /// Tag dictionary. Tags can be added, removed, and updated. + /// The asset property dictionary. + /// Readonly property to indicate if datastore is the workspace default datastore. + /// + /// [Required] Account credentials. + /// 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 . + /// + /// [Required] Azure Data Lake store name. + /// Indicates which identity to use to authenticate service data access to customer's storage. + /// Azure Subscription Id. + /// Azure Resource Group name. + /// A new instance for mocking. + public static MachineLearningAzureDataLakeGen1Datastore MachineLearningAzureDataLakeGen1Datastore(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isDefault = null, MachineLearningDatastoreCredentials credentials = null, string storeName = null, MachineLearningServiceDataAccessAuthIdentity? serviceDataAccessAuthIdentity = null, string subscriptionId = null, string resourceGroup = null) { - metadata ??= new Dictionary(); - sharedUserList ??= new List(); + tags ??= new Dictionary(); + properties ??= new Dictionary(); - return new MachineLearningUsernamePasswordAuthTypeWorkspaceConnection( - MachineLearningConnectionAuthType.UsernamePassword, - category, - createdByWorkspaceArmId, - expiryOn, - group, - isSharedToAll, - target, - metadata, - sharedUserList?.ToList(), - value, - valueFormat, + return new MachineLearningAzureDataLakeGen1Datastore( + description, + tags, + properties, serializedAdditionalRawData: null, - credentials); + DatastoreType.AzureDataLakeGen1, + isDefault, + credentials, + storeName, + serviceDataAccessAuthIdentity, + subscriptionId, + resourceGroup); } - /// Initializes a new instance of . - /// Category of the connection. - /// - /// - /// Group based on connection category. - /// - /// - /// Store user metadata for this connection. - /// - /// Value details of the workspace connection. - /// format for the workspace connection value. - /// A new instance for mocking. - public static MachineLearningNoneAuthTypeWorkspaceConnection MachineLearningNoneAuthTypeWorkspaceConnection(MachineLearningConnectionCategory? category = null, ResourceIdentifier createdByWorkspaceArmId = null, DateTimeOffset? expiryOn = null, WorkspaceConnectionGroup? group = null, bool? isSharedToAll = null, string target = null, IDictionary metadata = null, IEnumerable sharedUserList = null, string value = null, MachineLearningValueFormat? valueFormat = null) + /// Initializes a new instance of . + /// The asset description text. + /// Tag dictionary. Tags can be added, removed, and updated. + /// The asset property dictionary. + /// Readonly property to indicate if datastore is the workspace default datastore. + /// + /// [Required] Account credentials. + /// 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 . + /// + /// [Required] The name of the Data Lake Gen2 filesystem. + /// [Required] Storage account name. + /// Azure cloud endpoint for the storage account. + /// Protocol used to communicate with the storage account. + /// Indicates which identity to use to authenticate service data access to customer's storage. + /// Azure Subscription Id. + /// Azure Resource Group name. + /// A new instance for mocking. + public static MachineLearningAzureDataLakeGen2Datastore MachineLearningAzureDataLakeGen2Datastore(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isDefault = null, MachineLearningDatastoreCredentials credentials = null, string filesystem = null, string accountName = null, string endpoint = null, string protocol = null, MachineLearningServiceDataAccessAuthIdentity? serviceDataAccessAuthIdentity = null, string subscriptionId = null, string resourceGroup = null) { - metadata ??= new Dictionary(); - sharedUserList ??= new List(); + tags ??= new Dictionary(); + properties ??= new Dictionary(); - return new MachineLearningNoneAuthTypeWorkspaceConnection( - MachineLearningConnectionAuthType.None, - category, - createdByWorkspaceArmId, - expiryOn, - group, - isSharedToAll, - target, - metadata, - sharedUserList?.ToList(), - value, - valueFormat, - serializedAdditionalRawData: null); + return new MachineLearningAzureDataLakeGen2Datastore( + description, + tags, + properties, + serializedAdditionalRawData: null, + DatastoreType.AzureDataLakeGen2, + isDefault, + credentials, + filesystem, + accountName, + endpoint, + protocol, + serviceDataAccessAuthIdentity, + subscriptionId, + resourceGroup); } - /// Initializes a new instance of . - /// Category of the connection. - /// - /// - /// Group based on connection category. - /// - /// - /// Store user metadata for this connection. - /// - /// Value details of the workspace connection. - /// format for the workspace connection value. - /// - /// A new instance for mocking. - public static MachineLearningManagedIdentityAuthTypeWorkspaceConnection MachineLearningManagedIdentityAuthTypeWorkspaceConnection(MachineLearningConnectionCategory? category = null, ResourceIdentifier createdByWorkspaceArmId = null, DateTimeOffset? expiryOn = null, WorkspaceConnectionGroup? group = null, bool? isSharedToAll = null, string target = null, IDictionary metadata = null, IEnumerable sharedUserList = null, string value = null, MachineLearningValueFormat? valueFormat = null, MachineLearningWorkspaceConnectionManagedIdentity credentials = null) + /// Initializes a new instance of . + /// The asset description text. + /// Tag dictionary. Tags can be added, removed, and updated. + /// The asset property dictionary. + /// Readonly property to indicate if datastore is the workspace default datastore. + /// + /// [Required] Account credentials. + /// 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 . + /// + /// [Required] Storage account name. + /// [Required] The name of the Azure file share that the datastore points to. + /// Azure cloud endpoint for the storage account. + /// Protocol used to communicate with the storage account. + /// Indicates which identity to use to authenticate service data access to customer's storage. + /// Azure Subscription Id. + /// Azure Resource Group name. + /// A new instance for mocking. + public static MachineLearningAzureFileDatastore MachineLearningAzureFileDatastore(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isDefault = null, MachineLearningDatastoreCredentials credentials = null, string accountName = null, string fileShareName = null, string endpoint = null, string protocol = null, MachineLearningServiceDataAccessAuthIdentity? serviceDataAccessAuthIdentity = null, string subscriptionId = null, string resourceGroup = null) { - metadata ??= new Dictionary(); - sharedUserList ??= new List(); + tags ??= new Dictionary(); + properties ??= new Dictionary(); - return new MachineLearningManagedIdentityAuthTypeWorkspaceConnection( - MachineLearningConnectionAuthType.ManagedIdentity, - category, - createdByWorkspaceArmId, - expiryOn, - group, - isSharedToAll, - target, - metadata, - sharedUserList?.ToList(), - value, - valueFormat, + return new MachineLearningAzureFileDatastore( + description, + tags, + properties, serializedAdditionalRawData: null, - credentials); - } - - /// Initializes a new instance of . - /// Category of the connection. - /// - /// - /// Group based on connection category. - /// - /// - /// Store user metadata for this connection. - /// - /// Value details of the workspace connection. - /// format for the workspace connection value. - /// A new instance for mocking. - public static AadAuthTypeWorkspaceConnectionProperties AadAuthTypeWorkspaceConnectionProperties(MachineLearningConnectionCategory? category = null, ResourceIdentifier createdByWorkspaceArmId = null, DateTimeOffset? expiryOn = null, WorkspaceConnectionGroup? group = null, bool? isSharedToAll = null, string target = null, IDictionary metadata = null, IEnumerable sharedUserList = null, string value = null, MachineLearningValueFormat? valueFormat = null) - { - metadata ??= new Dictionary(); - sharedUserList ??= new List(); - - return new AadAuthTypeWorkspaceConnectionProperties( - MachineLearningConnectionAuthType.Aad, - category, - createdByWorkspaceArmId, - expiryOn, - group, - isSharedToAll, - target, - metadata, - sharedUserList?.ToList(), - value, - valueFormat, - serializedAdditionalRawData: null); - } - - /// Initializes a new instance of . - /// Category of the connection. - /// - /// - /// Group based on connection category. - /// - /// - /// Store user metadata for this connection. - /// - /// Value details of the workspace connection. - /// format for the workspace connection value. - /// - /// A new instance for mocking. - public static AccessKeyAuthTypeWorkspaceConnectionProperties AccessKeyAuthTypeWorkspaceConnectionProperties(MachineLearningConnectionCategory? category = null, ResourceIdentifier createdByWorkspaceArmId = null, DateTimeOffset? expiryOn = null, WorkspaceConnectionGroup? group = null, bool? isSharedToAll = null, string target = null, IDictionary metadata = null, IEnumerable sharedUserList = null, string value = null, MachineLearningValueFormat? valueFormat = null, WorkspaceConnectionAccessKey credentials = null) - { - metadata ??= new Dictionary(); - sharedUserList ??= new List(); - - return new AccessKeyAuthTypeWorkspaceConnectionProperties( - MachineLearningConnectionAuthType.AccessKey, - category, - createdByWorkspaceArmId, - expiryOn, - group, - isSharedToAll, - target, - metadata, - sharedUserList?.ToList(), - value, - valueFormat, - serializedAdditionalRawData: null, - credentials); - } - - /// Initializes a new instance of . - /// Category of the connection. - /// - /// - /// Group based on connection category. - /// - /// - /// Store user metadata for this connection. - /// - /// Value details of the workspace connection. - /// format for the workspace connection value. - /// - /// A new instance for mocking. - public static AccountKeyAuthTypeWorkspaceConnectionProperties AccountKeyAuthTypeWorkspaceConnectionProperties(MachineLearningConnectionCategory? category = null, ResourceIdentifier createdByWorkspaceArmId = null, DateTimeOffset? expiryOn = null, WorkspaceConnectionGroup? group = null, bool? isSharedToAll = null, string target = null, IDictionary metadata = null, IEnumerable sharedUserList = null, string value = null, MachineLearningValueFormat? valueFormat = null, string credentialsKey = null) - { - metadata ??= new Dictionary(); - sharedUserList ??= new List(); - - return new AccountKeyAuthTypeWorkspaceConnectionProperties( - MachineLearningConnectionAuthType.AccountKey, - category, - createdByWorkspaceArmId, - expiryOn, - group, - isSharedToAll, - target, - metadata, - sharedUserList?.ToList(), - value, - valueFormat, - serializedAdditionalRawData: null, - credentialsKey != null ? new WorkspaceConnectionAccountKey(credentialsKey, serializedAdditionalRawData: null) : null); - } - - /// Initializes a new instance of . - /// Category of the connection. - /// - /// - /// Group based on connection category. - /// - /// - /// Store user metadata for this connection. - /// - /// Value details of the workspace connection. - /// format for the workspace connection value. - /// Api key object for workspace connection credential. - /// A new instance for mocking. - public static ApiKeyAuthWorkspaceConnectionProperties ApiKeyAuthWorkspaceConnectionProperties(MachineLearningConnectionCategory? category = null, ResourceIdentifier createdByWorkspaceArmId = null, DateTimeOffset? expiryOn = null, WorkspaceConnectionGroup? group = null, bool? isSharedToAll = null, string target = null, IDictionary metadata = null, IEnumerable sharedUserList = null, string value = null, MachineLearningValueFormat? valueFormat = null, string credentialsKey = null) - { - metadata ??= new Dictionary(); - sharedUserList ??= new List(); - - return new ApiKeyAuthWorkspaceConnectionProperties( - MachineLearningConnectionAuthType.ApiKey, - category, - createdByWorkspaceArmId, - expiryOn, - group, - isSharedToAll, - target, - metadata, - sharedUserList?.ToList(), - value, - valueFormat, - serializedAdditionalRawData: null, - credentialsKey != null ? new WorkspaceConnectionApiKey(credentialsKey, serializedAdditionalRawData: null) : null); - } - - /// Initializes a new instance of . - /// Category of the connection. - /// - /// - /// Group based on connection category. - /// - /// - /// Store user metadata for this connection. - /// - /// Value details of the workspace connection. - /// format for the workspace connection value. - /// Custom Keys credential object. - /// A new instance for mocking. - public static CustomKeysWorkspaceConnectionProperties CustomKeysWorkspaceConnectionProperties(MachineLearningConnectionCategory? category = null, ResourceIdentifier createdByWorkspaceArmId = null, DateTimeOffset? expiryOn = null, WorkspaceConnectionGroup? group = null, bool? isSharedToAll = null, string target = null, IDictionary metadata = null, IEnumerable sharedUserList = null, string value = null, MachineLearningValueFormat? valueFormat = null, IDictionary credentialsKeys = null) - { - metadata ??= new Dictionary(); - sharedUserList ??= new List(); - credentialsKeys ??= new Dictionary(); - - return new CustomKeysWorkspaceConnectionProperties( - MachineLearningConnectionAuthType.CustomKeys, - category, - createdByWorkspaceArmId, - expiryOn, - group, - isSharedToAll, - target, - metadata, - sharedUserList?.ToList(), - value, - valueFormat, - serializedAdditionalRawData: null, - credentialsKeys != null ? new CustomKeys(credentialsKeys, serializedAdditionalRawData: null) : null); - } - - /// Initializes a new instance of . - /// Category of the connection. - /// - /// - /// Group based on connection category. - /// - /// - /// Store user metadata for this connection. - /// - /// Value details of the workspace connection. - /// format for the workspace connection value. - /// - /// ClientId and ClientSecret are required. Other properties are optional - /// depending on each OAuth2 provider's implementation. - /// - /// A new instance for mocking. - public static OAuth2AuthTypeWorkspaceConnectionProperties OAuth2AuthTypeWorkspaceConnectionProperties(MachineLearningConnectionCategory? category = null, ResourceIdentifier createdByWorkspaceArmId = null, DateTimeOffset? expiryOn = null, WorkspaceConnectionGroup? group = null, bool? isSharedToAll = null, string target = null, IDictionary metadata = null, IEnumerable sharedUserList = null, string value = null, MachineLearningValueFormat? valueFormat = null, WorkspaceConnectionOAuth2 credentials = null) - { - metadata ??= new Dictionary(); - sharedUserList ??= new List(); - - return new OAuth2AuthTypeWorkspaceConnectionProperties( - MachineLearningConnectionAuthType.OAuth2, - category, - createdByWorkspaceArmId, - expiryOn, - group, - isSharedToAll, - target, - metadata, - sharedUserList?.ToList(), - value, - valueFormat, - serializedAdditionalRawData: null, - credentials); - } - - /// Initializes a new instance of . - /// Category of the connection. - /// - /// - /// Group based on connection category. - /// - /// - /// Store user metadata for this connection. - /// - /// Value details of the workspace connection. - /// format for the workspace connection value. - /// - /// A new instance for mocking. - public static ServicePrincipalAuthTypeWorkspaceConnectionProperties ServicePrincipalAuthTypeWorkspaceConnectionProperties(MachineLearningConnectionCategory? category = null, ResourceIdentifier createdByWorkspaceArmId = null, DateTimeOffset? expiryOn = null, WorkspaceConnectionGroup? group = null, bool? isSharedToAll = null, string target = null, IDictionary metadata = null, IEnumerable sharedUserList = null, string value = null, MachineLearningValueFormat? valueFormat = null, WorkspaceConnectionServicePrincipal credentials = null) - { - metadata ??= new Dictionary(); - sharedUserList ??= new List(); - - return new ServicePrincipalAuthTypeWorkspaceConnectionProperties( - MachineLearningConnectionAuthType.ServicePrincipal, - category, - createdByWorkspaceArmId, - expiryOn, - group, - isSharedToAll, - target, - metadata, - sharedUserList?.ToList(), - value, - valueFormat, - serializedAdditionalRawData: null, - credentials); + DatastoreType.AzureFile, + isDefault, + credentials, + accountName, + fileShareName, + endpoint, + protocol, + serviceDataAccessAuthIdentity, + subscriptionId, + resourceGroup); } - /// Initializes a new instance of . - /// The asset description text. - /// Tag dictionary. Tags can be added, removed, and updated. - /// The asset property dictionary. - /// Display name of job. - /// Status of the job. - /// The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment. - /// - /// List of JobEndpoints. - /// For local jobs, a job endpoint will have an endpoint value of FileStreamObject. - /// - /// ARM resource ID of the compute resource. - /// Is the asset archived?. - /// - /// Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, UserIdentity or null. - /// Defaults to AmlToken if null. - /// 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 . - /// - /// ARM resource ID of the component resource. - /// Notification setting for the job. - /// Compute Resource configuration for the job. - /// - /// The ARM resource ID of the Environment specification for the job. - /// This is optional value to provide, if not provided, AutoML will default this to Production AutoML curated environment version when running the job. - /// - /// Environment variables included in the job. - /// - /// [Required] This represents scenario which can be one of Tables/NLP/Image - /// 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 . - /// - /// - /// Mapping of output data bindings used in the job. - /// 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 . - /// - /// Queue settings for the job. - /// A new instance for mocking. - public static AutoMLJob AutoMLJob(string description = null, IDictionary tags = null, IDictionary properties = null, string displayName = null, MachineLearningJobStatus? status = null, string experimentName = null, IDictionary services = null, ResourceIdentifier computeId = null, bool? isArchived = null, MachineLearningIdentityConfiguration identity = null, ResourceIdentifier componentId = null, NotificationSetting notificationSetting = null, MachineLearningJobResourceConfiguration resources = null, string environmentId = null, IDictionary environmentVariables = null, AutoMLVertical taskDetails = null, IDictionary outputs = null, JobTier? queueJobTier = null) - { - tags ??= new Dictionary(); - properties ??= new Dictionary(); - services ??= new Dictionary(); - environmentVariables ??= new Dictionary(); - outputs ??= new Dictionary(); - - return new AutoMLJob( - description, - tags, - properties, - serializedAdditionalRawData: null, - JobType.AutoML, - displayName, - status, - experimentName, - services, - computeId, - isArchived, - identity, - componentId, - notificationSetting, - resources, - environmentId, - environmentVariables, - taskDetails, - outputs, - queueJobTier != null ? new JobQueueSettings(queueJobTier, serializedAdditionalRawData: null) : null); - } - - /// Initializes a new instance of . - /// The asset description text. - /// Tag dictionary. Tags can be added, removed, and updated. - /// The asset property dictionary. - /// Readonly property to indicate if datastore is the workspace default datastore. - /// - /// [Required] Account credentials. - /// 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 . - /// - /// Storage account name. - /// Storage account container name. - /// Azure cloud endpoint for the storage account. - /// Protocol used to communicate with the storage account. - /// Indicates which identity to use to authenticate service data access to customer's storage. - /// Azure Subscription Id. - /// Azure Resource Group name. - /// A new instance for mocking. - public static MachineLearningAzureBlobDatastore MachineLearningAzureBlobDatastore(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isDefault = null, MachineLearningDatastoreCredentials credentials = null, string accountName = null, string containerName = null, string endpoint = null, string protocol = null, MachineLearningServiceDataAccessAuthIdentity? serviceDataAccessAuthIdentity = null, string subscriptionId = null, string resourceGroup = null) - { - tags ??= new Dictionary(); - properties ??= new Dictionary(); - - return new MachineLearningAzureBlobDatastore( - description, - tags, - properties, - serializedAdditionalRawData: null, - DatastoreType.AzureBlob, - isDefault, - credentials, - accountName, - containerName, - endpoint, - protocol, - serviceDataAccessAuthIdentity, - subscriptionId, - resourceGroup); - } - - /// Initializes a new instance of . - /// The asset description text. - /// Tag dictionary. Tags can be added, removed, and updated. - /// The asset property dictionary. - /// Readonly property to indicate if datastore is the workspace default datastore. - /// - /// [Required] Account credentials. - /// 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 . - /// - /// [Required] Azure Data Lake store name. - /// Indicates which identity to use to authenticate service data access to customer's storage. - /// Azure Subscription Id. - /// Azure Resource Group name. - /// A new instance for mocking. - public static MachineLearningAzureDataLakeGen1Datastore MachineLearningAzureDataLakeGen1Datastore(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isDefault = null, MachineLearningDatastoreCredentials credentials = null, string storeName = null, MachineLearningServiceDataAccessAuthIdentity? serviceDataAccessAuthIdentity = null, string subscriptionId = null, string resourceGroup = null) - { - tags ??= new Dictionary(); - properties ??= new Dictionary(); - - return new MachineLearningAzureDataLakeGen1Datastore( - description, - tags, - properties, - serializedAdditionalRawData: null, - DatastoreType.AzureDataLakeGen1, - isDefault, - credentials, - storeName, - serviceDataAccessAuthIdentity, - subscriptionId, - resourceGroup); - } - - /// Initializes a new instance of . - /// The asset description text. - /// Tag dictionary. Tags can be added, removed, and updated. - /// The asset property dictionary. - /// Readonly property to indicate if datastore is the workspace default datastore. - /// - /// [Required] Account credentials. - /// 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 . - /// - /// [Required] The name of the Data Lake Gen2 filesystem. - /// [Required] Storage account name. - /// Azure cloud endpoint for the storage account. - /// Protocol used to communicate with the storage account. - /// Indicates which identity to use to authenticate service data access to customer's storage. - /// Azure Subscription Id. - /// Azure Resource Group name. - /// A new instance for mocking. - public static MachineLearningAzureDataLakeGen2Datastore MachineLearningAzureDataLakeGen2Datastore(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isDefault = null, MachineLearningDatastoreCredentials credentials = null, string filesystem = null, string accountName = null, string endpoint = null, string protocol = null, MachineLearningServiceDataAccessAuthIdentity? serviceDataAccessAuthIdentity = null, string subscriptionId = null, string resourceGroup = null) - { - tags ??= new Dictionary(); - properties ??= new Dictionary(); - - return new MachineLearningAzureDataLakeGen2Datastore( - description, - tags, - properties, - serializedAdditionalRawData: null, - DatastoreType.AzureDataLakeGen2, - isDefault, - credentials, - filesystem, - accountName, - endpoint, - protocol, - serviceDataAccessAuthIdentity, - subscriptionId, - resourceGroup); - } - - /// Initializes a new instance of . - /// The asset description text. - /// Tag dictionary. Tags can be added, removed, and updated. - /// The asset property dictionary. - /// Readonly property to indicate if datastore is the workspace default datastore. - /// - /// [Required] Account credentials. - /// 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 . - /// - /// [Required] Storage account name. - /// [Required] The name of the Azure file share that the datastore points to. - /// Azure cloud endpoint for the storage account. - /// Protocol used to communicate with the storage account. - /// Indicates which identity to use to authenticate service data access to customer's storage. - /// Azure Subscription Id. - /// Azure Resource Group name. - /// A new instance for mocking. - public static MachineLearningAzureFileDatastore MachineLearningAzureFileDatastore(string description = null, IDictionary tags = null, IDictionary properties = null, bool? isDefault = null, MachineLearningDatastoreCredentials credentials = null, string accountName = null, string fileShareName = null, string endpoint = null, string protocol = null, MachineLearningServiceDataAccessAuthIdentity? serviceDataAccessAuthIdentity = null, string subscriptionId = null, string resourceGroup = null) - { - tags ??= new Dictionary(); - properties ??= new Dictionary(); - - return new MachineLearningAzureFileDatastore( - description, - tags, - properties, - serializedAdditionalRawData: null, - DatastoreType.AzureFile, - isDefault, - credentials, - accountName, - fileShareName, - endpoint, - protocol, - serviceDataAccessAuthIdentity, - subscriptionId, - resourceGroup); - } - - /// Initializes a new instance of . + /// Initializes a new instance of . /// The asset description text. /// Tag dictionary. Tags can be added, removed, and updated. /// The asset property dictionary. @@ -3987,5 +3559,433 @@ public static TextNer TextNer(MachineLearningLogVerbosity? logVerbosity = null, featurizationDatasetLanguage != null ? new NlpVerticalFeaturizationSettings(featurizationDatasetLanguage, serializedAdditionalRawData: null) : null, validationData); } + + /// Initializes a new instance of . + /// The action enum for networking rule. + /// Optional, if provided, the ServiceTag property will be ignored. + /// + /// + /// + /// A new instance for mocking. + public static ServiceTagDestination ServiceTagDestination(NetworkingRuleAction? action = null, IEnumerable addressPrefixes = null, string portRanges = null, string protocol = null, string serviceTag = null) + { + addressPrefixes ??= new List(); + + return new ServiceTagDestination( + action, + addressPrefixes?.ToList(), + portRanges, + protocol, + serviceTag, + serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// Category of the connection. + /// + /// + /// Group based on connection category. + /// + /// + /// Store user metadata for this connection. + /// + /// Value details of the workspace connection. + /// format for the workspace connection value. + /// + /// A new instance for mocking. + public static MachineLearningPatAuthTypeWorkspaceConnection MachineLearningPatAuthTypeWorkspaceConnection(MachineLearningConnectionCategory? category = null, ResourceIdentifier createdByWorkspaceArmId = null, DateTimeOffset? expiryOn = null, WorkspaceConnectionGroup? group = null, bool? isSharedToAll = null, string target = null, IDictionary metadata = null, IEnumerable sharedUserList = null, string value = null, MachineLearningValueFormat? valueFormat = null, string credentialsPat = null) + { + metadata ??= new Dictionary(); + sharedUserList ??= new List(); + + return new MachineLearningPatAuthTypeWorkspaceConnection( + MachineLearningConnectionAuthType.Pat, + category, + createdByWorkspaceArmId, + expiryOn, + group, + isSharedToAll, + target, + metadata, + sharedUserList?.ToList(), + value, + valueFormat, + serializedAdditionalRawData: null, + credentialsPat != null ? new WorkspaceConnectionPersonalAccessToken(credentialsPat, serializedAdditionalRawData: null) : null); + } + + /// Initializes a new instance of . + /// Category of the connection. + /// + /// + /// Group based on connection category. + /// + /// + /// Store user metadata for this connection. + /// + /// Value details of the workspace connection. + /// format for the workspace connection value. + /// + /// A new instance for mocking. + public static MachineLearningSasAuthTypeWorkspaceConnection MachineLearningSasAuthTypeWorkspaceConnection(MachineLearningConnectionCategory? category = null, ResourceIdentifier createdByWorkspaceArmId = null, DateTimeOffset? expiryOn = null, WorkspaceConnectionGroup? group = null, bool? isSharedToAll = null, string target = null, IDictionary metadata = null, IEnumerable sharedUserList = null, string value = null, MachineLearningValueFormat? valueFormat = null, string credentialsSas = null) + { + metadata ??= new Dictionary(); + sharedUserList ??= new List(); + + return new MachineLearningSasAuthTypeWorkspaceConnection( + MachineLearningConnectionAuthType.Sas, + category, + createdByWorkspaceArmId, + expiryOn, + group, + isSharedToAll, + target, + metadata, + sharedUserList?.ToList(), + value, + valueFormat, + serializedAdditionalRawData: null, + credentialsSas != null ? new WorkspaceConnectionSharedAccessSignature(credentialsSas, serializedAdditionalRawData: null) : null); + } + + /// Initializes a new instance of . + /// Category of the connection. + /// + /// + /// Group based on connection category. + /// + /// + /// Store user metadata for this connection. + /// + /// Value details of the workspace connection. + /// format for the workspace connection value. + /// + /// A new instance for mocking. + public static MachineLearningUsernamePasswordAuthTypeWorkspaceConnection MachineLearningUsernamePasswordAuthTypeWorkspaceConnection(MachineLearningConnectionCategory? category = null, ResourceIdentifier createdByWorkspaceArmId = null, DateTimeOffset? expiryOn = null, WorkspaceConnectionGroup? group = null, bool? isSharedToAll = null, string target = null, IDictionary metadata = null, IEnumerable sharedUserList = null, string value = null, MachineLearningValueFormat? valueFormat = null, MachineLearningWorkspaceConnectionUsernamePassword credentials = null) + { + metadata ??= new Dictionary(); + sharedUserList ??= new List(); + + return new MachineLearningUsernamePasswordAuthTypeWorkspaceConnection( + MachineLearningConnectionAuthType.UsernamePassword, + category, + createdByWorkspaceArmId, + expiryOn, + group, + isSharedToAll, + target, + metadata, + sharedUserList?.ToList(), + value, + valueFormat, + serializedAdditionalRawData: null, + credentials); + } + + /// Initializes a new instance of . + /// Category of the connection. + /// + /// + /// Group based on connection category. + /// + /// + /// Store user metadata for this connection. + /// + /// Value details of the workspace connection. + /// format for the workspace connection value. + /// A new instance for mocking. + public static MachineLearningNoneAuthTypeWorkspaceConnection MachineLearningNoneAuthTypeWorkspaceConnection(MachineLearningConnectionCategory? category = null, ResourceIdentifier createdByWorkspaceArmId = null, DateTimeOffset? expiryOn = null, WorkspaceConnectionGroup? group = null, bool? isSharedToAll = null, string target = null, IDictionary metadata = null, IEnumerable sharedUserList = null, string value = null, MachineLearningValueFormat? valueFormat = null) + { + metadata ??= new Dictionary(); + sharedUserList ??= new List(); + + return new MachineLearningNoneAuthTypeWorkspaceConnection( + MachineLearningConnectionAuthType.None, + category, + createdByWorkspaceArmId, + expiryOn, + group, + isSharedToAll, + target, + metadata, + sharedUserList?.ToList(), + value, + valueFormat, + serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// Category of the connection. + /// + /// + /// Group based on connection category. + /// + /// + /// Store user metadata for this connection. + /// + /// Value details of the workspace connection. + /// format for the workspace connection value. + /// + /// A new instance for mocking. + public static MachineLearningManagedIdentityAuthTypeWorkspaceConnection MachineLearningManagedIdentityAuthTypeWorkspaceConnection(MachineLearningConnectionCategory? category = null, ResourceIdentifier createdByWorkspaceArmId = null, DateTimeOffset? expiryOn = null, WorkspaceConnectionGroup? group = null, bool? isSharedToAll = null, string target = null, IDictionary metadata = null, IEnumerable sharedUserList = null, string value = null, MachineLearningValueFormat? valueFormat = null, MachineLearningWorkspaceConnectionManagedIdentity credentials = null) + { + metadata ??= new Dictionary(); + sharedUserList ??= new List(); + + return new MachineLearningManagedIdentityAuthTypeWorkspaceConnection( + MachineLearningConnectionAuthType.ManagedIdentity, + category, + createdByWorkspaceArmId, + expiryOn, + group, + isSharedToAll, + target, + metadata, + sharedUserList?.ToList(), + value, + valueFormat, + serializedAdditionalRawData: null, + credentials); + } + + /// Initializes a new instance of . + /// Category of the connection. + /// + /// + /// Group based on connection category. + /// + /// + /// Store user metadata for this connection. + /// + /// Value details of the workspace connection. + /// format for the workspace connection value. + /// A new instance for mocking. + public static AadAuthTypeWorkspaceConnectionProperties AadAuthTypeWorkspaceConnectionProperties(MachineLearningConnectionCategory? category = null, ResourceIdentifier createdByWorkspaceArmId = null, DateTimeOffset? expiryOn = null, WorkspaceConnectionGroup? group = null, bool? isSharedToAll = null, string target = null, IDictionary metadata = null, IEnumerable sharedUserList = null, string value = null, MachineLearningValueFormat? valueFormat = null) + { + metadata ??= new Dictionary(); + sharedUserList ??= new List(); + + return new AadAuthTypeWorkspaceConnectionProperties( + MachineLearningConnectionAuthType.Aad, + category, + createdByWorkspaceArmId, + expiryOn, + group, + isSharedToAll, + target, + metadata, + sharedUserList?.ToList(), + value, + valueFormat, + serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// Category of the connection. + /// + /// + /// Group based on connection category. + /// + /// + /// Store user metadata for this connection. + /// + /// Value details of the workspace connection. + /// format for the workspace connection value. + /// + /// A new instance for mocking. + public static AccessKeyAuthTypeWorkspaceConnectionProperties AccessKeyAuthTypeWorkspaceConnectionProperties(MachineLearningConnectionCategory? category = null, ResourceIdentifier createdByWorkspaceArmId = null, DateTimeOffset? expiryOn = null, WorkspaceConnectionGroup? group = null, bool? isSharedToAll = null, string target = null, IDictionary metadata = null, IEnumerable sharedUserList = null, string value = null, MachineLearningValueFormat? valueFormat = null, WorkspaceConnectionAccessKey credentials = null) + { + metadata ??= new Dictionary(); + sharedUserList ??= new List(); + + return new AccessKeyAuthTypeWorkspaceConnectionProperties( + MachineLearningConnectionAuthType.AccessKey, + category, + createdByWorkspaceArmId, + expiryOn, + group, + isSharedToAll, + target, + metadata, + sharedUserList?.ToList(), + value, + valueFormat, + serializedAdditionalRawData: null, + credentials); + } + + /// Initializes a new instance of . + /// Category of the connection. + /// + /// + /// Group based on connection category. + /// + /// + /// Store user metadata for this connection. + /// + /// Value details of the workspace connection. + /// format for the workspace connection value. + /// + /// A new instance for mocking. + public static AccountKeyAuthTypeWorkspaceConnectionProperties AccountKeyAuthTypeWorkspaceConnectionProperties(MachineLearningConnectionCategory? category = null, ResourceIdentifier createdByWorkspaceArmId = null, DateTimeOffset? expiryOn = null, WorkspaceConnectionGroup? group = null, bool? isSharedToAll = null, string target = null, IDictionary metadata = null, IEnumerable sharedUserList = null, string value = null, MachineLearningValueFormat? valueFormat = null, string credentialsKey = null) + { + metadata ??= new Dictionary(); + sharedUserList ??= new List(); + + return new AccountKeyAuthTypeWorkspaceConnectionProperties( + MachineLearningConnectionAuthType.AccountKey, + category, + createdByWorkspaceArmId, + expiryOn, + group, + isSharedToAll, + target, + metadata, + sharedUserList?.ToList(), + value, + valueFormat, + serializedAdditionalRawData: null, + credentialsKey != null ? new WorkspaceConnectionAccountKey(credentialsKey, serializedAdditionalRawData: null) : null); + } + + /// Initializes a new instance of . + /// Category of the connection. + /// + /// + /// Group based on connection category. + /// + /// + /// Store user metadata for this connection. + /// + /// Value details of the workspace connection. + /// format for the workspace connection value. + /// Api key object for workspace connection credential. + /// A new instance for mocking. + public static ApiKeyAuthWorkspaceConnectionProperties ApiKeyAuthWorkspaceConnectionProperties(MachineLearningConnectionCategory? category = null, ResourceIdentifier createdByWorkspaceArmId = null, DateTimeOffset? expiryOn = null, WorkspaceConnectionGroup? group = null, bool? isSharedToAll = null, string target = null, IDictionary metadata = null, IEnumerable sharedUserList = null, string value = null, MachineLearningValueFormat? valueFormat = null, string credentialsKey = null) + { + metadata ??= new Dictionary(); + sharedUserList ??= new List(); + + return new ApiKeyAuthWorkspaceConnectionProperties( + MachineLearningConnectionAuthType.ApiKey, + category, + createdByWorkspaceArmId, + expiryOn, + group, + isSharedToAll, + target, + metadata, + sharedUserList?.ToList(), + value, + valueFormat, + serializedAdditionalRawData: null, + credentialsKey != null ? new WorkspaceConnectionApiKey(credentialsKey, serializedAdditionalRawData: null) : null); + } + + /// Initializes a new instance of . + /// Category of the connection. + /// + /// + /// Group based on connection category. + /// + /// + /// Store user metadata for this connection. + /// + /// Value details of the workspace connection. + /// format for the workspace connection value. + /// Custom Keys credential object. + /// A new instance for mocking. + public static CustomKeysWorkspaceConnectionProperties CustomKeysWorkspaceConnectionProperties(MachineLearningConnectionCategory? category = null, ResourceIdentifier createdByWorkspaceArmId = null, DateTimeOffset? expiryOn = null, WorkspaceConnectionGroup? group = null, bool? isSharedToAll = null, string target = null, IDictionary metadata = null, IEnumerable sharedUserList = null, string value = null, MachineLearningValueFormat? valueFormat = null, IDictionary credentialsKeys = null) + { + metadata ??= new Dictionary(); + sharedUserList ??= new List(); + credentialsKeys ??= new Dictionary(); + + return new CustomKeysWorkspaceConnectionProperties( + MachineLearningConnectionAuthType.CustomKeys, + category, + createdByWorkspaceArmId, + expiryOn, + group, + isSharedToAll, + target, + metadata, + sharedUserList?.ToList(), + value, + valueFormat, + serializedAdditionalRawData: null, + credentialsKeys != null ? new CustomKeys(credentialsKeys, serializedAdditionalRawData: null) : null); + } + + /// Initializes a new instance of . + /// Category of the connection. + /// + /// + /// Group based on connection category. + /// + /// + /// Store user metadata for this connection. + /// + /// Value details of the workspace connection. + /// format for the workspace connection value. + /// + /// ClientId and ClientSecret are required. Other properties are optional + /// depending on each OAuth2 provider's implementation. + /// + /// A new instance for mocking. + public static OAuth2AuthTypeWorkspaceConnectionProperties OAuth2AuthTypeWorkspaceConnectionProperties(MachineLearningConnectionCategory? category = null, ResourceIdentifier createdByWorkspaceArmId = null, DateTimeOffset? expiryOn = null, WorkspaceConnectionGroup? group = null, bool? isSharedToAll = null, string target = null, IDictionary metadata = null, IEnumerable sharedUserList = null, string value = null, MachineLearningValueFormat? valueFormat = null, WorkspaceConnectionOAuth2 credentials = null) + { + metadata ??= new Dictionary(); + sharedUserList ??= new List(); + + return new OAuth2AuthTypeWorkspaceConnectionProperties( + MachineLearningConnectionAuthType.OAuth2, + category, + createdByWorkspaceArmId, + expiryOn, + group, + isSharedToAll, + target, + metadata, + sharedUserList?.ToList(), + value, + valueFormat, + serializedAdditionalRawData: null, + credentials); + } + + /// Initializes a new instance of . + /// Category of the connection. + /// + /// + /// Group based on connection category. + /// + /// + /// Store user metadata for this connection. + /// + /// Value details of the workspace connection. + /// format for the workspace connection value. + /// + /// A new instance for mocking. + public static ServicePrincipalAuthTypeWorkspaceConnectionProperties ServicePrincipalAuthTypeWorkspaceConnectionProperties(MachineLearningConnectionCategory? category = null, ResourceIdentifier createdByWorkspaceArmId = null, DateTimeOffset? expiryOn = null, WorkspaceConnectionGroup? group = null, bool? isSharedToAll = null, string target = null, IDictionary metadata = null, IEnumerable sharedUserList = null, string value = null, MachineLearningValueFormat? valueFormat = null, WorkspaceConnectionServicePrincipal credentials = null) + { + metadata ??= new Dictionary(); + sharedUserList ??= new List(); + + return new ServicePrincipalAuthTypeWorkspaceConnectionProperties( + MachineLearningConnectionAuthType.ServicePrincipal, + category, + createdByWorkspaceArmId, + expiryOn, + group, + isSharedToAll, + target, + metadata, + sharedUserList?.ToList(), + value, + valueFormat, + serializedAdditionalRawData: null, + credentials); + } } } diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Extensions/MachineLearningExtensions.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Extensions/MachineLearningExtensions.cs index fd68dba2933b0..95387b21db26f 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Extensions/MachineLearningExtensions.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Extensions/MachineLearningExtensions.cs @@ -33,25 +33,6 @@ private static MockableMachineLearningSubscriptionResource GetMockableMachineLea return resource.GetCachedClient(client => new MockableMachineLearningSubscriptionResource(client, resource.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 MachineLearningWorkspaceResource GetMachineLearningWorkspaceResource(this ArmClient client, ResourceIdentifier id) - { - Argument.AssertNotNull(client, nameof(client)); - - return GetMockableMachineLearningArmClient(client).GetMachineLearningWorkspaceResource(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. @@ -71,63 +52,6 @@ public static MachineLearningComputeResource GetMachineLearningComputeResource(t return GetMockableMachineLearningArmClient(client).GetMachineLearningComputeResource(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 MachineLearningPrivateEndpointConnectionResource GetMachineLearningPrivateEndpointConnectionResource(this ArmClient client, ResourceIdentifier id) - { - Argument.AssertNotNull(client, nameof(client)); - - return GetMockableMachineLearningArmClient(client).GetMachineLearningPrivateEndpointConnectionResource(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 MachineLearningWorkspaceConnectionResource GetMachineLearningWorkspaceConnectionResource(this ArmClient client, ResourceIdentifier id) - { - Argument.AssertNotNull(client, nameof(client)); - - return GetMockableMachineLearningArmClient(client).GetMachineLearningWorkspaceConnectionResource(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 MachineLearningOutboundRuleBasicResource GetMachineLearningOutboundRuleBasicResource(this ArmClient client, ResourceIdentifier id) - { - Argument.AssertNotNull(client, nameof(client)); - - return GetMockableMachineLearningArmClient(client).GetMachineLearningOutboundRuleBasicResource(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. @@ -794,96 +718,79 @@ public static MachineLearningRegistryResource GetMachineLearningRegistryResource } /// - /// Gets a collection of MachineLearningWorkspaceResources in the ResourceGroupResource. + /// 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. + /// To mock this method, please mock instead. /// /// - /// The instance the method will execute against. - /// is null. - /// An object representing collection of MachineLearningWorkspaceResources and their operations over a MachineLearningWorkspaceResource. - public static MachineLearningWorkspaceCollection GetMachineLearningWorkspaces(this ResourceGroupResource resourceGroupResource) + /// The instance the method will execute against. + /// The resource ID of the resource to get. + /// is null. + /// Returns a object. + public static MachineLearningWorkspaceResource GetMachineLearningWorkspaceResource(this ArmClient client, ResourceIdentifier id) { - Argument.AssertNotNull(resourceGroupResource, nameof(resourceGroupResource)); + Argument.AssertNotNull(client, nameof(client)); - return GetMockableMachineLearningResourceGroupResource(resourceGroupResource).GetMachineLearningWorkspaces(); + return GetMockableMachineLearningArmClient(client).GetMachineLearningWorkspaceResource(id); } /// - /// Gets the properties of the specified machine learning workspace. - /// - /// - /// Request Path - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName} - /// - /// - /// Operation Id - /// Workspaces_Get - /// - /// - /// Default Api Version - /// 2024-04-01 - /// - /// - /// Resource - /// - /// - /// + /// 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. + /// To mock this method, please mock instead. /// /// - /// The instance the method will execute against. - /// Name of Azure Machine Learning workspace. - /// The cancellation token to use. - /// or is null. - /// is an empty string, and was expected to be non-empty. - [ForwardsClientCalls] - public static async Task> GetMachineLearningWorkspaceAsync(this ResourceGroupResource resourceGroupResource, string workspaceName, CancellationToken cancellationToken = default) + /// The instance the method will execute against. + /// The resource ID of the resource to get. + /// is null. + /// Returns a object. + public static MachineLearningPrivateEndpointConnectionResource GetMachineLearningPrivateEndpointConnectionResource(this ArmClient client, ResourceIdentifier id) { - Argument.AssertNotNull(resourceGroupResource, nameof(resourceGroupResource)); + Argument.AssertNotNull(client, nameof(client)); - return await GetMockableMachineLearningResourceGroupResource(resourceGroupResource).GetMachineLearningWorkspaceAsync(workspaceName, cancellationToken).ConfigureAwait(false); + return GetMockableMachineLearningArmClient(client).GetMachineLearningPrivateEndpointConnectionResource(id); } /// - /// Gets the properties of the specified machine learning workspace. - /// - /// - /// Request Path - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName} - /// - /// - /// Operation Id - /// Workspaces_Get - /// - /// - /// Default Api Version - /// 2024-04-01 - /// + /// 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. /// - /// Resource - /// + /// 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 MachineLearningWorkspaceConnectionResource GetMachineLearningWorkspaceConnectionResource(this ArmClient client, ResourceIdentifier id) + { + Argument.AssertNotNull(client, nameof(client)); + + return GetMockableMachineLearningArmClient(client).GetMachineLearningWorkspaceConnectionResource(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. + /// To mock this method, please mock instead. /// /// - /// The instance the method will execute against. - /// Name of Azure Machine Learning workspace. - /// The cancellation token to use. - /// or is null. - /// is an empty string, and was expected to be non-empty. - [ForwardsClientCalls] - public static Response GetMachineLearningWorkspace(this ResourceGroupResource resourceGroupResource, string workspaceName, CancellationToken cancellationToken = default) + /// The instance the method will execute against. + /// The resource ID of the resource to get. + /// is null. + /// Returns a object. + public static MachineLearningOutboundRuleBasicResource GetMachineLearningOutboundRuleBasicResource(this ArmClient client, ResourceIdentifier id) { - Argument.AssertNotNull(resourceGroupResource, nameof(resourceGroupResource)); + Argument.AssertNotNull(client, nameof(client)); - return GetMockableMachineLearningResourceGroupResource(resourceGroupResource).GetMachineLearningWorkspace(workspaceName, cancellationToken); + return GetMockableMachineLearningArmClient(client).GetMachineLearningOutboundRuleBasicResource(id); } /// @@ -980,15 +887,32 @@ public static Response GetMachineLearningRegist } /// - /// Lists all the available machine learning workspaces under the specified subscription. + /// Gets a collection of MachineLearningWorkspaceResources in the ResourceGroupResource. + /// + /// Mocking + /// To mock this method, please mock instead. + /// + /// + /// The instance the method will execute against. + /// is null. + /// An object representing collection of MachineLearningWorkspaceResources and their operations over a MachineLearningWorkspaceResource. + public static MachineLearningWorkspaceCollection GetMachineLearningWorkspaces(this ResourceGroupResource resourceGroupResource) + { + Argument.AssertNotNull(resourceGroupResource, nameof(resourceGroupResource)); + + return GetMockableMachineLearningResourceGroupResource(resourceGroupResource).GetMachineLearningWorkspaces(); + } + + /// + /// Gets the properties of the specified machine learning workspace. /// /// /// Request Path - /// /subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName} /// /// /// Operation Id - /// Workspaces_ListBySubscription + /// Workspaces_Get /// /// /// Default Api Version @@ -1001,31 +925,32 @@ public static Response GetMachineLearningRegist /// /// /// Mocking - /// To mock this method, please mock instead. + /// To mock this method, please mock instead. /// /// - /// The instance the method will execute against. - /// Continuation token for pagination. + /// The instance the method will execute against. + /// Name of Azure Machine Learning workspace. /// The cancellation token to use. - /// is null. - /// An async collection of that may take multiple service requests to iterate over. - public static AsyncPageable GetMachineLearningWorkspacesAsync(this SubscriptionResource subscriptionResource, string skip = null, CancellationToken cancellationToken = default) + /// or is null. + /// is an empty string, and was expected to be non-empty. + [ForwardsClientCalls] + public static async Task> GetMachineLearningWorkspaceAsync(this ResourceGroupResource resourceGroupResource, string workspaceName, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource)); + Argument.AssertNotNull(resourceGroupResource, nameof(resourceGroupResource)); - return GetMockableMachineLearningSubscriptionResource(subscriptionResource).GetMachineLearningWorkspacesAsync(skip, cancellationToken); + return await GetMockableMachineLearningResourceGroupResource(resourceGroupResource).GetMachineLearningWorkspaceAsync(workspaceName, cancellationToken).ConfigureAwait(false); } /// - /// Lists all the available machine learning workspaces under the specified subscription. + /// Gets the properties of the specified machine learning workspace. /// /// /// Request Path - /// /subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName} /// /// /// Operation Id - /// Workspaces_ListBySubscription + /// Workspaces_Get /// /// /// Default Api Version @@ -1038,19 +963,20 @@ public static AsyncPageable GetMachineLearning /// /// /// Mocking - /// To mock this method, please mock instead. + /// To mock this method, please mock instead. /// /// - /// The instance the method will execute against. - /// Continuation token for pagination. + /// The instance the method will execute against. + /// Name of Azure Machine Learning workspace. /// The cancellation token to use. - /// is null. - /// A collection of that may take multiple service requests to iterate over. - public static Pageable GetMachineLearningWorkspaces(this SubscriptionResource subscriptionResource, string skip = null, CancellationToken cancellationToken = default) + /// or is null. + /// is an empty string, and was expected to be non-empty. + [ForwardsClientCalls] + public static Response GetMachineLearningWorkspace(this ResourceGroupResource resourceGroupResource, string workspaceName, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource)); + Argument.AssertNotNull(resourceGroupResource, nameof(resourceGroupResource)); - return GetMockableMachineLearningSubscriptionResource(subscriptionResource).GetMachineLearningWorkspaces(skip, cancellationToken); + return GetMockableMachineLearningResourceGroupResource(resourceGroupResource).GetMachineLearningWorkspace(workspaceName, cancellationToken); } /// @@ -1390,5 +1316,79 @@ public static Pageable GetMachineLearningRegist return GetMockableMachineLearningSubscriptionResource(subscriptionResource).GetMachineLearningRegistries(cancellationToken); } + + /// + /// Lists all the available machine learning workspaces under the specified subscription. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces + /// + /// + /// Operation Id + /// Workspaces_ListBySubscription + /// + /// + /// Default Api Version + /// 2024-04-01 + /// + /// + /// Resource + /// + /// + /// + /// + /// Mocking + /// To mock this method, please mock instead. + /// + /// + /// The instance the method will execute against. + /// Continuation token for pagination. + /// The cancellation token to use. + /// is null. + /// An async collection of that may take multiple service requests to iterate over. + public static AsyncPageable GetMachineLearningWorkspacesAsync(this SubscriptionResource subscriptionResource, string skip = null, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource)); + + return GetMockableMachineLearningSubscriptionResource(subscriptionResource).GetMachineLearningWorkspacesAsync(skip, cancellationToken); + } + + /// + /// Lists all the available machine learning workspaces under the specified subscription. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces + /// + /// + /// Operation Id + /// Workspaces_ListBySubscription + /// + /// + /// Default Api Version + /// 2024-04-01 + /// + /// + /// Resource + /// + /// + /// + /// + /// Mocking + /// To mock this method, please mock instead. + /// + /// + /// The instance the method will execute against. + /// Continuation token for pagination. + /// The cancellation token to use. + /// is null. + /// A collection of that may take multiple service requests to iterate over. + public static Pageable GetMachineLearningWorkspaces(this SubscriptionResource subscriptionResource, string skip = null, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource)); + + return GetMockableMachineLearningSubscriptionResource(subscriptionResource).GetMachineLearningWorkspaces(skip, cancellationToken); + } } } diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Extensions/MockableMachineLearningArmClient.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Extensions/MockableMachineLearningArmClient.cs index 71905cf28aa80..230d7493ddad4 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Extensions/MockableMachineLearningArmClient.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Extensions/MockableMachineLearningArmClient.cs @@ -34,18 +34,6 @@ private string GetApiVersionOrNull(ResourceType resourceType) return apiVersion; } - /// - /// 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 MachineLearningWorkspaceResource GetMachineLearningWorkspaceResource(ResourceIdentifier id) - { - MachineLearningWorkspaceResource.ValidateResourceId(id); - return new MachineLearningWorkspaceResource(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. @@ -58,42 +46,6 @@ public virtual MachineLearningComputeResource GetMachineLearningComputeResource( return new MachineLearningComputeResource(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 MachineLearningPrivateEndpointConnectionResource GetMachineLearningPrivateEndpointConnectionResource(ResourceIdentifier id) - { - MachineLearningPrivateEndpointConnectionResource.ValidateResourceId(id); - return new MachineLearningPrivateEndpointConnectionResource(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 MachineLearningWorkspaceConnectionResource GetMachineLearningWorkspaceConnectionResource(ResourceIdentifier id) - { - MachineLearningWorkspaceConnectionResource.ValidateResourceId(id); - return new MachineLearningWorkspaceConnectionResource(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 MachineLearningOutboundRuleBasicResource GetMachineLearningOutboundRuleBasicResource(ResourceIdentifier id) - { - MachineLearningOutboundRuleBasicResource.ValidateResourceId(id); - return new MachineLearningOutboundRuleBasicResource(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. @@ -513,5 +465,53 @@ public virtual MachineLearningRegistryResource GetMachineLearningRegistryResourc MachineLearningRegistryResource.ValidateResourceId(id); return new MachineLearningRegistryResource(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 MachineLearningWorkspaceResource GetMachineLearningWorkspaceResource(ResourceIdentifier id) + { + MachineLearningWorkspaceResource.ValidateResourceId(id); + return new MachineLearningWorkspaceResource(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 MachineLearningPrivateEndpointConnectionResource GetMachineLearningPrivateEndpointConnectionResource(ResourceIdentifier id) + { + MachineLearningPrivateEndpointConnectionResource.ValidateResourceId(id); + return new MachineLearningPrivateEndpointConnectionResource(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 MachineLearningWorkspaceConnectionResource GetMachineLearningWorkspaceConnectionResource(ResourceIdentifier id) + { + MachineLearningWorkspaceConnectionResource.ValidateResourceId(id); + return new MachineLearningWorkspaceConnectionResource(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 MachineLearningOutboundRuleBasicResource GetMachineLearningOutboundRuleBasicResource(ResourceIdentifier id) + { + MachineLearningOutboundRuleBasicResource.ValidateResourceId(id); + return new MachineLearningOutboundRuleBasicResource(Client, id); + } } } diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Extensions/MockableMachineLearningResourceGroupResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Extensions/MockableMachineLearningResourceGroupResource.cs index f76739261eadb..1a6069824a86f 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Extensions/MockableMachineLearningResourceGroupResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Extensions/MockableMachineLearningResourceGroupResource.cs @@ -33,23 +33,23 @@ private string GetApiVersionOrNull(ResourceType resourceType) return apiVersion; } - /// Gets a collection of MachineLearningWorkspaceResources in the ResourceGroupResource. - /// An object representing collection of MachineLearningWorkspaceResources and their operations over a MachineLearningWorkspaceResource. - public virtual MachineLearningWorkspaceCollection GetMachineLearningWorkspaces() + /// Gets a collection of MachineLearningRegistryResources in the ResourceGroupResource. + /// An object representing collection of MachineLearningRegistryResources and their operations over a MachineLearningRegistryResource. + public virtual MachineLearningRegistryCollection GetMachineLearningRegistries() { - return GetCachedClient(client => new MachineLearningWorkspaceCollection(client, Id)); + return GetCachedClient(client => new MachineLearningRegistryCollection(client, Id)); } /// - /// Gets the properties of the specified machine learning workspace. + /// Get registry /// /// /// Request Path - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName} + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName} /// /// /// Operation Id - /// Workspaces_Get + /// Registries_Get /// /// /// Default Api Version @@ -57,30 +57,30 @@ public virtual MachineLearningWorkspaceCollection GetMachineLearningWorkspaces() /// /// /// Resource - /// + /// /// /// /// - /// Name of Azure Machine Learning workspace. + /// Name of Azure Machine Learning registry. This is case-insensitive. /// The cancellation token to use. - /// is null. - /// is an empty string, and was expected to be non-empty. + /// is null. + /// is an empty string, and was expected to be non-empty. [ForwardsClientCalls] - public virtual async Task> GetMachineLearningWorkspaceAsync(string workspaceName, CancellationToken cancellationToken = default) + public virtual async Task> GetMachineLearningRegistryAsync(string registryName, CancellationToken cancellationToken = default) { - return await GetMachineLearningWorkspaces().GetAsync(workspaceName, cancellationToken).ConfigureAwait(false); + return await GetMachineLearningRegistries().GetAsync(registryName, cancellationToken).ConfigureAwait(false); } /// - /// Gets the properties of the specified machine learning workspace. + /// Get registry /// /// /// Request Path - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName} + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName} /// /// /// Operation Id - /// Workspaces_Get + /// Registries_Get /// /// /// Default Api Version @@ -88,37 +88,37 @@ public virtual async Task> GetMachine /// /// /// Resource - /// + /// /// /// /// - /// Name of Azure Machine Learning workspace. + /// Name of Azure Machine Learning registry. This is case-insensitive. /// The cancellation token to use. - /// is null. - /// is an empty string, and was expected to be non-empty. + /// is null. + /// is an empty string, and was expected to be non-empty. [ForwardsClientCalls] - public virtual Response GetMachineLearningWorkspace(string workspaceName, CancellationToken cancellationToken = default) + public virtual Response GetMachineLearningRegistry(string registryName, CancellationToken cancellationToken = default) { - return GetMachineLearningWorkspaces().Get(workspaceName, cancellationToken); + return GetMachineLearningRegistries().Get(registryName, cancellationToken); } - /// Gets a collection of MachineLearningRegistryResources in the ResourceGroupResource. - /// An object representing collection of MachineLearningRegistryResources and their operations over a MachineLearningRegistryResource. - public virtual MachineLearningRegistryCollection GetMachineLearningRegistries() + /// Gets a collection of MachineLearningWorkspaceResources in the ResourceGroupResource. + /// An object representing collection of MachineLearningWorkspaceResources and their operations over a MachineLearningWorkspaceResource. + public virtual MachineLearningWorkspaceCollection GetMachineLearningWorkspaces() { - return GetCachedClient(client => new MachineLearningRegistryCollection(client, Id)); + return GetCachedClient(client => new MachineLearningWorkspaceCollection(client, Id)); } /// - /// Get registry + /// Gets the properties of the specified machine learning workspace. /// /// /// Request Path - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName} + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName} /// /// /// Operation Id - /// Registries_Get + /// Workspaces_Get /// /// /// Default Api Version @@ -126,30 +126,30 @@ public virtual MachineLearningRegistryCollection GetMachineLearningRegistries() /// /// /// Resource - /// + /// /// /// /// - /// Name of Azure Machine Learning registry. This is case-insensitive. + /// Name of Azure Machine Learning workspace. /// The cancellation token to use. - /// is null. - /// is an empty string, and was expected to be non-empty. + /// is null. + /// is an empty string, and was expected to be non-empty. [ForwardsClientCalls] - public virtual async Task> GetMachineLearningRegistryAsync(string registryName, CancellationToken cancellationToken = default) + public virtual async Task> GetMachineLearningWorkspaceAsync(string workspaceName, CancellationToken cancellationToken = default) { - return await GetMachineLearningRegistries().GetAsync(registryName, cancellationToken).ConfigureAwait(false); + return await GetMachineLearningWorkspaces().GetAsync(workspaceName, cancellationToken).ConfigureAwait(false); } /// - /// Get registry + /// Gets the properties of the specified machine learning workspace. /// /// /// Request Path - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName} + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName} /// /// /// Operation Id - /// Registries_Get + /// Workspaces_Get /// /// /// Default Api Version @@ -157,18 +157,18 @@ public virtual async Task> GetMachineL /// /// /// Resource - /// + /// /// /// /// - /// Name of Azure Machine Learning registry. This is case-insensitive. + /// Name of Azure Machine Learning workspace. /// The cancellation token to use. - /// is null. - /// is an empty string, and was expected to be non-empty. + /// is null. + /// is an empty string, and was expected to be non-empty. [ForwardsClientCalls] - public virtual Response GetMachineLearningRegistry(string registryName, CancellationToken cancellationToken = default) + public virtual Response GetMachineLearningWorkspace(string workspaceName, CancellationToken cancellationToken = default) { - return GetMachineLearningRegistries().Get(registryName, cancellationToken); + return GetMachineLearningWorkspaces().Get(workspaceName, cancellationToken); } } } diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Extensions/MockableMachineLearningSubscriptionResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Extensions/MockableMachineLearningSubscriptionResource.cs index 776af233036b6..f467ddf1d8e97 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Extensions/MockableMachineLearningSubscriptionResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Extensions/MockableMachineLearningSubscriptionResource.cs @@ -17,8 +17,6 @@ namespace Azure.ResourceManager.MachineLearning.Mocking /// A class to add extension methods to SubscriptionResource. public partial class MockableMachineLearningSubscriptionResource : ArmResource { - private ClientDiagnostics _machineLearningWorkspaceWorkspacesClientDiagnostics; - private WorkspacesRestOperations _machineLearningWorkspaceWorkspacesRestClient; private ClientDiagnostics _usagesClientDiagnostics; private UsagesRestOperations _usagesRestClient; private ClientDiagnostics _virtualMachineSizesClientDiagnostics; @@ -27,6 +25,8 @@ public partial class MockableMachineLearningSubscriptionResource : ArmResource private QuotasRestOperations _quotasRestClient; private ClientDiagnostics _machineLearningRegistryRegistriesClientDiagnostics; private RegistriesRestOperations _machineLearningRegistryRegistriesRestClient; + private ClientDiagnostics _machineLearningWorkspaceWorkspacesClientDiagnostics; + private WorkspacesRestOperations _machineLearningWorkspaceWorkspacesRestClient; /// Initializes a new instance of the class for mocking. protected MockableMachineLearningSubscriptionResource() @@ -40,8 +40,6 @@ internal MockableMachineLearningSubscriptionResource(ArmClient client, ResourceI { } - private ClientDiagnostics MachineLearningWorkspaceWorkspacesClientDiagnostics => _machineLearningWorkspaceWorkspacesClientDiagnostics ??= new ClientDiagnostics("Azure.ResourceManager.MachineLearning", MachineLearningWorkspaceResource.ResourceType.Namespace, Diagnostics); - private WorkspacesRestOperations MachineLearningWorkspaceWorkspacesRestClient => _machineLearningWorkspaceWorkspacesRestClient ??= new WorkspacesRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint, GetApiVersionOrNull(MachineLearningWorkspaceResource.ResourceType)); private ClientDiagnostics UsagesClientDiagnostics => _usagesClientDiagnostics ??= new ClientDiagnostics("Azure.ResourceManager.MachineLearning", ProviderConstants.DefaultProviderNamespace, Diagnostics); private UsagesRestOperations UsagesRestClient => _usagesRestClient ??= new UsagesRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint); private ClientDiagnostics VirtualMachineSizesClientDiagnostics => _virtualMachineSizesClientDiagnostics ??= new ClientDiagnostics("Azure.ResourceManager.MachineLearning", ProviderConstants.DefaultProviderNamespace, Diagnostics); @@ -50,6 +48,8 @@ internal MockableMachineLearningSubscriptionResource(ArmClient client, ResourceI private QuotasRestOperations QuotasRestClient => _quotasRestClient ??= new QuotasRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint); private ClientDiagnostics MachineLearningRegistryRegistriesClientDiagnostics => _machineLearningRegistryRegistriesClientDiagnostics ??= new ClientDiagnostics("Azure.ResourceManager.MachineLearning", MachineLearningRegistryResource.ResourceType.Namespace, Diagnostics); private RegistriesRestOperations MachineLearningRegistryRegistriesRestClient => _machineLearningRegistryRegistriesRestClient ??= new RegistriesRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint, GetApiVersionOrNull(MachineLearningRegistryResource.ResourceType)); + private ClientDiagnostics MachineLearningWorkspaceWorkspacesClientDiagnostics => _machineLearningWorkspaceWorkspacesClientDiagnostics ??= new ClientDiagnostics("Azure.ResourceManager.MachineLearning", MachineLearningWorkspaceResource.ResourceType.Namespace, Diagnostics); + private WorkspacesRestOperations MachineLearningWorkspaceWorkspacesRestClient => _machineLearningWorkspaceWorkspacesRestClient ??= new WorkspacesRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint, GetApiVersionOrNull(MachineLearningWorkspaceResource.ResourceType)); private string GetApiVersionOrNull(ResourceType resourceType) { @@ -57,68 +57,6 @@ private string GetApiVersionOrNull(ResourceType resourceType) return apiVersion; } - /// - /// Lists all the available machine learning workspaces under the specified subscription. - /// - /// - /// Request Path - /// /subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces - /// - /// - /// Operation Id - /// Workspaces_ListBySubscription - /// - /// - /// Default Api Version - /// 2024-04-01 - /// - /// - /// Resource - /// - /// - /// - /// - /// Continuation token for pagination. - /// The cancellation token to use. - /// An async collection of that may take multiple service requests to iterate over. - public virtual AsyncPageable GetMachineLearningWorkspacesAsync(string skip = null, CancellationToken cancellationToken = default) - { - HttpMessage FirstPageRequest(int? pageSizeHint) => MachineLearningWorkspaceWorkspacesRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId, skip); - HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => MachineLearningWorkspaceWorkspacesRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId, skip); - return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => new MachineLearningWorkspaceResource(Client, MachineLearningWorkspaceData.DeserializeMachineLearningWorkspaceData(e)), MachineLearningWorkspaceWorkspacesClientDiagnostics, Pipeline, "MockableMachineLearningSubscriptionResource.GetMachineLearningWorkspaces", "value", "nextLink", cancellationToken); - } - - /// - /// Lists all the available machine learning workspaces under the specified subscription. - /// - /// - /// Request Path - /// /subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces - /// - /// - /// Operation Id - /// Workspaces_ListBySubscription - /// - /// - /// Default Api Version - /// 2024-04-01 - /// - /// - /// Resource - /// - /// - /// - /// - /// Continuation token for pagination. - /// The cancellation token to use. - /// A collection of that may take multiple service requests to iterate over. - public virtual Pageable GetMachineLearningWorkspaces(string skip = null, CancellationToken cancellationToken = default) - { - HttpMessage FirstPageRequest(int? pageSizeHint) => MachineLearningWorkspaceWorkspacesRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId, skip); - HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => MachineLearningWorkspaceWorkspacesRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId, skip); - return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => new MachineLearningWorkspaceResource(Client, MachineLearningWorkspaceData.DeserializeMachineLearningWorkspaceData(e)), MachineLearningWorkspaceWorkspacesClientDiagnostics, Pipeline, "MockableMachineLearningSubscriptionResource.GetMachineLearningWorkspaces", "value", "nextLink", cancellationToken); - } - /// /// Gets the current usage information as well as limits for AML resources for given subscription and location. /// @@ -398,5 +336,67 @@ public virtual Pageable GetMachineLearningRegis HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => MachineLearningRegistryRegistriesRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId); return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => new MachineLearningRegistryResource(Client, MachineLearningRegistryData.DeserializeMachineLearningRegistryData(e)), MachineLearningRegistryRegistriesClientDiagnostics, Pipeline, "MockableMachineLearningSubscriptionResource.GetMachineLearningRegistries", "value", "nextLink", cancellationToken); } + + /// + /// Lists all the available machine learning workspaces under the specified subscription. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces + /// + /// + /// Operation Id + /// Workspaces_ListBySubscription + /// + /// + /// Default Api Version + /// 2024-04-01 + /// + /// + /// Resource + /// + /// + /// + /// + /// Continuation token for pagination. + /// The cancellation token to use. + /// An async collection of that may take multiple service requests to iterate over. + public virtual AsyncPageable GetMachineLearningWorkspacesAsync(string skip = null, CancellationToken cancellationToken = default) + { + HttpMessage FirstPageRequest(int? pageSizeHint) => MachineLearningWorkspaceWorkspacesRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId, skip); + HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => MachineLearningWorkspaceWorkspacesRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId, skip); + return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => new MachineLearningWorkspaceResource(Client, MachineLearningWorkspaceData.DeserializeMachineLearningWorkspaceData(e)), MachineLearningWorkspaceWorkspacesClientDiagnostics, Pipeline, "MockableMachineLearningSubscriptionResource.GetMachineLearningWorkspaces", "value", "nextLink", cancellationToken); + } + + /// + /// Lists all the available machine learning workspaces under the specified subscription. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces + /// + /// + /// Operation Id + /// Workspaces_ListBySubscription + /// + /// + /// Default Api Version + /// 2024-04-01 + /// + /// + /// Resource + /// + /// + /// + /// + /// Continuation token for pagination. + /// The cancellation token to use. + /// A collection of that may take multiple service requests to iterate over. + public virtual Pageable GetMachineLearningWorkspaces(string skip = null, CancellationToken cancellationToken = default) + { + HttpMessage FirstPageRequest(int? pageSizeHint) => MachineLearningWorkspaceWorkspacesRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId, skip); + HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => MachineLearningWorkspaceWorkspacesRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId, skip); + return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => new MachineLearningWorkspaceResource(Client, MachineLearningWorkspaceData.DeserializeMachineLearningWorkspaceData(e)), MachineLearningWorkspaceWorkspacesClientDiagnostics, Pipeline, "MockableMachineLearningSubscriptionResource.GetMachineLearningWorkspaces", "value", "nextLink", cancellationToken); + } } } diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/MachineLearningWorkspaceResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/MachineLearningWorkspaceResource.cs index 8139893a54798..7b7d9a9c7f1af 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/MachineLearningWorkspaceResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/MachineLearningWorkspaceResource.cs @@ -38,12 +38,12 @@ public static ResourceIdentifier CreateResourceIdentifier(string subscriptionId, private readonly ClientDiagnostics _machineLearningWorkspaceWorkspacesClientDiagnostics; private readonly WorkspacesRestOperations _machineLearningWorkspaceWorkspacesRestClient; + private readonly ClientDiagnostics _workspaceFeaturesClientDiagnostics; + private readonly WorkspaceFeaturesRestOperations _workspaceFeaturesRestClient; private readonly ClientDiagnostics _privateLinkResourcesClientDiagnostics; private readonly PrivateLinkResourcesRestOperations _privateLinkResourcesRestClient; private readonly ClientDiagnostics _managedNetworkProvisionsClientDiagnostics; private readonly ManagedNetworkProvisionsRestOperations _managedNetworkProvisionsRestClient; - private readonly ClientDiagnostics _workspaceFeaturesClientDiagnostics; - private readonly WorkspaceFeaturesRestOperations _workspaceFeaturesRestClient; private readonly MachineLearningWorkspaceData _data; /// Gets the resource type for the operations. @@ -71,12 +71,12 @@ internal MachineLearningWorkspaceResource(ArmClient client, ResourceIdentifier i _machineLearningWorkspaceWorkspacesClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.MachineLearning", ResourceType.Namespace, Diagnostics); TryGetApiVersion(ResourceType, out string machineLearningWorkspaceWorkspacesApiVersion); _machineLearningWorkspaceWorkspacesRestClient = new WorkspacesRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint, machineLearningWorkspaceWorkspacesApiVersion); + _workspaceFeaturesClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.MachineLearning", ProviderConstants.DefaultProviderNamespace, Diagnostics); + _workspaceFeaturesRestClient = new WorkspaceFeaturesRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint); _privateLinkResourcesClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.MachineLearning", ProviderConstants.DefaultProviderNamespace, Diagnostics); _privateLinkResourcesRestClient = new PrivateLinkResourcesRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint); _managedNetworkProvisionsClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.MachineLearning", ProviderConstants.DefaultProviderNamespace, Diagnostics); _managedNetworkProvisionsRestClient = new ManagedNetworkProvisionsRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint); - _workspaceFeaturesClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.MachineLearning", ProviderConstants.DefaultProviderNamespace, Diagnostics); - _workspaceFeaturesRestClient = new WorkspaceFeaturesRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint); #if DEBUG ValidateResourceId(Id); #endif @@ -172,211 +172,6 @@ public virtual Response GetMachineLearningComput return GetMachineLearningComputes().Get(computeName, cancellationToken); } - /// Gets a collection of MachineLearningPrivateEndpointConnectionResources in the MachineLearningWorkspace. - /// An object representing collection of MachineLearningPrivateEndpointConnectionResources and their operations over a MachineLearningPrivateEndpointConnectionResource. - public virtual MachineLearningPrivateEndpointConnectionCollection GetMachineLearningPrivateEndpointConnections() - { - return GetCachedClient(client => new MachineLearningPrivateEndpointConnectionCollection(client, Id)); - } - - /// - /// Gets the specified private endpoint connection associated with the workspace. - /// - /// - /// Request Path - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName} - /// - /// - /// Operation Id - /// PrivateEndpointConnections_Get - /// - /// - /// Default Api Version - /// 2024-04-01 - /// - /// - /// Resource - /// - /// - /// - /// - /// The name of the private endpoint connection associated with the workspace. - /// The cancellation token to use. - /// is null. - /// is an empty string, and was expected to be non-empty. - [ForwardsClientCalls] - public virtual async Task> GetMachineLearningPrivateEndpointConnectionAsync(string privateEndpointConnectionName, CancellationToken cancellationToken = default) - { - return await GetMachineLearningPrivateEndpointConnections().GetAsync(privateEndpointConnectionName, cancellationToken).ConfigureAwait(false); - } - - /// - /// Gets the specified private endpoint connection associated with the workspace. - /// - /// - /// Request Path - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName} - /// - /// - /// Operation Id - /// PrivateEndpointConnections_Get - /// - /// - /// Default Api Version - /// 2024-04-01 - /// - /// - /// Resource - /// - /// - /// - /// - /// The name of the private endpoint connection associated with the workspace. - /// The cancellation token to use. - /// is null. - /// is an empty string, and was expected to be non-empty. - [ForwardsClientCalls] - public virtual Response GetMachineLearningPrivateEndpointConnection(string privateEndpointConnectionName, CancellationToken cancellationToken = default) - { - return GetMachineLearningPrivateEndpointConnections().Get(privateEndpointConnectionName, cancellationToken); - } - - /// Gets a collection of MachineLearningWorkspaceConnectionResources in the MachineLearningWorkspace. - /// An object representing collection of MachineLearningWorkspaceConnectionResources and their operations over a MachineLearningWorkspaceConnectionResource. - public virtual MachineLearningWorkspaceConnectionCollection GetMachineLearningWorkspaceConnections() - { - return GetCachedClient(client => new MachineLearningWorkspaceConnectionCollection(client, Id)); - } - - /// - /// - /// - /// Request Path - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName} - /// - /// - /// Operation Id - /// WorkspaceConnections_Get - /// - /// - /// Default Api Version - /// 2024-04-01 - /// - /// - /// Resource - /// - /// - /// - /// - /// Friendly name of the workspace connection. - /// The cancellation token to use. - /// is null. - /// is an empty string, and was expected to be non-empty. - [ForwardsClientCalls] - public virtual async Task> GetMachineLearningWorkspaceConnectionAsync(string connectionName, CancellationToken cancellationToken = default) - { - return await GetMachineLearningWorkspaceConnections().GetAsync(connectionName, cancellationToken).ConfigureAwait(false); - } - - /// - /// - /// - /// Request Path - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName} - /// - /// - /// Operation Id - /// WorkspaceConnections_Get - /// - /// - /// Default Api Version - /// 2024-04-01 - /// - /// - /// Resource - /// - /// - /// - /// - /// Friendly name of the workspace connection. - /// The cancellation token to use. - /// is null. - /// is an empty string, and was expected to be non-empty. - [ForwardsClientCalls] - public virtual Response GetMachineLearningWorkspaceConnection(string connectionName, CancellationToken cancellationToken = default) - { - return GetMachineLearningWorkspaceConnections().Get(connectionName, cancellationToken); - } - - /// Gets a collection of MachineLearningOutboundRuleBasicResources in the MachineLearningWorkspace. - /// An object representing collection of MachineLearningOutboundRuleBasicResources and their operations over a MachineLearningOutboundRuleBasicResource. - public virtual MachineLearningOutboundRuleBasicCollection GetMachineLearningOutboundRuleBasics() - { - return GetCachedClient(client => new MachineLearningOutboundRuleBasicCollection(client, Id)); - } - - /// - /// Gets an outbound rule from the managed network of a machine learning workspace. - /// - /// - /// Request Path - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundRules/{ruleName} - /// - /// - /// Operation Id - /// ManagedNetworkSettingsRule_Get - /// - /// - /// Default Api Version - /// 2024-04-01 - /// - /// - /// Resource - /// - /// - /// - /// - /// Name of the workspace managed network outbound rule. - /// The cancellation token to use. - /// is null. - /// is an empty string, and was expected to be non-empty. - [ForwardsClientCalls] - public virtual async Task> GetMachineLearningOutboundRuleBasicAsync(string ruleName, CancellationToken cancellationToken = default) - { - return await GetMachineLearningOutboundRuleBasics().GetAsync(ruleName, cancellationToken).ConfigureAwait(false); - } - - /// - /// Gets an outbound rule from the managed network of a machine learning workspace. - /// - /// - /// Request Path - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundRules/{ruleName} - /// - /// - /// Operation Id - /// ManagedNetworkSettingsRule_Get - /// - /// - /// Default Api Version - /// 2024-04-01 - /// - /// - /// Resource - /// - /// - /// - /// - /// Name of the workspace managed network outbound rule. - /// The cancellation token to use. - /// is null. - /// is an empty string, and was expected to be non-empty. - [ForwardsClientCalls] - public virtual Response GetMachineLearningOutboundRuleBasic(string ruleName, CancellationToken cancellationToken = default) - { - return GetMachineLearningOutboundRuleBasics().Get(ruleName, cancellationToken); - } - /// Gets a collection of MachineLearningCodeContainerResources in the MachineLearningWorkspace. /// An object representing collection of MachineLearningCodeContainerResources and their operations over a MachineLearningCodeContainerResource. public virtual MachineLearningCodeContainerCollection GetMachineLearningCodeContainers() @@ -1091,30 +886,237 @@ public virtual MachineLearningMarketplaceSubscriptionCollection GetMachineLearni /// /// /// Resource - /// + /// + /// + /// + /// + /// Container name. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + [ForwardsClientCalls] + public virtual async Task> GetMachineLearningMarketplaceSubscriptionAsync(string name, CancellationToken cancellationToken = default) + { + return await GetMachineLearningMarketplaceSubscriptions().GetAsync(name, cancellationToken).ConfigureAwait(false); + } + + /// + /// Get container. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/marketplaceSubscriptions/{name} + /// + /// + /// Operation Id + /// MarketplaceSubscriptions_Get + /// + /// + /// Default Api Version + /// 2024-04-01 + /// + /// + /// Resource + /// + /// + /// + /// + /// Container name. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + [ForwardsClientCalls] + public virtual Response GetMachineLearningMarketplaceSubscription(string name, CancellationToken cancellationToken = default) + { + return GetMachineLearningMarketplaceSubscriptions().Get(name, cancellationToken); + } + + /// Gets a collection of MachineLearningOnlineEndpointResources in the MachineLearningWorkspace. + /// An object representing collection of MachineLearningOnlineEndpointResources and their operations over a MachineLearningOnlineEndpointResource. + public virtual MachineLearningOnlineEndpointCollection GetMachineLearningOnlineEndpoints() + { + return GetCachedClient(client => new MachineLearningOnlineEndpointCollection(client, Id)); + } + + /// + /// Get Online Endpoint. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName} + /// + /// + /// Operation Id + /// OnlineEndpoints_Get + /// + /// + /// Default Api Version + /// 2024-04-01 + /// + /// + /// Resource + /// + /// + /// + /// + /// Online Endpoint name. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + [ForwardsClientCalls] + public virtual async Task> GetMachineLearningOnlineEndpointAsync(string endpointName, CancellationToken cancellationToken = default) + { + return await GetMachineLearningOnlineEndpoints().GetAsync(endpointName, cancellationToken).ConfigureAwait(false); + } + + /// + /// Get Online Endpoint. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName} + /// + /// + /// Operation Id + /// OnlineEndpoints_Get + /// + /// + /// Default Api Version + /// 2024-04-01 + /// + /// + /// Resource + /// + /// + /// + /// + /// Online Endpoint name. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + [ForwardsClientCalls] + public virtual Response GetMachineLearningOnlineEndpoint(string endpointName, CancellationToken cancellationToken = default) + { + return GetMachineLearningOnlineEndpoints().Get(endpointName, cancellationToken); + } + + /// Gets a collection of MachineLearningScheduleResources in the MachineLearningWorkspace. + /// An object representing collection of MachineLearningScheduleResources and their operations over a MachineLearningScheduleResource. + public virtual MachineLearningScheduleCollection GetMachineLearningSchedules() + { + return GetCachedClient(client => new MachineLearningScheduleCollection(client, Id)); + } + + /// + /// Get schedule. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/schedules/{name} + /// + /// + /// Operation Id + /// Schedules_Get + /// + /// + /// Default Api Version + /// 2024-04-01 + /// + /// + /// Resource + /// + /// + /// + /// + /// Schedule name. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + [ForwardsClientCalls] + public virtual async Task> GetMachineLearningScheduleAsync(string name, CancellationToken cancellationToken = default) + { + return await GetMachineLearningSchedules().GetAsync(name, cancellationToken).ConfigureAwait(false); + } + + /// + /// Get schedule. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/schedules/{name} + /// + /// + /// Operation Id + /// Schedules_Get + /// + /// + /// Default Api Version + /// 2024-04-01 + /// + /// + /// Resource + /// + /// + /// + /// + /// Schedule name. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + [ForwardsClientCalls] + public virtual Response GetMachineLearningSchedule(string name, CancellationToken cancellationToken = default) + { + return GetMachineLearningSchedules().Get(name, cancellationToken); + } + + /// Gets a collection of MachineLearningServerlessEndpointResources in the MachineLearningWorkspace. + /// An object representing collection of MachineLearningServerlessEndpointResources and their operations over a MachineLearningServerlessEndpointResource. + public virtual MachineLearningServerlessEndpointCollection GetMachineLearningServerlessEndpoints() + { + return GetCachedClient(client => new MachineLearningServerlessEndpointCollection(client, Id)); + } + + /// + /// Get Serverless Endpoint. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/serverlessEndpoints/{name} + /// + /// + /// Operation Id + /// ServerlessEndpoints_Get + /// + /// + /// Default Api Version + /// 2024-04-01 + /// + /// + /// Resource + /// /// /// /// - /// Container name. + /// Serverless Endpoint name. /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. [ForwardsClientCalls] - public virtual async Task> GetMachineLearningMarketplaceSubscriptionAsync(string name, CancellationToken cancellationToken = default) + public virtual async Task> GetMachineLearningServerlessEndpointAsync(string name, CancellationToken cancellationToken = default) { - return await GetMachineLearningMarketplaceSubscriptions().GetAsync(name, cancellationToken).ConfigureAwait(false); + return await GetMachineLearningServerlessEndpoints().GetAsync(name, cancellationToken).ConfigureAwait(false); } /// - /// Get container. + /// Get Serverless Endpoint. /// /// /// Request Path - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/marketplaceSubscriptions/{name} + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/serverlessEndpoints/{name} /// /// /// Operation Id - /// MarketplaceSubscriptions_Get + /// ServerlessEndpoints_Get /// /// /// Default Api Version @@ -1122,37 +1124,37 @@ public virtual async Task /// /// Resource - /// + /// /// /// /// - /// Container name. + /// Serverless Endpoint name. /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. [ForwardsClientCalls] - public virtual Response GetMachineLearningMarketplaceSubscription(string name, CancellationToken cancellationToken = default) + public virtual Response GetMachineLearningServerlessEndpoint(string name, CancellationToken cancellationToken = default) { - return GetMachineLearningMarketplaceSubscriptions().Get(name, cancellationToken); + return GetMachineLearningServerlessEndpoints().Get(name, cancellationToken); } - /// Gets a collection of MachineLearningOnlineEndpointResources in the MachineLearningWorkspace. - /// An object representing collection of MachineLearningOnlineEndpointResources and their operations over a MachineLearningOnlineEndpointResource. - public virtual MachineLearningOnlineEndpointCollection GetMachineLearningOnlineEndpoints() + /// Gets a collection of MachineLearningPrivateEndpointConnectionResources in the MachineLearningWorkspace. + /// An object representing collection of MachineLearningPrivateEndpointConnectionResources and their operations over a MachineLearningPrivateEndpointConnectionResource. + public virtual MachineLearningPrivateEndpointConnectionCollection GetMachineLearningPrivateEndpointConnections() { - return GetCachedClient(client => new MachineLearningOnlineEndpointCollection(client, Id)); + return GetCachedClient(client => new MachineLearningPrivateEndpointConnectionCollection(client, Id)); } /// - /// Get Online Endpoint. + /// Gets the specified private endpoint connection associated with the workspace. /// /// /// Request Path - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName} + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName} /// /// /// Operation Id - /// OnlineEndpoints_Get + /// PrivateEndpointConnections_Get /// /// /// Default Api Version @@ -1160,30 +1162,30 @@ public virtual MachineLearningOnlineEndpointCollection GetMachineLearningOnlineE /// /// /// Resource - /// + /// /// /// /// - /// Online Endpoint name. + /// The name of the private endpoint connection associated with the workspace. /// The cancellation token to use. - /// is null. - /// is an empty string, and was expected to be non-empty. + /// is null. + /// is an empty string, and was expected to be non-empty. [ForwardsClientCalls] - public virtual async Task> GetMachineLearningOnlineEndpointAsync(string endpointName, CancellationToken cancellationToken = default) + public virtual async Task> GetMachineLearningPrivateEndpointConnectionAsync(string privateEndpointConnectionName, CancellationToken cancellationToken = default) { - return await GetMachineLearningOnlineEndpoints().GetAsync(endpointName, cancellationToken).ConfigureAwait(false); + return await GetMachineLearningPrivateEndpointConnections().GetAsync(privateEndpointConnectionName, cancellationToken).ConfigureAwait(false); } /// - /// Get Online Endpoint. + /// Gets the specified private endpoint connection associated with the workspace. /// /// /// Request Path - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName} + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName} /// /// /// Operation Id - /// OnlineEndpoints_Get + /// PrivateEndpointConnections_Get /// /// /// Default Api Version @@ -1191,37 +1193,36 @@ public virtual async Task> GetMa /// /// /// Resource - /// + /// /// /// /// - /// Online Endpoint name. + /// The name of the private endpoint connection associated with the workspace. /// The cancellation token to use. - /// is null. - /// is an empty string, and was expected to be non-empty. + /// is null. + /// is an empty string, and was expected to be non-empty. [ForwardsClientCalls] - public virtual Response GetMachineLearningOnlineEndpoint(string endpointName, CancellationToken cancellationToken = default) + public virtual Response GetMachineLearningPrivateEndpointConnection(string privateEndpointConnectionName, CancellationToken cancellationToken = default) { - return GetMachineLearningOnlineEndpoints().Get(endpointName, cancellationToken); + return GetMachineLearningPrivateEndpointConnections().Get(privateEndpointConnectionName, cancellationToken); } - /// Gets a collection of MachineLearningScheduleResources in the MachineLearningWorkspace. - /// An object representing collection of MachineLearningScheduleResources and their operations over a MachineLearningScheduleResource. - public virtual MachineLearningScheduleCollection GetMachineLearningSchedules() + /// Gets a collection of MachineLearningWorkspaceConnectionResources in the MachineLearningWorkspace. + /// An object representing collection of MachineLearningWorkspaceConnectionResources and their operations over a MachineLearningWorkspaceConnectionResource. + public virtual MachineLearningWorkspaceConnectionCollection GetMachineLearningWorkspaceConnections() { - return GetCachedClient(client => new MachineLearningScheduleCollection(client, Id)); + return GetCachedClient(client => new MachineLearningWorkspaceConnectionCollection(client, Id)); } /// - /// Get schedule. /// /// /// Request Path - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/schedules/{name} + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName} /// /// /// Operation Id - /// Schedules_Get + /// WorkspaceConnections_Get /// /// /// Default Api Version @@ -1229,30 +1230,29 @@ public virtual MachineLearningScheduleCollection GetMachineLearningSchedules() /// /// /// Resource - /// + /// /// /// /// - /// Schedule name. + /// Friendly name of the workspace connection. /// The cancellation token to use. - /// is null. - /// is an empty string, and was expected to be non-empty. + /// is null. + /// is an empty string, and was expected to be non-empty. [ForwardsClientCalls] - public virtual async Task> GetMachineLearningScheduleAsync(string name, CancellationToken cancellationToken = default) + public virtual async Task> GetMachineLearningWorkspaceConnectionAsync(string connectionName, CancellationToken cancellationToken = default) { - return await GetMachineLearningSchedules().GetAsync(name, cancellationToken).ConfigureAwait(false); + return await GetMachineLearningWorkspaceConnections().GetAsync(connectionName, cancellationToken).ConfigureAwait(false); } /// - /// Get schedule. /// /// /// Request Path - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/schedules/{name} + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName} /// /// /// Operation Id - /// Schedules_Get + /// WorkspaceConnections_Get /// /// /// Default Api Version @@ -1260,37 +1260,37 @@ public virtual async Task> GetMachineL /// /// /// Resource - /// + /// /// /// /// - /// Schedule name. + /// Friendly name of the workspace connection. /// The cancellation token to use. - /// is null. - /// is an empty string, and was expected to be non-empty. + /// is null. + /// is an empty string, and was expected to be non-empty. [ForwardsClientCalls] - public virtual Response GetMachineLearningSchedule(string name, CancellationToken cancellationToken = default) + public virtual Response GetMachineLearningWorkspaceConnection(string connectionName, CancellationToken cancellationToken = default) { - return GetMachineLearningSchedules().Get(name, cancellationToken); + return GetMachineLearningWorkspaceConnections().Get(connectionName, cancellationToken); } - /// Gets a collection of MachineLearningServerlessEndpointResources in the MachineLearningWorkspace. - /// An object representing collection of MachineLearningServerlessEndpointResources and their operations over a MachineLearningServerlessEndpointResource. - public virtual MachineLearningServerlessEndpointCollection GetMachineLearningServerlessEndpoints() + /// Gets a collection of MachineLearningOutboundRuleBasicResources in the MachineLearningWorkspace. + /// An object representing collection of MachineLearningOutboundRuleBasicResources and their operations over a MachineLearningOutboundRuleBasicResource. + public virtual MachineLearningOutboundRuleBasicCollection GetMachineLearningOutboundRuleBasics() { - return GetCachedClient(client => new MachineLearningServerlessEndpointCollection(client, Id)); + return GetCachedClient(client => new MachineLearningOutboundRuleBasicCollection(client, Id)); } /// - /// Get Serverless Endpoint. + /// Gets an outbound rule from the managed network of a machine learning workspace. /// /// /// Request Path - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/serverlessEndpoints/{name} + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundRules/{ruleName} /// /// /// Operation Id - /// ServerlessEndpoints_Get + /// ManagedNetworkSettingsRule_Get /// /// /// Default Api Version @@ -1298,30 +1298,30 @@ public virtual MachineLearningServerlessEndpointCollection GetMachineLearningSer /// /// /// Resource - /// + /// /// /// /// - /// Serverless Endpoint name. + /// Name of the workspace managed network outbound rule. /// The cancellation token to use. - /// is null. - /// is an empty string, and was expected to be non-empty. + /// is null. + /// is an empty string, and was expected to be non-empty. [ForwardsClientCalls] - public virtual async Task> GetMachineLearningServerlessEndpointAsync(string name, CancellationToken cancellationToken = default) + public virtual async Task> GetMachineLearningOutboundRuleBasicAsync(string ruleName, CancellationToken cancellationToken = default) { - return await GetMachineLearningServerlessEndpoints().GetAsync(name, cancellationToken).ConfigureAwait(false); + return await GetMachineLearningOutboundRuleBasics().GetAsync(ruleName, cancellationToken).ConfigureAwait(false); } /// - /// Get Serverless Endpoint. + /// Gets an outbound rule from the managed network of a machine learning workspace. /// /// /// Request Path - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/serverlessEndpoints/{name} + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundRules/{ruleName} /// /// /// Operation Id - /// ServerlessEndpoints_Get + /// ManagedNetworkSettingsRule_Get /// /// /// Default Api Version @@ -1329,18 +1329,18 @@ public virtual async Task> G /// /// /// Resource - /// + /// /// /// /// - /// Serverless Endpoint name. + /// Name of the workspace managed network outbound rule. /// The cancellation token to use. - /// is null. - /// is an empty string, and was expected to be non-empty. + /// is null. + /// is an empty string, and was expected to be non-empty. [ForwardsClientCalls] - public virtual Response GetMachineLearningServerlessEndpoint(string name, CancellationToken cancellationToken = default) + public virtual Response GetMachineLearningOutboundRuleBasic(string ruleName, CancellationToken cancellationToken = default) { - return GetMachineLearningServerlessEndpoints().Get(name, cancellationToken); + return GetMachineLearningOutboundRuleBasics().Get(ruleName, cancellationToken); } /// @@ -1601,6 +1601,58 @@ public virtual ArmOperation Update(WaitUntil w } } + /// + /// Lists all enabled features for a workspace + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/features + /// + /// + /// Operation Id + /// WorkspaceFeatures_List + /// + /// + /// Default Api Version + /// 2024-04-01 + /// + /// + /// + /// The cancellation token to use. + /// An async collection of that may take multiple service requests to iterate over. + public virtual AsyncPageable GetWorkspaceFeaturesAsync(CancellationToken cancellationToken = default) + { + HttpMessage FirstPageRequest(int? pageSizeHint) => _workspaceFeaturesRestClient.CreateListRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Name); + HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => _workspaceFeaturesRestClient.CreateListNextPageRequest(nextLink, Id.SubscriptionId, Id.ResourceGroupName, Id.Name); + return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => MachineLearningUserFeature.DeserializeMachineLearningUserFeature(e), _workspaceFeaturesClientDiagnostics, Pipeline, "MachineLearningWorkspaceResource.GetWorkspaceFeatures", "value", "nextLink", cancellationToken); + } + + /// + /// Lists all enabled features for a workspace + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/features + /// + /// + /// Operation Id + /// WorkspaceFeatures_List + /// + /// + /// Default Api Version + /// 2024-04-01 + /// + /// + /// + /// The cancellation token to use. + /// A collection of that may take multiple service requests to iterate over. + public virtual Pageable GetWorkspaceFeatures(CancellationToken cancellationToken = default) + { + HttpMessage FirstPageRequest(int? pageSizeHint) => _workspaceFeaturesRestClient.CreateListRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Name); + HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => _workspaceFeaturesRestClient.CreateListNextPageRequest(nextLink, Id.SubscriptionId, Id.ResourceGroupName, Id.Name); + return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => MachineLearningUserFeature.DeserializeMachineLearningUserFeature(e), _workspaceFeaturesClientDiagnostics, Pipeline, "MachineLearningWorkspaceResource.GetWorkspaceFeatures", "value", "nextLink", cancellationToken); + } + /// /// Diagnose workspace setup issue. /// @@ -2345,58 +2397,6 @@ public virtual ArmOperation ProvisionManagedNetwo } } - /// - /// Lists all enabled features for a workspace - /// - /// - /// Request Path - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/features - /// - /// - /// Operation Id - /// WorkspaceFeatures_List - /// - /// - /// Default Api Version - /// 2024-04-01 - /// - /// - /// - /// The cancellation token to use. - /// An async collection of that may take multiple service requests to iterate over. - public virtual AsyncPageable GetWorkspaceFeaturesAsync(CancellationToken cancellationToken = default) - { - HttpMessage FirstPageRequest(int? pageSizeHint) => _workspaceFeaturesRestClient.CreateListRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Name); - HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => _workspaceFeaturesRestClient.CreateListNextPageRequest(nextLink, Id.SubscriptionId, Id.ResourceGroupName, Id.Name); - return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => MachineLearningUserFeature.DeserializeMachineLearningUserFeature(e), _workspaceFeaturesClientDiagnostics, Pipeline, "MachineLearningWorkspaceResource.GetWorkspaceFeatures", "value", "nextLink", cancellationToken); - } - - /// - /// Lists all enabled features for a workspace - /// - /// - /// Request Path - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/features - /// - /// - /// Operation Id - /// WorkspaceFeatures_List - /// - /// - /// Default Api Version - /// 2024-04-01 - /// - /// - /// - /// The cancellation token to use. - /// A collection of that may take multiple service requests to iterate over. - public virtual Pageable GetWorkspaceFeatures(CancellationToken cancellationToken = default) - { - HttpMessage FirstPageRequest(int? pageSizeHint) => _workspaceFeaturesRestClient.CreateListRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Name); - HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => _workspaceFeaturesRestClient.CreateListNextPageRequest(nextLink, Id.SubscriptionId, Id.ResourceGroupName, Id.Name); - return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => MachineLearningUserFeature.DeserializeMachineLearningUserFeature(e), _workspaceFeaturesClientDiagnostics, Pipeline, "MachineLearningWorkspaceResource.GetWorkspaceFeatures", "value", "nextLink", cancellationToken); - } - /// /// Add a tag to the current resource. /// diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/MachineLearningProvisioningState.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/MachineLearningProvisioningState.cs index 3ffe6c444aba5..3973b99cf78a5 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/MachineLearningProvisioningState.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/MachineLearningProvisioningState.cs @@ -10,7 +10,7 @@ namespace Azure.ResourceManager.MachineLearning.Models { - /// The current deployment state of workspace resource. The provisioningState is to indicate states for resource provisioning. + /// The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed. public readonly partial struct MachineLearningProvisioningState : IEquatable { private readonly string _value; diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/RegistryAcrDetails.Serialization.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/RegistryAcrDetails.Serialization.cs index b88c9e0a61ad3..baca17dd056bb 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/RegistryAcrDetails.Serialization.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/RegistryAcrDetails.Serialization.cs @@ -47,18 +47,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WriteNull("systemCreatedAcrAccount"); } } - if (Optional.IsDefined(UserCreatedAcrAccount)) - { - if (UserCreatedAcrAccount != null) - { - writer.WritePropertyName("userCreatedAcrAccount"u8); - writer.WriteObjectValue(UserCreatedAcrAccount, options); - } - else - { - writer.WriteNull("userCreatedAcrAccount"); - } - } if (options.Format != "W" && _serializedAdditionalRawData != null) { foreach (var item in _serializedAdditionalRawData) @@ -97,7 +85,6 @@ internal static RegistryAcrDetails DeserializeRegistryAcrDetails(JsonElement ele return null; } SystemCreatedAcrAccount systemCreatedAcrAccount = default; - UserCreatedAcrAccount userCreatedAcrAccount = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) @@ -112,23 +99,13 @@ internal static RegistryAcrDetails DeserializeRegistryAcrDetails(JsonElement ele systemCreatedAcrAccount = SystemCreatedAcrAccount.DeserializeSystemCreatedAcrAccount(property.Value, options); continue; } - if (property.NameEquals("userCreatedAcrAccount"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - userCreatedAcrAccount = null; - continue; - } - userCreatedAcrAccount = UserCreatedAcrAccount.DeserializeUserCreatedAcrAccount(property.Value, options); - continue; - } if (options.Format != "W") { rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); } } serializedAdditionalRawData = rawDataDictionary; - return new RegistryAcrDetails(systemCreatedAcrAccount, userCreatedAcrAccount, serializedAdditionalRawData); + return new RegistryAcrDetails(systemCreatedAcrAccount, serializedAdditionalRawData); } private BinaryData SerializeBicep(ModelReaderWriterOptions options) @@ -157,26 +134,6 @@ private BinaryData SerializeBicep(ModelReaderWriterOptions options) } } - hasPropertyOverride = hasObjectOverride && propertyOverrides.TryGetValue("ArmResourceId", out propertyOverride); - if (hasPropertyOverride) - { - builder.Append(" userCreatedAcrAccount: "); - builder.AppendLine("{"); - builder.AppendLine(" armResourceId: {"); - builder.Append(" resourceId: "); - builder.AppendLine(propertyOverride); - builder.AppendLine(" }"); - builder.AppendLine(" }"); - } - else - { - if (Optional.IsDefined(UserCreatedAcrAccount)) - { - builder.Append(" userCreatedAcrAccount: "); - BicepSerializationHelpers.AppendChildObject(builder, UserCreatedAcrAccount, options, 2, false, " userCreatedAcrAccount: "); - } - } - builder.AppendLine("}"); return BinaryData.FromString(builder.ToString()); } diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/RegistryAcrDetails.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/RegistryAcrDetails.cs index 282c0fa695a20..2b28f2c27ed03 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/RegistryAcrDetails.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/RegistryAcrDetails.cs @@ -7,7 +7,6 @@ using System; using System.Collections.Generic; -using Azure.Core; namespace Azure.ResourceManager.MachineLearning.Models { @@ -53,34 +52,15 @@ public RegistryAcrDetails() /// Initializes a new instance of . /// Details of system created ACR account to be used for the Registry. - /// Details of user created ACR account to be used for the Registry. /// Keeps track of any properties unknown to the library. - internal RegistryAcrDetails(SystemCreatedAcrAccount systemCreatedAcrAccount, UserCreatedAcrAccount userCreatedAcrAccount, IDictionary serializedAdditionalRawData) + internal RegistryAcrDetails(SystemCreatedAcrAccount systemCreatedAcrAccount, IDictionary serializedAdditionalRawData) { SystemCreatedAcrAccount = systemCreatedAcrAccount; - UserCreatedAcrAccount = userCreatedAcrAccount; _serializedAdditionalRawData = serializedAdditionalRawData; } /// Details of system created ACR account to be used for the Registry. [WirePath("systemCreatedAcrAccount")] public SystemCreatedAcrAccount SystemCreatedAcrAccount { get; set; } - /// Details of user created ACR account to be used for the Registry. - internal UserCreatedAcrAccount UserCreatedAcrAccount { get; set; } - /// - /// Arm ResourceId is in the format "/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Storage/storageAccounts/{StorageAccountName}" - /// or "/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{AcrName}" - /// - [WirePath("userCreatedAcrAccount.armResourceId.resourceId")] - public ResourceIdentifier ArmResourceId - { - get => UserCreatedAcrAccount is null ? default : UserCreatedAcrAccount.ArmResourceId; - set - { - if (UserCreatedAcrAccount is null) - UserCreatedAcrAccount = new UserCreatedAcrAccount(); - UserCreatedAcrAccount.ArmResourceId = value; - } - } } } diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/StorageAccountDetails.Serialization.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/StorageAccountDetails.Serialization.cs index c465261d69b55..b36cd00823902 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/StorageAccountDetails.Serialization.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/StorageAccountDetails.Serialization.cs @@ -47,18 +47,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WriteNull("systemCreatedStorageAccount"); } } - if (Optional.IsDefined(UserCreatedStorageAccount)) - { - if (UserCreatedStorageAccount != null) - { - writer.WritePropertyName("userCreatedStorageAccount"u8); - writer.WriteObjectValue(UserCreatedStorageAccount, options); - } - else - { - writer.WriteNull("userCreatedStorageAccount"); - } - } if (options.Format != "W" && _serializedAdditionalRawData != null) { foreach (var item in _serializedAdditionalRawData) @@ -97,7 +85,6 @@ internal static StorageAccountDetails DeserializeStorageAccountDetails(JsonEleme return null; } SystemCreatedStorageAccount systemCreatedStorageAccount = default; - UserCreatedStorageAccount userCreatedStorageAccount = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) @@ -112,23 +99,13 @@ internal static StorageAccountDetails DeserializeStorageAccountDetails(JsonEleme systemCreatedStorageAccount = SystemCreatedStorageAccount.DeserializeSystemCreatedStorageAccount(property.Value, options); continue; } - if (property.NameEquals("userCreatedStorageAccount"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - userCreatedStorageAccount = null; - continue; - } - userCreatedStorageAccount = UserCreatedStorageAccount.DeserializeUserCreatedStorageAccount(property.Value, options); - continue; - } if (options.Format != "W") { rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); } } serializedAdditionalRawData = rawDataDictionary; - return new StorageAccountDetails(systemCreatedStorageAccount, userCreatedStorageAccount, serializedAdditionalRawData); + return new StorageAccountDetails(systemCreatedStorageAccount, serializedAdditionalRawData); } private BinaryData SerializeBicep(ModelReaderWriterOptions options) @@ -157,26 +134,6 @@ private BinaryData SerializeBicep(ModelReaderWriterOptions options) } } - hasPropertyOverride = hasObjectOverride && propertyOverrides.TryGetValue("ArmResourceId", out propertyOverride); - if (hasPropertyOverride) - { - builder.Append(" userCreatedStorageAccount: "); - builder.AppendLine("{"); - builder.AppendLine(" armResourceId: {"); - builder.Append(" resourceId: "); - builder.AppendLine(propertyOverride); - builder.AppendLine(" }"); - builder.AppendLine(" }"); - } - else - { - if (Optional.IsDefined(UserCreatedStorageAccount)) - { - builder.Append(" userCreatedStorageAccount: "); - BicepSerializationHelpers.AppendChildObject(builder, UserCreatedStorageAccount, options, 2, false, " userCreatedStorageAccount: "); - } - } - builder.AppendLine("}"); return BinaryData.FromString(builder.ToString()); } diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/StorageAccountDetails.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/StorageAccountDetails.cs index 0be556527be50..5db0d1fedb23c 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/StorageAccountDetails.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/StorageAccountDetails.cs @@ -7,7 +7,6 @@ using System; using System.Collections.Generic; -using Azure.Core; namespace Azure.ResourceManager.MachineLearning.Models { @@ -53,34 +52,15 @@ public StorageAccountDetails() /// Initializes a new instance of . /// Details of system created storage account to be used for the registry. - /// Details of user created storage account to be used for the registry. /// Keeps track of any properties unknown to the library. - internal StorageAccountDetails(SystemCreatedStorageAccount systemCreatedStorageAccount, UserCreatedStorageAccount userCreatedStorageAccount, IDictionary serializedAdditionalRawData) + internal StorageAccountDetails(SystemCreatedStorageAccount systemCreatedStorageAccount, IDictionary serializedAdditionalRawData) { SystemCreatedStorageAccount = systemCreatedStorageAccount; - UserCreatedStorageAccount = userCreatedStorageAccount; _serializedAdditionalRawData = serializedAdditionalRawData; } /// Details of system created storage account to be used for the registry. [WirePath("systemCreatedStorageAccount")] public SystemCreatedStorageAccount SystemCreatedStorageAccount { get; set; } - /// Details of user created storage account to be used for the registry. - internal UserCreatedStorageAccount UserCreatedStorageAccount { get; set; } - /// - /// Arm ResourceId is in the format "/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Storage/storageAccounts/{StorageAccountName}" - /// or "/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{AcrName}" - /// - [WirePath("userCreatedStorageAccount.armResourceId.resourceId")] - public ResourceIdentifier ArmResourceId - { - get => UserCreatedStorageAccount is null ? default : UserCreatedStorageAccount.ArmResourceId; - set - { - if (UserCreatedStorageAccount is null) - UserCreatedStorageAccount = new UserCreatedStorageAccount(); - UserCreatedStorageAccount.ArmResourceId = value; - } - } } } diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/UserCreatedAcrAccount.Serialization.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/UserCreatedAcrAccount.Serialization.cs deleted file mode 100644 index a551b46d00006..0000000000000 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/UserCreatedAcrAccount.Serialization.cs +++ /dev/null @@ -1,177 +0,0 @@ -// 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; -using System.Text.Json; -using Azure.Core; - -namespace Azure.ResourceManager.MachineLearning.Models -{ - internal partial class UserCreatedAcrAccount : 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 virtual 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(UserCreatedAcrAccount)} does not support writing '{format}' format."); - } - - if (Optional.IsDefined(ArmResourceIdentifier)) - { - if (ArmResourceIdentifier != null) - { - writer.WritePropertyName("armResourceId"u8); - writer.WriteObjectValue(ArmResourceIdentifier, options); - } - else - { - writer.WriteNull("armResourceId"); - } - } - if (options.Format != "W" && _serializedAdditionalRawData != null) - { - foreach (var item in _serializedAdditionalRawData) - { - writer.WritePropertyName(item.Key); -#if NET6_0_OR_GREATER - writer.WriteRawValue(item.Value); -#else - using (JsonDocument document = JsonDocument.Parse(item.Value)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif - } - } - } - - UserCreatedAcrAccount 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(UserCreatedAcrAccount)} does not support reading '{format}' format."); - } - - using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeUserCreatedAcrAccount(document.RootElement, options); - } - - internal static UserCreatedAcrAccount DeserializeUserCreatedAcrAccount(JsonElement element, ModelReaderWriterOptions options = null) - { - options ??= ModelSerializationExtensions.WireOptions; - - if (element.ValueKind == JsonValueKind.Null) - { - return null; - } - ArmResourceId armResourceId = default; - IDictionary serializedAdditionalRawData = default; - Dictionary rawDataDictionary = new Dictionary(); - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("armResourceId"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - armResourceId = null; - continue; - } - armResourceId = Models.ArmResourceId.DeserializeArmResourceId(property.Value, options); - continue; - } - if (options.Format != "W") - { - rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); - } - } - serializedAdditionalRawData = rawDataDictionary; - return new UserCreatedAcrAccount(armResourceId, serializedAdditionalRawData); - } - - private BinaryData SerializeBicep(ModelReaderWriterOptions options) - { - StringBuilder builder = new StringBuilder(); - BicepModelReaderWriterOptions bicepOptions = options as BicepModelReaderWriterOptions; - IDictionary propertyOverrides = null; - bool hasObjectOverride = bicepOptions != null && bicepOptions.PropertyOverrides.TryGetValue(this, out propertyOverrides); - bool hasPropertyOverride = false; - string propertyOverride = null; - - builder.AppendLine("{"); - - hasPropertyOverride = hasObjectOverride && propertyOverrides.TryGetValue("ArmResourceId", out propertyOverride); - if (hasPropertyOverride) - { - builder.Append(" armResourceId: "); - builder.AppendLine("{"); - builder.Append(" resourceId: "); - builder.AppendLine(propertyOverride); - builder.AppendLine(" }"); - } - else - { - if (Optional.IsDefined(ArmResourceIdentifier)) - { - builder.Append(" armResourceId: "); - BicepSerializationHelpers.AppendChildObject(builder, ArmResourceIdentifier, options, 2, false, " armResourceId: "); - } - } - - builder.AppendLine("}"); - return BinaryData.FromString(builder.ToString()); - } - - 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); - case "bicep": - return SerializeBicep(options); - default: - throw new FormatException($"The model {nameof(UserCreatedAcrAccount)} does not support writing '{options.Format}' format."); - } - } - - UserCreatedAcrAccount 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 DeserializeUserCreatedAcrAccount(document.RootElement, options); - } - default: - throw new FormatException($"The model {nameof(UserCreatedAcrAccount)} does not support reading '{options.Format}' format."); - } - } - - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; - } -} diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/UserCreatedAcrAccount.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/UserCreatedAcrAccount.cs deleted file mode 100644 index 5c3984898162b..0000000000000 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/UserCreatedAcrAccount.cs +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.Collections.Generic; -using Azure.Core; - -namespace Azure.ResourceManager.MachineLearning.Models -{ - /// The UserCreatedAcrAccount. - internal partial class UserCreatedAcrAccount - { - /// - /// 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 . - public UserCreatedAcrAccount() - { - } - - /// Initializes a new instance of . - /// ARM ResourceId of a resource. - /// Keeps track of any properties unknown to the library. - internal UserCreatedAcrAccount(ArmResourceId armResourceIdentifier, IDictionary serializedAdditionalRawData) - { - ArmResourceIdentifier = armResourceIdentifier; - _serializedAdditionalRawData = serializedAdditionalRawData; - } - - /// ARM ResourceId of a resource. - internal ArmResourceId ArmResourceIdentifier { get; set; } - /// - /// Arm ResourceId is in the format "/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Storage/storageAccounts/{StorageAccountName}" - /// or "/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{AcrName}" - /// - [WirePath("armResourceId.resourceId")] - public ResourceIdentifier ArmResourceId - { - get => ArmResourceIdentifier is null ? default : ArmResourceIdentifier.ResourceId; - set - { - if (ArmResourceIdentifier is null) - ArmResourceIdentifier = new ArmResourceId(); - ArmResourceIdentifier.ResourceId = value; - } - } - } -} diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/UserCreatedStorageAccount.Serialization.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/UserCreatedStorageAccount.Serialization.cs deleted file mode 100644 index 6666f120d6e64..0000000000000 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/UserCreatedStorageAccount.Serialization.cs +++ /dev/null @@ -1,177 +0,0 @@ -// 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; -using System.Text.Json; -using Azure.Core; - -namespace Azure.ResourceManager.MachineLearning.Models -{ - internal partial class UserCreatedStorageAccount : 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 virtual 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(UserCreatedStorageAccount)} does not support writing '{format}' format."); - } - - if (Optional.IsDefined(ArmResourceIdentifier)) - { - if (ArmResourceIdentifier != null) - { - writer.WritePropertyName("armResourceId"u8); - writer.WriteObjectValue(ArmResourceIdentifier, options); - } - else - { - writer.WriteNull("armResourceId"); - } - } - if (options.Format != "W" && _serializedAdditionalRawData != null) - { - foreach (var item in _serializedAdditionalRawData) - { - writer.WritePropertyName(item.Key); -#if NET6_0_OR_GREATER - writer.WriteRawValue(item.Value); -#else - using (JsonDocument document = JsonDocument.Parse(item.Value)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif - } - } - } - - UserCreatedStorageAccount 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(UserCreatedStorageAccount)} does not support reading '{format}' format."); - } - - using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeUserCreatedStorageAccount(document.RootElement, options); - } - - internal static UserCreatedStorageAccount DeserializeUserCreatedStorageAccount(JsonElement element, ModelReaderWriterOptions options = null) - { - options ??= ModelSerializationExtensions.WireOptions; - - if (element.ValueKind == JsonValueKind.Null) - { - return null; - } - ArmResourceId armResourceId = default; - IDictionary serializedAdditionalRawData = default; - Dictionary rawDataDictionary = new Dictionary(); - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("armResourceId"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - armResourceId = null; - continue; - } - armResourceId = Models.ArmResourceId.DeserializeArmResourceId(property.Value, options); - continue; - } - if (options.Format != "W") - { - rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); - } - } - serializedAdditionalRawData = rawDataDictionary; - return new UserCreatedStorageAccount(armResourceId, serializedAdditionalRawData); - } - - private BinaryData SerializeBicep(ModelReaderWriterOptions options) - { - StringBuilder builder = new StringBuilder(); - BicepModelReaderWriterOptions bicepOptions = options as BicepModelReaderWriterOptions; - IDictionary propertyOverrides = null; - bool hasObjectOverride = bicepOptions != null && bicepOptions.PropertyOverrides.TryGetValue(this, out propertyOverrides); - bool hasPropertyOverride = false; - string propertyOverride = null; - - builder.AppendLine("{"); - - hasPropertyOverride = hasObjectOverride && propertyOverrides.TryGetValue("ArmResourceId", out propertyOverride); - if (hasPropertyOverride) - { - builder.Append(" armResourceId: "); - builder.AppendLine("{"); - builder.Append(" resourceId: "); - builder.AppendLine(propertyOverride); - builder.AppendLine(" }"); - } - else - { - if (Optional.IsDefined(ArmResourceIdentifier)) - { - builder.Append(" armResourceId: "); - BicepSerializationHelpers.AppendChildObject(builder, ArmResourceIdentifier, options, 2, false, " armResourceId: "); - } - } - - builder.AppendLine("}"); - return BinaryData.FromString(builder.ToString()); - } - - 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); - case "bicep": - return SerializeBicep(options); - default: - throw new FormatException($"The model {nameof(UserCreatedStorageAccount)} does not support writing '{options.Format}' format."); - } - } - - UserCreatedStorageAccount 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 DeserializeUserCreatedStorageAccount(document.RootElement, options); - } - default: - throw new FormatException($"The model {nameof(UserCreatedStorageAccount)} does not support reading '{options.Format}' format."); - } - } - - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; - } -} diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/UserCreatedStorageAccount.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/UserCreatedStorageAccount.cs deleted file mode 100644 index d89690c1ba79a..0000000000000 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/UserCreatedStorageAccount.cs +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.Collections.Generic; -using Azure.Core; - -namespace Azure.ResourceManager.MachineLearning.Models -{ - /// The UserCreatedStorageAccount. - internal partial class UserCreatedStorageAccount - { - /// - /// 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 . - public UserCreatedStorageAccount() - { - } - - /// Initializes a new instance of . - /// ARM ResourceId of a resource. - /// Keeps track of any properties unknown to the library. - internal UserCreatedStorageAccount(ArmResourceId armResourceIdentifier, IDictionary serializedAdditionalRawData) - { - ArmResourceIdentifier = armResourceIdentifier; - _serializedAdditionalRawData = serializedAdditionalRawData; - } - - /// ARM ResourceId of a resource. - internal ArmResourceId ArmResourceIdentifier { get; set; } - /// - /// Arm ResourceId is in the format "/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Storage/storageAccounts/{StorageAccountName}" - /// or "/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{AcrName}" - /// - [WirePath("armResourceId.resourceId")] - public ResourceIdentifier ArmResourceId - { - get => ArmResourceIdentifier is null ? default : ArmResourceIdentifier.ResourceId; - set - { - if (ArmResourceIdentifier is null) - ArmResourceIdentifier = new ArmResourceId(); - ArmResourceIdentifier.ResourceId = value; - } - } - } -} diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/autorest.md b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/autorest.md index 1b04fefd2f17d..d2df9e2180771 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/autorest.md +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/autorest.md @@ -7,7 +7,7 @@ Run `dotnet build /t:GenerateCode` to generate code. azure-arm: true library-name: MachineLearning namespace: Azure.ResourceManager.MachineLearning -require: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/machinelearningservices/resource-manager/readme.md +require: /mnt/vss/_work/1/s/azure-rest-api-specs/specification/machinelearningservices/resource-manager/readme.md tag: package-2024-04 output-folder: $(this-folder)/Generated clear-output-folder: true diff --git a/sdk/machinelearningservices/ci.mgmt.yml b/sdk/machinelearningservices/ci.mgmt.yml index 457299ab20b95..3a99ed224fc24 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 c49cc1565d6d0..94c552b69f26b 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 431d66d1245b1..08c9f3d0ce551 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 aa6b571b04e29..3212ad45bbdeb 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 c8f3a187f9189..c9cd4b0f235af 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 d6c0ccd16eefe..88360bb2defa8 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 52c8e762088ee..6fdd0118e1b9e 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 2f16079cab2e5..7ee4f1ddad3c0 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 e6574bdb30392..42bc8a147b306 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 2b1f8721902e3..c602647fb32d4 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 55656f3ae48b0..201ecc9d995df 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 f5eb354d28e7f..26c079f3d6f5e 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 81c0c2744232c..d342a10a32e04 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 8a68e6749ba77..325154bfbfb76 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 d2eafe7877ddf..10f6e93db8bc9 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 8beeded4e3b9e..5933fd35d9e56 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 e1521b4ed568d..2ba5627ae3fcf 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/neonpostgres/ci.mgmt.yml b/sdk/neonpostgres/ci.mgmt.yml index 72d449fc7a16d..00f734ba72302 100644 --- a/sdk/neonpostgres/ci.mgmt.yml +++ b/sdk/neonpostgres/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/neonpostgres/ci.mgmt.yml - sdk/neonpostgres/Azure.ResourceManager.NeonPostgres/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/neonpostgres/ci.mgmt.yml + - sdk/neonpostgres/Azure.ResourceManager.NeonPostgres/ + 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 05a683e910f5c..5d0a3e7415135 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 edf77de02a498..f69378e6c236b 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 9ece072ce8670..52934a1bad242 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 f6c281af22a94..940f908b8c752 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 a3c743ef532ab..b05cf6e5e1cce 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 d01ef74cd7499..599cfd845f2ce 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 f701b26a561ac..39e047ce00157 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 ba5a26631dd42..8d9f15f7758ba 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 1ab74128b4db7..f2394b80f6b9a 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 d4c3b61dac40b..9e588305c9016 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 ccbd7c096ecf8..760950dbd58a6 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 701576d2fa625..2b2102df1da35 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 77dca48de9ef9..6348d3109683b 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 4d3d67e739490..cfef409531ee0 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 79addf69162cf..b6422b373563e 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 56fa5c3ead85a..c0fa9e7dd9173 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 77dbaed301ba3..08dff06cd11f9 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 414f2b8ef0a91..951d3e8d04348 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 86401f2f96755..31c567bfe4089 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 2c7f6ca61d3f0..3de6a7f30b80e 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 226718ca583ce..d5961aa8833aa 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 8562320fa7c7e..6ee02d7799bdb 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 e89c4bea0e703..fe6e1fa253d36 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 f1f545ad13f15..9409730d342e5 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 5edfd823e3c05..402121c0f72c6 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 2e3966d67a889..143f2e0317c30 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/ci.mgmt.yml b/sdk/recoveryservices-siterecovery/ci.mgmt.yml index bded800f3ee2b..3a8a3179d5a53 100644 --- a/sdk/recoveryservices-siterecovery/ci.mgmt.yml +++ b/sdk/recoveryservices-siterecovery/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-siterecovery/ci.mgmt.yml - sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/recoveryservices-siterecovery/ci.mgmt.yml + - sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/recoveryservices/ci.mgmt.yml b/sdk/recoveryservices/ci.mgmt.yml index 0e7e6985f21cf..d4a5e482dfa7d 100644 --- a/sdk/recoveryservices/ci.mgmt.yml +++ b/sdk/recoveryservices/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/ci.mgmt.yml - sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/recoveryservices/ci.mgmt.yml + - sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/redis/ci.mgmt.yml b/sdk/redis/ci.mgmt.yml index 9e68453225804..dfc71e356b877 100644 --- a/sdk/redis/ci.mgmt.yml +++ b/sdk/redis/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/redis/ci.mgmt.yml - sdk/redis/Azure.ResourceManager.Redis/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/redis/ci.mgmt.yml + - sdk/redis/Azure.ResourceManager.Redis/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/redisenterprise/ci.mgmt.yml b/sdk/redisenterprise/ci.mgmt.yml index 93641cfe39839..294ec0377bdfb 100644 --- a/sdk/redisenterprise/ci.mgmt.yml +++ b/sdk/redisenterprise/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/redisenterprise/ci.mgmt.yml - sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/redisenterprise/ci.mgmt.yml + - sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/relay/ci.mgmt.yml b/sdk/relay/ci.mgmt.yml index b69a1efbd0f96..fc5a3764ebb54 100644 --- a/sdk/relay/ci.mgmt.yml +++ b/sdk/relay/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/relay/ci.mgmt.yml - sdk/relay/Azure.ResourceManager.Relay/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/relay/ci.mgmt.yml + - sdk/relay/Azure.ResourceManager.Relay/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/reservations/ci.mgmt.yml b/sdk/reservations/ci.mgmt.yml index c46c8c69cd2e3..8effbcdd44249 100644 --- a/sdk/reservations/ci.mgmt.yml +++ b/sdk/reservations/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/reservations/ci.mgmt.yml - sdk/reservations/Azure.ResourceManager.Reservations/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/reservations/ci.mgmt.yml + - sdk/reservations/Azure.ResourceManager.Reservations/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/resourceconnector/ci.mgmt.yml b/sdk/resourceconnector/ci.mgmt.yml index 81269b9113c70..149f1805dab45 100644 --- a/sdk/resourceconnector/ci.mgmt.yml +++ b/sdk/resourceconnector/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/resourceconnector/ci.mgmt.yml - sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/resourceconnector/ci.mgmt.yml + - sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/resourcegraph/ci.mgmt.yml b/sdk/resourcegraph/ci.mgmt.yml index 5abe050f7709b..27656bcd16c28 100644 --- a/sdk/resourcegraph/ci.mgmt.yml +++ b/sdk/resourcegraph/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/resourcegraph/ci.mgmt.yml - sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/resourcegraph/ci.mgmt.yml + - sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/resourcehealth/ci.mgmt.yml b/sdk/resourcehealth/ci.mgmt.yml index fb0a27171a692..bf3868346c7b8 100644 --- a/sdk/resourcehealth/ci.mgmt.yml +++ b/sdk/resourcehealth/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/resourcehealth/ci.mgmt.yml - sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/resourcehealth/ci.mgmt.yml + - sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/resourcemover/ci.mgmt.yml b/sdk/resourcemover/ci.mgmt.yml index 519b8a4319268..bbb814c6a4f00 100644 --- a/sdk/resourcemover/ci.mgmt.yml +++ b/sdk/resourcemover/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/resourcemover/ci.mgmt.yml - sdk/resourcemover/Azure.ResourceManager.ResourceMover/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/resourcemover/ci.mgmt.yml + - sdk/resourcemover/Azure.ResourceManager.ResourceMover/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/resources/ci.mgmt.yml b/sdk/resources/ci.mgmt.yml index 3fefd5254c859..ff65cb96d07df 100644 --- a/sdk/resources/ci.mgmt.yml +++ b/sdk/resources/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/resources/ci.mgmt.yml - sdk/resources/Azure.ResourceManager.Resources/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/resources/ci.mgmt.yml + - sdk/resources/Azure.ResourceManager.Resources/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/search/ci.mgmt.yml b/sdk/search/ci.mgmt.yml index a8c2a632c1c85..63c0e200644f5 100644 --- a/sdk/search/ci.mgmt.yml +++ b/sdk/search/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/search/ci.mgmt.yml - sdk/search/Azure.ResourceManager.Search/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/search/ci.mgmt.yml + - sdk/search/Azure.ResourceManager.Search/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/securitycenter/ci.mgmt.yml b/sdk/securitycenter/ci.mgmt.yml index c728522efab24..6ed8ff4d67a92 100644 --- a/sdk/securitycenter/ci.mgmt.yml +++ b/sdk/securitycenter/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/securitycenter/ci.mgmt.yml - sdk/securitycenter/Azure.ResourceManager.SecurityCenter/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/securitycenter/ci.mgmt.yml + - sdk/securitycenter/Azure.ResourceManager.SecurityCenter/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/securitydevops/ci.mgmt.yml b/sdk/securitydevops/ci.mgmt.yml index c5a54a9ad2065..972d98a7376ec 100644 --- a/sdk/securitydevops/ci.mgmt.yml +++ b/sdk/securitydevops/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/securitydevops/ci.mgmt.yml - sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/securitydevops/ci.mgmt.yml + - sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/securityinsights/ci.mgmt.yml b/sdk/securityinsights/ci.mgmt.yml index f1d428ebef90f..0659cac2858ff 100644 --- a/sdk/securityinsights/ci.mgmt.yml +++ b/sdk/securityinsights/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/securityinsights/ci.mgmt.yml - sdk/securityinsights/Azure.ResourceManager.SecurityInsights/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/securityinsights/ci.mgmt.yml + - sdk/securityinsights/Azure.ResourceManager.SecurityInsights/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/selfhelp/ci.mgmt.yml b/sdk/selfhelp/ci.mgmt.yml index bb6a162210ebc..ac13ec845ce76 100644 --- a/sdk/selfhelp/ci.mgmt.yml +++ b/sdk/selfhelp/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/selfhelp/ci.mgmt.yml - sdk/selfhelp/Azure.ResourceManager.SelfHelp/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/selfhelp/ci.mgmt.yml + - sdk/selfhelp/Azure.ResourceManager.SelfHelp/ + extends: template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/servicebus/ci.mgmt.yml b/sdk/servicebus/ci.mgmt.yml index 02c45dc88e18c..f2ead205ced64 100644 --- a/sdk/servicebus/ci.mgmt.yml +++ b/sdk/servicebus/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/servicebus/ci.mgmt.yml - sdk/servicebus/Azure.ResourceManager.ServiceBus/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/servicebus/ci.mgmt.yml + - sdk/servicebus/Azure.ResourceManager.ServiceBus/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/servicefabric/ci.mgmt.yml b/sdk/servicefabric/ci.mgmt.yml index 430f48c8c87bd..afc886a4f7f29 100644 --- a/sdk/servicefabric/ci.mgmt.yml +++ b/sdk/servicefabric/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/servicefabric/ci.mgmt.yml - sdk/servicefabric/Azure.ResourceManager.ServiceFabric/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/servicefabric/ci.mgmt.yml + - sdk/servicefabric/Azure.ResourceManager.ServiceFabric/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/servicefabricmanagedclusters/ci.mgmt.yml b/sdk/servicefabricmanagedclusters/ci.mgmt.yml index e73289f589f4c..022ac0f03cd10 100644 --- a/sdk/servicefabricmanagedclusters/ci.mgmt.yml +++ b/sdk/servicefabricmanagedclusters/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/servicefabricmanagedclusters/ci.mgmt.yml - sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/servicefabricmanagedclusters/ci.mgmt.yml + - sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/servicelinker/ci.mgmt.yml b/sdk/servicelinker/ci.mgmt.yml index 77df314e977ad..6069e04a31573 100644 --- a/sdk/servicelinker/ci.mgmt.yml +++ b/sdk/servicelinker/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/servicelinker/ci.mgmt.yml - sdk/servicelinker/Azure.ResourceManager.ServiceLinker/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/servicelinker/ci.mgmt.yml + - sdk/servicelinker/Azure.ResourceManager.ServiceLinker/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/servicenetworking/ci.mgmt.yml b/sdk/servicenetworking/ci.mgmt.yml index b2332ae152242..4551f13254758 100644 --- a/sdk/servicenetworking/ci.mgmt.yml +++ b/sdk/servicenetworking/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/servicenetworking/ci.mgmt.yml - sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/servicenetworking/ci.mgmt.yml + - sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/signalr/ci.mgmt.yml b/sdk/signalr/ci.mgmt.yml index c934ed4314fa0..f066849c56a1e 100644 --- a/sdk/signalr/ci.mgmt.yml +++ b/sdk/signalr/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/signalr/ci.mgmt.yml - sdk/signalr/Azure.ResourceManager.SignalR/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/signalr/ci.mgmt.yml + - sdk/signalr/Azure.ResourceManager.SignalR/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/sphere/ci.mgmt.yml b/sdk/sphere/ci.mgmt.yml index f3f33e9d00f4c..749774244735e 100644 --- a/sdk/sphere/ci.mgmt.yml +++ b/sdk/sphere/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/sphere/ci.mgmt.yml - sdk/sphere/Azure.ResourceManager.Sphere/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/sphere/ci.mgmt.yml + - sdk/sphere/Azure.ResourceManager.Sphere/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/springappdiscovery/ci.mgmt.yml b/sdk/springappdiscovery/ci.mgmt.yml index 7676386684dfa..f86c14368089d 100644 --- a/sdk/springappdiscovery/ci.mgmt.yml +++ b/sdk/springappdiscovery/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/springappdiscovery/ci.mgmt.yml - sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/springappdiscovery/ci.mgmt.yml + - sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/sqlmanagement/ci.mgmt.yml b/sdk/sqlmanagement/ci.mgmt.yml index da93d03f2d33c..8377a26636817 100644 --- a/sdk/sqlmanagement/ci.mgmt.yml +++ b/sdk/sqlmanagement/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/sqlmanagement/ci.mgmt.yml - sdk/sqlmanagement/Azure.ResourceManager.Sql/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/sqlmanagement/ci.mgmt.yml + - sdk/sqlmanagement/Azure.ResourceManager.Sql/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/sqlvirtualmachine/ci.mgmt.yml b/sdk/sqlvirtualmachine/ci.mgmt.yml index 28c6192fa86bb..049e315855ed2 100644 --- a/sdk/sqlvirtualmachine/ci.mgmt.yml +++ b/sdk/sqlvirtualmachine/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/sqlvirtualmachine/ci.mgmt.yml - sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/sqlvirtualmachine/ci.mgmt.yml + - sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/standbypool/ci.mgmt.yml b/sdk/standbypool/ci.mgmt.yml index 0763a516e2c10..54ce1137a1237 100644 --- a/sdk/standbypool/ci.mgmt.yml +++ b/sdk/standbypool/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/standbypool/ci.mgmt.yml - sdk/standbypool/Azure.ResourceManager.StandbyPool/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/standbypool/ci.mgmt.yml + - sdk/standbypool/Azure.ResourceManager.StandbyPool/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/storage/ci.mgmt.yml b/sdk/storage/ci.mgmt.yml index 95bc19b325d58..6f05608983be5 100644 --- a/sdk/storage/ci.mgmt.yml +++ b/sdk/storage/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/storage/ci.mgmt.yml - sdk/storage/Azure.ResourceManager.Storage/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/storage/ci.mgmt.yml + - sdk/storage/Azure.ResourceManager.Storage/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/storageactions/ci.mgmt.yml b/sdk/storageactions/ci.mgmt.yml index 27062b4565a8a..b27838343a2ed 100644 --- a/sdk/storageactions/ci.mgmt.yml +++ b/sdk/storageactions/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/storageactions/ci.mgmt.yml - sdk/storageactions/Azure.ResourceManager.StorageActions/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/storageactions/ci.mgmt.yml + - sdk/storageactions/Azure.ResourceManager.StorageActions/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/storagecache/ci.mgmt.yml b/sdk/storagecache/ci.mgmt.yml index c6abf63baf2cd..84c9229409396 100644 --- a/sdk/storagecache/ci.mgmt.yml +++ b/sdk/storagecache/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/storagecache/ci.mgmt.yml - sdk/storagecache/Azure.ResourceManager.StorageCache/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/storagecache/ci.mgmt.yml + - sdk/storagecache/Azure.ResourceManager.StorageCache/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/storagemover/ci.mgmt.yml b/sdk/storagemover/ci.mgmt.yml index e9055f49e1a91..4e45261a60aa9 100644 --- a/sdk/storagemover/ci.mgmt.yml +++ b/sdk/storagemover/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/storagemover/ci.mgmt.yml - sdk/storagemover/Azure.ResourceManager.StorageMover/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/storagemover/ci.mgmt.yml + - sdk/storagemover/Azure.ResourceManager.StorageMover/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/storagepool/ci.mgmt.yml b/sdk/storagepool/ci.mgmt.yml index 2178fc3907573..6592a12a262a3 100644 --- a/sdk/storagepool/ci.mgmt.yml +++ b/sdk/storagepool/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/storagepool/ci.mgmt.yml - sdk/storagepool/Azure.ResourceManager.StoragePool/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/storagepool/ci.mgmt.yml + - sdk/storagepool/Azure.ResourceManager.StoragePool/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/storagesync/ci.mgmt.yml b/sdk/storagesync/ci.mgmt.yml index a8789947c687f..b9fcbb66b30fb 100644 --- a/sdk/storagesync/ci.mgmt.yml +++ b/sdk/storagesync/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/storagesync/ci.mgmt.yml - sdk/storagesync/Azure.ResourceManager.StorageSync/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/storagesync/ci.mgmt.yml + - sdk/storagesync/Azure.ResourceManager.StorageSync/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/streamanalytics/ci.mgmt.yml b/sdk/streamanalytics/ci.mgmt.yml index 09d108a1a7d9e..860cd851bbd15 100644 --- a/sdk/streamanalytics/ci.mgmt.yml +++ b/sdk/streamanalytics/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/streamanalytics/ci.mgmt.yml - sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/streamanalytics/ci.mgmt.yml + - sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/subscription/ci.mgmt.yml b/sdk/subscription/ci.mgmt.yml index f9067b4c0af38..a00a0e9c56ad9 100644 --- a/sdk/subscription/ci.mgmt.yml +++ b/sdk/subscription/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/subscription/ci.mgmt.yml - sdk/subscription/Azure.ResourceManager.Subscription/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/subscription/ci.mgmt.yml + - sdk/subscription/Azure.ResourceManager.Subscription/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/support/ci.mgmt.yml b/sdk/support/ci.mgmt.yml index 5a947c4c49390..d5c857ad83466 100644 --- a/sdk/support/ci.mgmt.yml +++ b/sdk/support/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/support/ci.mgmt.yml - sdk/support/Azure.ResourceManager.Support/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/support/ci.mgmt.yml + - sdk/support/Azure.ResourceManager.Support/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/synapse/ci.mgmt.yml b/sdk/synapse/ci.mgmt.yml index 0a089a5042915..18c8132c48039 100644 --- a/sdk/synapse/ci.mgmt.yml +++ b/sdk/synapse/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/synapse/ci.mgmt.yml - sdk/synapse/Azure.ResourceManager.Synapse/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/synapse/ci.mgmt.yml + - sdk/synapse/Azure.ResourceManager.Synapse/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/terraform/ci.mgmt.yml b/sdk/terraform/ci.mgmt.yml index 82c4c1f05a4c5..5f7b3d41fb27b 100644 --- a/sdk/terraform/ci.mgmt.yml +++ b/sdk/terraform/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/terraform/ci.mgmt.yml - sdk/terraform/Azure.ResourceManager.Terraform/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/terraform/ci.mgmt.yml + - sdk/terraform/Azure.ResourceManager.Terraform/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/trafficmanager/ci.mgmt.yml b/sdk/trafficmanager/ci.mgmt.yml index 528f78b70b969..86b17c08ac4e9 100644 --- a/sdk/trafficmanager/ci.mgmt.yml +++ b/sdk/trafficmanager/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/trafficmanager/ci.mgmt.yml - sdk/trafficmanager/Azure.ResourceManager.TrafficManager/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/trafficmanager/ci.mgmt.yml + - sdk/trafficmanager/Azure.ResourceManager.TrafficManager/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/trustedsigning/ci.mgmt.yml b/sdk/trustedsigning/ci.mgmt.yml index 5b67358a44777..07fb171ee4164 100644 --- a/sdk/trustedsigning/ci.mgmt.yml +++ b/sdk/trustedsigning/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/trustedsigning/ci.mgmt.yml - sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/trustedsigning/ci.mgmt.yml + - sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/voiceservices/ci.mgmt.yml b/sdk/voiceservices/ci.mgmt.yml index a914d1640296a..64ea2eb63c0fc 100644 --- a/sdk/voiceservices/ci.mgmt.yml +++ b/sdk/voiceservices/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/voiceservices/ci.mgmt.yml - sdk/voiceservices/Azure.ResourceManager.VoiceServices/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/voiceservices/ci.mgmt.yml + - sdk/voiceservices/Azure.ResourceManager.VoiceServices/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/webpubsub/ci.mgmt.yml b/sdk/webpubsub/ci.mgmt.yml index 6bcb8439a2b05..a312a96feb5ab 100644 --- a/sdk/webpubsub/ci.mgmt.yml +++ b/sdk/webpubsub/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/webpubsub/ci.mgmt.yml - sdk/webpubsub/Azure.ResourceManager.WebPubSub/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/webpubsub/ci.mgmt.yml + - sdk/webpubsub/Azure.ResourceManager.WebPubSub/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/websites/ci.mgmt.yml b/sdk/websites/ci.mgmt.yml index d67c580bc414e..4dbf184acc87a 100644 --- a/sdk/websites/ci.mgmt.yml +++ b/sdk/websites/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/websites/ci.mgmt.yml - sdk/websites/Azure.ResourceManager.AppService/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/websites/ci.mgmt.yml + - sdk/websites/Azure.ResourceManager.AppService/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/workloadmonitor/ci.mgmt.yml b/sdk/workloadmonitor/ci.mgmt.yml index 7c6a51fbe75c4..e834be340ea9f 100644 --- a/sdk/workloadmonitor/ci.mgmt.yml +++ b/sdk/workloadmonitor/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/workloadmonitor/ci.mgmt.yml - sdk/workloadmonitor/Azure.ResourceManager.WorkloadMonitor/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/workloadmonitor/ci.mgmt.yml + - sdk/workloadmonitor/Azure.ResourceManager.WorkloadMonitor/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/workloads/ci.mgmt.yml b/sdk/workloads/ci.mgmt.yml index e3457d69ceaa9..bf39830534736 100644 --- a/sdk/workloads/ci.mgmt.yml +++ b/sdk/workloads/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/workloads/ci.mgmt.yml - sdk/workloads/Azure.ResourceManager.Workloads/ + + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/workloads/ci.mgmt.yml + - sdk/workloads/Azure.ResourceManager.Workloads/ + extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: