From b415b4bdff3ed5d7389fe8425c8e800ac6fa7191 Mon Sep 17 00:00:00 2001
From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Date: Thu, 8 Apr 2021 21:43:35 -0700
Subject: [PATCH] [Automation] Generate Fluent Lite from frontdoor# (#20491)
* [Automation] External Change
* [Automation] Generate Fluent Lite from frontdoor#
---
eng/versioning/version_client.txt | 1 +
pom.xml | 1 +
.../CHANGELOG.md | 5 +
.../azure-resourcemanager-frontdoor/README.md | 99 ++
.../azure-resourcemanager-frontdoor/pom.xml | 67 +
.../frontdoor/FrontDoorManager.java | 352 ++++
.../frontdoor/fluent/EndpointsClient.java | 82 +
.../frontdoor/fluent/ExperimentsClient.java | 280 +++
.../fluent/FrontDoorManagementClient.java | 124 ++
.../FrontDoorNameAvailabilitiesClient.java | 41 +
...meAvailabilityWithSubscriptionsClient.java | 44 +
.../frontdoor/fluent/FrontDoorsClient.java | 245 +++
.../fluent/FrontendEndpointsClient.java | 212 +++
.../fluent/ManagedRuleSetsClient.java | 36 +
.../NetworkExperimentProfilesClient.java | 265 +++
.../frontdoor/fluent/PoliciesClient.java | 184 ++
.../fluent/PreconfiguredEndpointsClient.java | 41 +
.../frontdoor/fluent/ReportsClient.java | 121 ++
.../frontdoor/fluent/RulesEnginesClient.java | 214 +++
.../CheckNameAvailabilityOutputInner.java | 70 +
.../fluent/models/ExperimentInner.java | 200 +++
.../fluent/models/FrontDoorInner.java | 360 ++++
.../fluent/models/FrontendEndpointInner.java | 264 +++
.../fluent/models/LatencyScorecardInner.java | 197 +++
.../models/ManagedRuleSetDefinitionInner.java | 122 ++
.../models/PreconfiguredEndpointInner.java | 147 ++
.../frontdoor/fluent/models/ProfileInner.java | 112 ++
.../fluent/models/RulesEngineInner.java | 77 +
.../fluent/models/TimeseriesInner.java | 234 +++
.../ValidateCustomDomainOutputInner.java | 69 +
.../WebApplicationFirewallPolicyInner.java | 286 +++
.../frontdoor/fluent/models/package-info.java | 6 +
.../frontdoor/fluent/package-info.java | 6 +
.../CheckNameAvailabilityOutputImpl.java | 42 +
.../implementation/EndpointsClientImpl.java | 361 ++++
.../implementation/EndpointsImpl.java | 43 +
.../implementation/ExperimentImpl.java | 234 +++
.../implementation/ExperimentsClientImpl.java | 1439 ++++++++++++++++
.../implementation/ExperimentsImpl.java | 201 +++
.../implementation/FrontDoorImpl.java | 301 ++++
.../FrontDoorManagementClientBuilder.java | 149 ++
.../FrontDoorManagementClientImpl.java | 440 +++++
...FrontDoorNameAvailabilitiesClientImpl.java | 199 +++
.../FrontDoorNameAvailabilitiesImpl.java | 63 +
...ailabilityWithSubscriptionsClientImpl.java | 226 +++
...NameAvailabilityWithSubscriptionsImpl.java | 65 +
.../implementation/FrontDoorsClientImpl.java | 1457 ++++++++++++++++
.../implementation/FrontDoorsImpl.java | 204 +++
.../implementation/FrontendEndpointImpl.java | 78 +
.../FrontendEndpointsClientImpl.java | 1149 +++++++++++++
.../implementation/FrontendEndpointsImpl.java | 106 ++
.../implementation/LatencyScorecardImpl.java | 99 ++
.../ManagedRuleSetDefinitionImpl.java | 83 +
.../ManagedRuleSetsClientImpl.java | 289 ++++
.../implementation/ManagedRuleSetsImpl.java | 46 +
.../NetworkExperimentProfilesClientImpl.java | 1527 +++++++++++++++++
.../NetworkExperimentProfilesImpl.java | 183 ++
.../implementation/PoliciesClientImpl.java | 1035 +++++++++++
.../implementation/PoliciesImpl.java | 179 ++
.../PreconfiguredEndpointImpl.java | 72 +
.../PreconfiguredEndpointsClientImpl.java | 340 ++++
.../PreconfiguredEndpointsImpl.java | 47 +
.../frontdoor/implementation/ProfileImpl.java | 198 +++
.../implementation/ReportsClientImpl.java | 719 ++++++++
.../frontdoor/implementation/ReportsImpl.java | 150 ++
.../implementation/RulesEngineImpl.java | 143 ++
.../RulesEnginesClientImpl.java | 1167 +++++++++++++
.../implementation/RulesEnginesImpl.java | 189 ++
.../implementation/TimeseriesImpl.java | 91 +
.../frontdoor/implementation/Utils.java | 204 +++
.../ValidateCustomDomainOutputImpl.java | 41 +
.../WebApplicationFirewallPolicyImpl.java | 250 +++
.../implementation/package-info.java | 6 +
.../frontdoor/models/ActionType.java | 40 +
.../frontdoor/models/AggregationInterval.java | 34 +
.../frontdoor/models/Availability.java | 34 +
.../frontdoor/models/Backend.java | 346 ++++
.../frontdoor/models/BackendEnabledState.java | 34 +
.../frontdoor/models/BackendPool.java | 172 ++
.../models/BackendPoolProperties.java | 64 +
.../models/BackendPoolUpdateParameters.java | 107 ++
.../models/BackendPoolsSettings.java | 83 +
.../frontdoor/models/CacheConfiguration.java | 133 ++
.../models/CheckNameAvailabilityInput.java | 86 +
.../models/CheckNameAvailabilityOutput.java | 38 +
.../models/CustomHttpsConfiguration.java | 236 +++
.../models/CustomHttpsProvisioningState.java | 43 +
.../CustomHttpsProvisioningSubstate.java | 63 +
.../frontdoor/models/CustomRule.java | 256 +++
.../models/CustomRuleEnabledState.java | 34 +
.../frontdoor/models/CustomRuleList.java | 54 +
.../models/DynamicCompressionEnabled.java | 34 +
.../frontdoor/models/Endpoint.java | 76 +
.../frontdoor/models/EndpointType.java | 40 +
.../frontdoor/models/Endpoints.java | 40 +
...forceCertificateNameCheckEnabledState.java | 35 +
.../frontdoor/models/Error.java | 158 ++
.../frontdoor/models/ErrorDetails.java | 102 ++
.../frontdoor/models/Experiment.java | 307 ++++
.../frontdoor/models/ExperimentList.java | 73 +
.../models/ExperimentUpdateModel.java | 105 ++
.../frontdoor/models/Experiments.java | 142 ++
.../models/ForwardingConfiguration.java | 143 ++
.../frontdoor/models/FrontDoor.java | 472 +++++
.../models/FrontDoorCertificateSource.java | 34 +
.../models/FrontDoorCertificateType.java | 31 +
.../models/FrontDoorEnabledState.java | 34 +
.../models/FrontDoorForwardingProtocol.java | 37 +
.../models/FrontDoorHealthProbeMethod.java | 34 +
.../frontdoor/models/FrontDoorListResult.java | 73 +
.../models/FrontDoorNameAvailabilities.java | 35 +
...DoorNameAvailabilityWithSubscriptions.java | 35 +
.../frontdoor/models/FrontDoorProperties.java | 163 ++
.../frontdoor/models/FrontDoorProtocol.java | 34 +
.../frontdoor/models/FrontDoorQuery.java | 40 +
.../models/FrontDoorRedirectProtocol.java | 37 +
.../models/FrontDoorRedirectType.java | 40 +
.../models/FrontDoorResourceState.java | 46 +
.../models/FrontDoorTlsProtocolType.java | 31 +
.../models/FrontDoorUpdateParameters.java | 255 +++
.../frontdoor/models/FrontDoors.java | 187 ++
.../frontdoor/models/FrontendEndpoint.java | 98 ++
.../models/FrontendEndpointLink.java | 50 +
.../models/FrontendEndpointProperties.java | 121 ++
.../FrontendEndpointUpdateParameters.java | 142 ++
...etersWebApplicationFirewallPolicyLink.java | 52 +
.../frontdoor/models/FrontendEndpoints.java | 126 ++
.../models/FrontendEndpointsListResult.java | 73 +
.../frontdoor/models/HeaderAction.java | 115 ++
.../frontdoor/models/HeaderActionType.java | 37 +
.../frontdoor/models/HealthProbeEnabled.java | 34 +
.../models/HealthProbeSettingsModel.java | 229 +++
.../models/HealthProbeSettingsProperties.java | 76 +
.../HealthProbeSettingsUpdateParameters.java | 163 ++
...VaultCertificateSourceParametersVault.java | 50 +
.../frontdoor/models/LatencyMetric.java | 174 ++
.../frontdoor/models/LatencyScorecard.java | 119 ++
.../LatencyScorecardAggregationInterval.java | 38 +
.../models/LoadBalancingSettingsModel.java | 171 ++
.../LoadBalancingSettingsProperties.java | 62 +
...LoadBalancingSettingsUpdateParameters.java | 106 ++
.../models/ManagedRuleDefinition.java | 85 +
.../models/ManagedRuleEnabledState.java | 34 +
.../models/ManagedRuleExclusion.java | 124 ++
.../ManagedRuleExclusionMatchVariable.java | 45 +
...gedRuleExclusionSelectorMatchOperator.java | 44 +
.../models/ManagedRuleGroupDefinition.java | 73 +
.../models/ManagedRuleGroupOverride.java | 118 ++
.../frontdoor/models/ManagedRuleOverride.java | 140 ++
.../frontdoor/models/ManagedRuleSet.java | 172 ++
.../models/ManagedRuleSetActionType.java | 37 +
.../models/ManagedRuleSetDefinition.java | 89 +
.../models/ManagedRuleSetDefinitionList.java | 70 +
.../frontdoor/models/ManagedRuleSetList.java | 54 +
.../frontdoor/models/ManagedRuleSets.java | 31 +
.../frontdoor/models/MatchCondition.java | 199 +++
.../models/MatchProcessingBehavior.java | 34 +
.../frontdoor/models/MatchVariable.java | 55 +
.../frontdoor/models/MinimumTlsVersion.java | 34 +
.../models/NetworkExperimentProfiles.java | 155 ++
.../NetworkExperimentResourceState.java | 46 +
.../models/NetworkOperationStatus.java | 37 +
.../frontdoor/models/Operator.java | 64 +
.../frontdoor/models/Policies.java | 136 ++
.../frontdoor/models/PolicyEnabledState.java | 34 +
.../frontdoor/models/PolicyMode.java | 34 +
.../models/PolicyRequestBodyCheck.java | 34 +
.../frontdoor/models/PolicyResourceState.java | 46 +
.../frontdoor/models/PolicySettings.java | 190 ++
.../models/PreconfiguredEndpoint.java | 81 +
.../models/PreconfiguredEndpointList.java | 70 +
.../models/PreconfiguredEndpoints.java | 36 +
.../models/PrivateEndpointStatus.java | 43 +
.../frontdoor/models/Profile.java | 245 +++
.../frontdoor/models/ProfileList.java | 70 +
.../frontdoor/models/ProfileUpdateModel.java | 79 +
.../frontdoor/models/PurgeParameters.java | 59 +
.../models/RedirectConfiguration.java | 205 +++
.../frontdoor/models/Reports.java | 110 ++
.../frontdoor/models/ResourceType.java | 47 +
.../frontdoor/models/RouteConfiguration.java | 42 +
.../frontdoor/models/RoutingRule.java | 288 ++++
.../models/RoutingRuleEnabledState.java | 34 +
.../frontdoor/models/RoutingRuleLink.java | 50 +
.../models/RoutingRuleProperties.java | 93 +
.../models/RoutingRuleUpdateParameters.java | 220 +++
...etersWebApplicationFirewallPolicyLink.java | 52 +
.../frontdoor/models/RuleType.java | 34 +
.../frontdoor/models/RulesEngine.java | 157 ++
.../frontdoor/models/RulesEngineAction.java | 116 ++
.../models/RulesEngineListResult.java | 73 +
.../models/RulesEngineMatchCondition.java | 205 +++
.../models/RulesEngineMatchVariable.java | 64 +
.../frontdoor/models/RulesEngineOperator.java | 61 +
.../models/RulesEngineProperties.java | 49 +
.../frontdoor/models/RulesEngineRule.java | 182 ++
.../models/RulesEngineUpdateParameters.java | 54 +
.../frontdoor/models/RulesEngines.java | 142 ++
.../frontdoor/models/SecurityPolicyLink.java | 50 +
.../models/SessionAffinityEnabledState.java | 34 +
.../resourcemanager/frontdoor/models/Sku.java | 50 +
.../frontdoor/models/SkuName.java | 37 +
.../frontdoor/models/State.java | 34 +
.../frontdoor/models/Timeseries.java | 104 ++
.../models/TimeseriesAggregationInterval.java | 34 +
.../frontdoor/models/TimeseriesDataPoint.java | 76 +
.../frontdoor/models/TimeseriesType.java | 40 +
.../frontdoor/models/Transform.java | 46 +
.../frontdoor/models/TransformType.java | 46 +
.../models/ValidateCustomDomainInput.java | 56 +
.../models/ValidateCustomDomainOutput.java | 38 +
.../models/WebApplicationFirewallPolicy.java | 384 +++++
.../WebApplicationFirewallPolicyList.java | 74 +
.../frontdoor/models/package-info.java | 6 +
.../frontdoor/package-info.java | 6 +
.../src/main/java/module-info.java | 19 +
sdk/frontdoor/ci.yml | 33 +
sdk/frontdoor/pom.xml | 53 +
218 files changed, 31540 insertions(+)
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/CHANGELOG.md
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/README.md
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/pom.xml
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/FrontDoorManager.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/EndpointsClient.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/ExperimentsClient.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/FrontDoorManagementClient.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/FrontDoorNameAvailabilitiesClient.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/FrontDoorNameAvailabilityWithSubscriptionsClient.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/FrontDoorsClient.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/FrontendEndpointsClient.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/ManagedRuleSetsClient.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/NetworkExperimentProfilesClient.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/PoliciesClient.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/PreconfiguredEndpointsClient.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/ReportsClient.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/RulesEnginesClient.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/CheckNameAvailabilityOutputInner.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/ExperimentInner.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/FrontDoorInner.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/FrontendEndpointInner.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/LatencyScorecardInner.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/ManagedRuleSetDefinitionInner.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/PreconfiguredEndpointInner.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/ProfileInner.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/RulesEngineInner.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/TimeseriesInner.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/ValidateCustomDomainOutputInner.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/WebApplicationFirewallPolicyInner.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/package-info.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/package-info.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/CheckNameAvailabilityOutputImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/EndpointsClientImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/EndpointsImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/ExperimentImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/ExperimentsClientImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/ExperimentsImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/FrontDoorImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/FrontDoorManagementClientBuilder.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/FrontDoorManagementClientImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/FrontDoorNameAvailabilitiesClientImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/FrontDoorNameAvailabilitiesImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/FrontDoorNameAvailabilityWithSubscriptionsClientImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/FrontDoorNameAvailabilityWithSubscriptionsImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/FrontDoorsClientImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/FrontDoorsImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/FrontendEndpointImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/FrontendEndpointsClientImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/FrontendEndpointsImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/LatencyScorecardImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/ManagedRuleSetDefinitionImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/ManagedRuleSetsClientImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/ManagedRuleSetsImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/NetworkExperimentProfilesClientImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/NetworkExperimentProfilesImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/PoliciesClientImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/PoliciesImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/PreconfiguredEndpointImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/PreconfiguredEndpointsClientImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/PreconfiguredEndpointsImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/ProfileImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/ReportsClientImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/ReportsImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/RulesEngineImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/RulesEnginesClientImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/RulesEnginesImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/TimeseriesImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/Utils.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/ValidateCustomDomainOutputImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/WebApplicationFirewallPolicyImpl.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/package-info.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/ActionType.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/AggregationInterval.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/Availability.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/Backend.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/BackendEnabledState.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/BackendPool.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/BackendPoolProperties.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/BackendPoolUpdateParameters.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/BackendPoolsSettings.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/CacheConfiguration.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/CheckNameAvailabilityInput.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/CheckNameAvailabilityOutput.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/CustomHttpsConfiguration.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/CustomHttpsProvisioningState.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/CustomHttpsProvisioningSubstate.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/CustomRule.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/CustomRuleEnabledState.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/CustomRuleList.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/DynamicCompressionEnabled.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/Endpoint.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/EndpointType.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/Endpoints.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/EnforceCertificateNameCheckEnabledState.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/Error.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/ErrorDetails.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/Experiment.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/ExperimentList.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/ExperimentUpdateModel.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/Experiments.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/ForwardingConfiguration.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/FrontDoor.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/FrontDoorCertificateSource.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/FrontDoorCertificateType.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/FrontDoorEnabledState.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/FrontDoorForwardingProtocol.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/FrontDoorHealthProbeMethod.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/FrontDoorListResult.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/FrontDoorNameAvailabilities.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/FrontDoorNameAvailabilityWithSubscriptions.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/FrontDoorProperties.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/FrontDoorProtocol.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/FrontDoorQuery.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/FrontDoorRedirectProtocol.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/FrontDoorRedirectType.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/FrontDoorResourceState.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/FrontDoorTlsProtocolType.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/FrontDoorUpdateParameters.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/FrontDoors.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/FrontendEndpoint.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/FrontendEndpointLink.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/FrontendEndpointProperties.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/FrontendEndpointUpdateParameters.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/FrontendEndpoints.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/FrontendEndpointsListResult.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/HeaderAction.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/HeaderActionType.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/HealthProbeEnabled.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/HealthProbeSettingsModel.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/HealthProbeSettingsProperties.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/HealthProbeSettingsUpdateParameters.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/KeyVaultCertificateSourceParametersVault.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/LatencyMetric.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/LatencyScorecard.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/LatencyScorecardAggregationInterval.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/LoadBalancingSettingsModel.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/LoadBalancingSettingsProperties.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/LoadBalancingSettingsUpdateParameters.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/ManagedRuleDefinition.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/ManagedRuleEnabledState.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/ManagedRuleExclusion.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/ManagedRuleExclusionMatchVariable.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/ManagedRuleExclusionSelectorMatchOperator.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/ManagedRuleGroupDefinition.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/ManagedRuleGroupOverride.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/ManagedRuleOverride.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/ManagedRuleSet.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/ManagedRuleSetActionType.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/ManagedRuleSetDefinition.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/ManagedRuleSetDefinitionList.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/ManagedRuleSetList.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/ManagedRuleSets.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/MatchCondition.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/MatchProcessingBehavior.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/MatchVariable.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/MinimumTlsVersion.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/NetworkExperimentProfiles.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/NetworkExperimentResourceState.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/NetworkOperationStatus.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/Operator.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/Policies.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/PolicyEnabledState.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/PolicyMode.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/PolicyRequestBodyCheck.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/PolicyResourceState.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/PolicySettings.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/PreconfiguredEndpoint.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/PreconfiguredEndpointList.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/PreconfiguredEndpoints.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/PrivateEndpointStatus.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/Profile.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/ProfileList.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/ProfileUpdateModel.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/PurgeParameters.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/RedirectConfiguration.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/Reports.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/ResourceType.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/RouteConfiguration.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/RoutingRule.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/RoutingRuleEnabledState.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/RoutingRuleLink.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/RoutingRuleProperties.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/RoutingRuleUpdateParameters.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/RoutingRuleUpdateParametersWebApplicationFirewallPolicyLink.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/RuleType.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/RulesEngine.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/RulesEngineAction.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/RulesEngineListResult.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/RulesEngineMatchCondition.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/RulesEngineMatchVariable.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/RulesEngineOperator.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/RulesEngineProperties.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/RulesEngineRule.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/RulesEngineUpdateParameters.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/RulesEngines.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/SecurityPolicyLink.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/SessionAffinityEnabledState.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/Sku.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/SkuName.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/State.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/Timeseries.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/TimeseriesAggregationInterval.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/TimeseriesDataPoint.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/TimeseriesType.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/Transform.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/TransformType.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/ValidateCustomDomainInput.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/ValidateCustomDomainOutput.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/WebApplicationFirewallPolicy.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/WebApplicationFirewallPolicyList.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/models/package-info.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/package-info.java
create mode 100644 sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/module-info.java
create mode 100644 sdk/frontdoor/ci.yml
create mode 100644 sdk/frontdoor/pom.xml
diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt
index 7f86782f6548f..5b128d95f3f49 100644
--- a/eng/versioning/version_client.txt
+++ b/eng/versioning/version_client.txt
@@ -226,6 +226,7 @@ com.azure.resourcemanager:azure-resourcemanager-synapse;1.0.0-beta.1;1.0.0-beta.
com.azure.resourcemanager:azure-resourcemanager-resourcehealth;1.0.0-beta.1;1.0.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-databricks;1.0.0-beta.1;1.0.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-databoxedge;1.0.0-beta.1;1.0.0-beta.2
+com.azure.resourcemanager:azure-resourcemanager-frontdoor;1.0.0-beta.1;1.0.0-beta.1
# Unreleased dependencies: Copy the entry from above, prepend "unreleased_" and remove the current
# version. Unreleased dependencies are only valid for dependency versions.
diff --git a/pom.xml b/pom.xml
index d19c881b3df22..5f36d3003ca9a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -680,6 +680,7 @@
sdk/eventgridsdk/eventhubssdk/formrecognizer
+ sdk/frontdoorsdk/hdinsightsdk/healthbotsdk/hybridkubernetes
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/CHANGELOG.md b/sdk/frontdoor/azure-resourcemanager-frontdoor/CHANGELOG.md
new file mode 100644
index 0000000000000..9aca0f2e16cbb
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/CHANGELOG.md
@@ -0,0 +1,5 @@
+# Release History
+
+## 1.0.0-beta.1 (2021-04-09)
+
+- Azure Resource Manager FrontDoor client library for Java. This package contains Microsoft Azure SDK for FrontDoor Management SDK. FrontDoor Client. Package tag package-2020-11. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/README.md b/sdk/frontdoor/azure-resourcemanager-frontdoor/README.md
new file mode 100644
index 0000000000000..20ff1ffd42b28
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/README.md
@@ -0,0 +1,99 @@
+# Azure Resource Manager FrontDoor client library for Java
+
+Azure Resource Manager FrontDoor client library for Java.
+
+This package contains Microsoft Azure SDK for FrontDoor Management SDK. FrontDoor Client. Package tag package-2020-11. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
+
+## We'd love to hear your feedback
+
+We're always working on improving our products and the way we communicate with our users. So we'd love to learn what's working and how we can do better.
+
+If you haven't already, please take a few minutes to [complete this short survey][survey] we have put together.
+
+Thank you in advance for your collaboration. We really appreciate your time!
+
+## Documentation
+
+Various documentation is available to help you get started
+
+- [API reference documentation][docs]
+
+## Getting started
+
+### Prerequisites
+
+- [Java Development Kit (JDK)][jdk] with version 8 or above
+- [Azure Subscription][azure_subscription]
+
+### Adding the package to your product
+
+[//]: # ({x-version-update-start;com.azure.resourcemanager:azure-resourcemanager-frontdoor;current})
+```xml
+
+ com.azure.resourcemanager
+ azure-resourcemanager-frontdoor
+ 1.0.0-beta.1
+
+```
+[//]: # ({x-version-update-end})
+
+### Include the recommended packages
+
+Azure Management Libraries require a `TokenCredential` implementation for authentication and an `HttpClient` implementation for HTTP client.
+
+[Azure Identity][azure_identity] package and [Azure Core Netty HTTP][azure_core_http_netty] package provide the default implementation.
+
+### Authentication
+
+By default, Azure Active Directory token authentication depends on correct configure of following environment variables.
+
+- `AZURE_CLIENT_ID` for Azure client ID.
+- `AZURE_TENANT_ID` for Azure tenant ID.
+- `AZURE_CLIENT_SECRET` or `AZURE_CLIENT_CERTIFICATE_PATH` for client secret or client certificate.
+
+In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.
+
+With above configuration, `azure` client can be authenticated by following code:
+
+```java
+AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
+TokenCredential credential = new DefaultAzureCredentialBuilder()
+ .authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
+ .build();
+FrontDoorManager manager = FrontDoorManager
+ .authenticate(credential, profile);
+```
+
+The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.
+
+See [Authentication][authenticate] for more options.
+
+## Key concepts
+
+See [API design][design] for general introduction on design and key concepts on Azure Management Libraries.
+
+## Examples
+
+## Troubleshooting
+
+## Next steps
+
+## Contributing
+
+For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/master/CONTRIBUTING.md).
+
+1. Fork it
+1. Create your feature branch (`git checkout -b my-new-feature`)
+1. Commit your changes (`git commit -am 'Add some feature'`)
+1. Push to the branch (`git push origin my-new-feature`)
+1. Create new Pull Request
+
+
+[survey]: https://microsoft.qualtrics.com/jfe/form/SV_ehN0lIk2FKEBkwd?Q_CHL=DOCS
+[docs]: https://azure.github.io/azure-sdk-for-java/
+[jdk]: https://docs.microsoft.com/java/azure/jdk/
+[azure_subscription]: https://azure.microsoft.com/free/
+[azure_identity]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/identity/azure-identity
+[azure_core_http_netty]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/core/azure-core-http-netty
+[authenticate]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/resourcemanager/docs/AUTH.md
+[design]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/resourcemanager/docs/DESIGN.md
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/pom.xml b/sdk/frontdoor/azure-resourcemanager-frontdoor/pom.xml
new file mode 100644
index 0000000000000..644fed87d7dd5
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/pom.xml
@@ -0,0 +1,67 @@
+
+ 4.0.0
+
+ com.azure
+ azure-client-sdk-parent
+ 1.7.0
+ ../../parents/azure-client-sdk-parent
+
+
+ com.azure.resourcemanager
+ azure-resourcemanager-frontdoor
+ 1.0.0-beta.1
+ jar
+
+ Microsoft Azure SDK for FrontDoor Management
+ This package contains Microsoft Azure SDK for FrontDoor Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. FrontDoor Client. Package tag package-2020-11.
+ https://github.com/Azure/azure-sdk-for-java
+
+
+
+ The MIT License (MIT)
+ http://opensource.org/licenses/MIT
+ repo
+
+
+
+
+ https://github.com/Azure/azure-sdk-for-java
+ scm:git:git@github.com:Azure/azure-sdk-for-java.git
+ scm:git:git@github.com:Azure/azure-sdk-for-java.git
+ HEAD
+
+
+
+ microsoft
+ Microsoft
+
+
+
+ UTF-8
+
+
+
+
+ com.azure
+ azure-core
+ 1.15.0
+
+
+ com.azure
+ azure-core-management
+ 1.2.1
+
+
+
+
+
+ org.jacoco
+ jacoco-maven-plugin
+ 0.8.5
+
+ true
+
+
+
+
+
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/FrontDoorManager.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/FrontDoorManager.java
new file mode 100644
index 0000000000000..5d76eb3f98e70
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/FrontDoorManager.java
@@ -0,0 +1,352 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor;
+
+import com.azure.core.credential.TokenCredential;
+import com.azure.core.http.HttpClient;
+import com.azure.core.http.HttpPipeline;
+import com.azure.core.http.HttpPipelineBuilder;
+import com.azure.core.http.policy.AddDatePolicy;
+import com.azure.core.http.policy.BearerTokenAuthenticationPolicy;
+import com.azure.core.http.policy.HttpLogOptions;
+import com.azure.core.http.policy.HttpLoggingPolicy;
+import com.azure.core.http.policy.HttpPipelinePolicy;
+import com.azure.core.http.policy.HttpPolicyProviders;
+import com.azure.core.http.policy.RequestIdPolicy;
+import com.azure.core.http.policy.RetryPolicy;
+import com.azure.core.http.policy.UserAgentPolicy;
+import com.azure.core.management.profile.AzureProfile;
+import com.azure.core.util.Configuration;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.frontdoor.fluent.FrontDoorManagementClient;
+import com.azure.resourcemanager.frontdoor.implementation.EndpointsImpl;
+import com.azure.resourcemanager.frontdoor.implementation.ExperimentsImpl;
+import com.azure.resourcemanager.frontdoor.implementation.FrontDoorManagementClientBuilder;
+import com.azure.resourcemanager.frontdoor.implementation.FrontDoorNameAvailabilitiesImpl;
+import com.azure.resourcemanager.frontdoor.implementation.FrontDoorNameAvailabilityWithSubscriptionsImpl;
+import com.azure.resourcemanager.frontdoor.implementation.FrontDoorsImpl;
+import com.azure.resourcemanager.frontdoor.implementation.FrontendEndpointsImpl;
+import com.azure.resourcemanager.frontdoor.implementation.ManagedRuleSetsImpl;
+import com.azure.resourcemanager.frontdoor.implementation.NetworkExperimentProfilesImpl;
+import com.azure.resourcemanager.frontdoor.implementation.PoliciesImpl;
+import com.azure.resourcemanager.frontdoor.implementation.PreconfiguredEndpointsImpl;
+import com.azure.resourcemanager.frontdoor.implementation.ReportsImpl;
+import com.azure.resourcemanager.frontdoor.implementation.RulesEnginesImpl;
+import com.azure.resourcemanager.frontdoor.models.Endpoints;
+import com.azure.resourcemanager.frontdoor.models.Experiments;
+import com.azure.resourcemanager.frontdoor.models.FrontDoorNameAvailabilities;
+import com.azure.resourcemanager.frontdoor.models.FrontDoorNameAvailabilityWithSubscriptions;
+import com.azure.resourcemanager.frontdoor.models.FrontDoors;
+import com.azure.resourcemanager.frontdoor.models.FrontendEndpoints;
+import com.azure.resourcemanager.frontdoor.models.ManagedRuleSets;
+import com.azure.resourcemanager.frontdoor.models.NetworkExperimentProfiles;
+import com.azure.resourcemanager.frontdoor.models.Policies;
+import com.azure.resourcemanager.frontdoor.models.PreconfiguredEndpoints;
+import com.azure.resourcemanager.frontdoor.models.Reports;
+import com.azure.resourcemanager.frontdoor.models.RulesEngines;
+import java.time.Duration;
+import java.time.temporal.ChronoUnit;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+
+/** Entry point to FrontDoorManager. FrontDoor Client. */
+public final class FrontDoorManager {
+ private NetworkExperimentProfiles networkExperimentProfiles;
+
+ private PreconfiguredEndpoints preconfiguredEndpoints;
+
+ private Experiments experiments;
+
+ private Reports reports;
+
+ private FrontDoorNameAvailabilities frontDoorNameAvailabilities;
+
+ private FrontDoorNameAvailabilityWithSubscriptions frontDoorNameAvailabilityWithSubscriptions;
+
+ private FrontDoors frontDoors;
+
+ private FrontendEndpoints frontendEndpoints;
+
+ private Endpoints endpoints;
+
+ private RulesEngines rulesEngines;
+
+ private Policies policies;
+
+ private ManagedRuleSets managedRuleSets;
+
+ private final FrontDoorManagementClient clientObject;
+
+ private FrontDoorManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
+ Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
+ Objects.requireNonNull(profile, "'profile' cannot be null.");
+ this.clientObject =
+ new FrontDoorManagementClientBuilder()
+ .pipeline(httpPipeline)
+ .endpoint(profile.getEnvironment().getResourceManagerEndpoint())
+ .subscriptionId(profile.getSubscriptionId())
+ .defaultPollInterval(defaultPollInterval)
+ .buildClient();
+ }
+
+ /**
+ * Creates an instance of FrontDoor service API entry point.
+ *
+ * @param credential the credential to use.
+ * @param profile the Azure profile for client.
+ * @return the FrontDoor service API instance.
+ */
+ public static FrontDoorManager authenticate(TokenCredential credential, AzureProfile profile) {
+ Objects.requireNonNull(credential, "'credential' cannot be null.");
+ Objects.requireNonNull(profile, "'profile' cannot be null.");
+ return configure().authenticate(credential, profile);
+ }
+
+ /**
+ * Gets a Configurable instance that can be used to create FrontDoorManager with optional configuration.
+ *
+ * @return the Configurable instance allowing configurations.
+ */
+ public static Configurable configure() {
+ return new FrontDoorManager.Configurable();
+ }
+
+ /** The Configurable allowing configurations to be set. */
+ public static final class Configurable {
+ private final ClientLogger logger = new ClientLogger(Configurable.class);
+
+ private HttpClient httpClient;
+ private HttpLogOptions httpLogOptions;
+ private final List policies = new ArrayList<>();
+ private RetryPolicy retryPolicy;
+ private Duration defaultPollInterval;
+
+ private Configurable() {
+ }
+
+ /**
+ * Sets the http client.
+ *
+ * @param httpClient the HTTP client.
+ * @return the configurable object itself.
+ */
+ public Configurable withHttpClient(HttpClient httpClient) {
+ this.httpClient = Objects.requireNonNull(httpClient, "'httpClient' cannot be null.");
+ return this;
+ }
+
+ /**
+ * Sets the logging options to the HTTP pipeline.
+ *
+ * @param httpLogOptions the HTTP log options.
+ * @return the configurable object itself.
+ */
+ public Configurable withLogOptions(HttpLogOptions httpLogOptions) {
+ this.httpLogOptions = Objects.requireNonNull(httpLogOptions, "'httpLogOptions' cannot be null.");
+ return this;
+ }
+
+ /**
+ * Adds the pipeline policy to the HTTP pipeline.
+ *
+ * @param policy the HTTP pipeline policy.
+ * @return the configurable object itself.
+ */
+ public Configurable withPolicy(HttpPipelinePolicy policy) {
+ this.policies.add(Objects.requireNonNull(policy, "'policy' cannot be null."));
+ return this;
+ }
+
+ /**
+ * Sets the retry policy to the HTTP pipeline.
+ *
+ * @param retryPolicy the HTTP pipeline retry policy.
+ * @return the configurable object itself.
+ */
+ public Configurable withRetryPolicy(RetryPolicy retryPolicy) {
+ this.retryPolicy = Objects.requireNonNull(retryPolicy, "'retryPolicy' cannot be null.");
+ return this;
+ }
+
+ /**
+ * Sets the default poll interval, used when service does not provide "Retry-After" header.
+ *
+ * @param defaultPollInterval the default poll interval.
+ * @return the configurable object itself.
+ */
+ public Configurable withDefaultPollInterval(Duration defaultPollInterval) {
+ this.defaultPollInterval = Objects.requireNonNull(defaultPollInterval, "'retryPolicy' cannot be null.");
+ if (this.defaultPollInterval.isNegative()) {
+ throw logger.logExceptionAsError(new IllegalArgumentException("'httpPipeline' cannot be negative"));
+ }
+ return this;
+ }
+
+ /**
+ * Creates an instance of FrontDoor service API entry point.
+ *
+ * @param credential the credential to use.
+ * @param profile the Azure profile for client.
+ * @return the FrontDoor service API instance.
+ */
+ public FrontDoorManager authenticate(TokenCredential credential, AzureProfile profile) {
+ Objects.requireNonNull(credential, "'credential' cannot be null.");
+ Objects.requireNonNull(profile, "'profile' cannot be null.");
+
+ StringBuilder userAgentBuilder = new StringBuilder();
+ userAgentBuilder
+ .append("azsdk-java")
+ .append("-")
+ .append("com.azure.resourcemanager.frontdoor")
+ .append("/")
+ .append("1.0.0-beta.1");
+ if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
+ userAgentBuilder
+ .append(" (")
+ .append(Configuration.getGlobalConfiguration().get("java.version"))
+ .append("; ")
+ .append(Configuration.getGlobalConfiguration().get("os.name"))
+ .append("; ")
+ .append(Configuration.getGlobalConfiguration().get("os.version"))
+ .append("; auto-generated)");
+ } else {
+ userAgentBuilder.append(" (auto-generated)");
+ }
+
+ if (retryPolicy == null) {
+ retryPolicy = new RetryPolicy("Retry-After", ChronoUnit.SECONDS);
+ }
+ List policies = new ArrayList<>();
+ policies.add(new UserAgentPolicy(userAgentBuilder.toString()));
+ policies.add(new RequestIdPolicy());
+ HttpPolicyProviders.addBeforeRetryPolicies(policies);
+ policies.add(retryPolicy);
+ policies.add(new AddDatePolicy());
+ policies
+ .add(
+ new BearerTokenAuthenticationPolicy(
+ credential, profile.getEnvironment().getManagementEndpoint() + "/.default"));
+ policies.addAll(this.policies);
+ HttpPolicyProviders.addAfterRetryPolicies(policies);
+ policies.add(new HttpLoggingPolicy(httpLogOptions));
+ HttpPipeline httpPipeline =
+ new HttpPipelineBuilder()
+ .httpClient(httpClient)
+ .policies(policies.toArray(new HttpPipelinePolicy[0]))
+ .build();
+ return new FrontDoorManager(httpPipeline, profile, defaultPollInterval);
+ }
+ }
+
+ /** @return Resource collection API of NetworkExperimentProfiles. */
+ public NetworkExperimentProfiles networkExperimentProfiles() {
+ if (this.networkExperimentProfiles == null) {
+ this.networkExperimentProfiles =
+ new NetworkExperimentProfilesImpl(clientObject.getNetworkExperimentProfiles(), this);
+ }
+ return networkExperimentProfiles;
+ }
+
+ /** @return Resource collection API of PreconfiguredEndpoints. */
+ public PreconfiguredEndpoints preconfiguredEndpoints() {
+ if (this.preconfiguredEndpoints == null) {
+ this.preconfiguredEndpoints =
+ new PreconfiguredEndpointsImpl(clientObject.getPreconfiguredEndpoints(), this);
+ }
+ return preconfiguredEndpoints;
+ }
+
+ /** @return Resource collection API of Experiments. */
+ public Experiments experiments() {
+ if (this.experiments == null) {
+ this.experiments = new ExperimentsImpl(clientObject.getExperiments(), this);
+ }
+ return experiments;
+ }
+
+ /** @return Resource collection API of Reports. */
+ public Reports reports() {
+ if (this.reports == null) {
+ this.reports = new ReportsImpl(clientObject.getReports(), this);
+ }
+ return reports;
+ }
+
+ /** @return Resource collection API of FrontDoorNameAvailabilities. */
+ public FrontDoorNameAvailabilities frontDoorNameAvailabilities() {
+ if (this.frontDoorNameAvailabilities == null) {
+ this.frontDoorNameAvailabilities =
+ new FrontDoorNameAvailabilitiesImpl(clientObject.getFrontDoorNameAvailabilities(), this);
+ }
+ return frontDoorNameAvailabilities;
+ }
+
+ /** @return Resource collection API of FrontDoorNameAvailabilityWithSubscriptions. */
+ public FrontDoorNameAvailabilityWithSubscriptions frontDoorNameAvailabilityWithSubscriptions() {
+ if (this.frontDoorNameAvailabilityWithSubscriptions == null) {
+ this.frontDoorNameAvailabilityWithSubscriptions =
+ new FrontDoorNameAvailabilityWithSubscriptionsImpl(
+ clientObject.getFrontDoorNameAvailabilityWithSubscriptions(), this);
+ }
+ return frontDoorNameAvailabilityWithSubscriptions;
+ }
+
+ /** @return Resource collection API of FrontDoors. */
+ public FrontDoors frontDoors() {
+ if (this.frontDoors == null) {
+ this.frontDoors = new FrontDoorsImpl(clientObject.getFrontDoors(), this);
+ }
+ return frontDoors;
+ }
+
+ /** @return Resource collection API of FrontendEndpoints. */
+ public FrontendEndpoints frontendEndpoints() {
+ if (this.frontendEndpoints == null) {
+ this.frontendEndpoints = new FrontendEndpointsImpl(clientObject.getFrontendEndpoints(), this);
+ }
+ return frontendEndpoints;
+ }
+
+ /** @return Resource collection API of Endpoints. */
+ public Endpoints endpoints() {
+ if (this.endpoints == null) {
+ this.endpoints = new EndpointsImpl(clientObject.getEndpoints(), this);
+ }
+ return endpoints;
+ }
+
+ /** @return Resource collection API of RulesEngines. */
+ public RulesEngines rulesEngines() {
+ if (this.rulesEngines == null) {
+ this.rulesEngines = new RulesEnginesImpl(clientObject.getRulesEngines(), this);
+ }
+ return rulesEngines;
+ }
+
+ /** @return Resource collection API of Policies. */
+ public Policies policies() {
+ if (this.policies == null) {
+ this.policies = new PoliciesImpl(clientObject.getPolicies(), this);
+ }
+ return policies;
+ }
+
+ /** @return Resource collection API of ManagedRuleSets. */
+ public ManagedRuleSets managedRuleSets() {
+ if (this.managedRuleSets == null) {
+ this.managedRuleSets = new ManagedRuleSetsImpl(clientObject.getManagedRuleSets(), this);
+ }
+ return managedRuleSets;
+ }
+
+ /**
+ * @return Wrapped service client FrontDoorManagementClient providing direct access to the underlying auto-generated
+ * API implementation, based on Azure REST API.
+ */
+ public FrontDoorManagementClient serviceClient() {
+ return this.clientObject;
+ }
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/EndpointsClient.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/EndpointsClient.java
new file mode 100644
index 0000000000000..05c0cbf53b4ff
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/EndpointsClient.java
@@ -0,0 +1,82 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.frontdoor.models.PurgeParameters;
+
+/** An instance of this class provides access to all the operations defined in EndpointsClient. */
+public interface EndpointsClient {
+ /**
+ * Removes a content from Front Door.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param contentFilePaths The path to the content to be purged. Path can be a full URL, e.g. '/pictures/city.png'
+ * which removes a single file, or a directory with a wildcard, e.g. '/pictures/*' which removes all folders and
+ * files in the directory.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, Void> beginPurgeContent(
+ String resourceGroupName, String frontDoorName, PurgeParameters contentFilePaths);
+
+ /**
+ * Removes a content from Front Door.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param contentFilePaths The path to the content to be purged. Path can be a full URL, e.g. '/pictures/city.png'
+ * which removes a single file, or a directory with a wildcard, e.g. '/pictures/*' which removes all folders and
+ * files in the directory.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, Void> beginPurgeContent(
+ String resourceGroupName, String frontDoorName, PurgeParameters contentFilePaths, Context context);
+
+ /**
+ * Removes a content from Front Door.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param contentFilePaths The path to the content to be purged. Path can be a full URL, e.g. '/pictures/city.png'
+ * which removes a single file, or a directory with a wildcard, e.g. '/pictures/*' which removes all folders and
+ * files in the directory.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void purgeContent(String resourceGroupName, String frontDoorName, PurgeParameters contentFilePaths);
+
+ /**
+ * Removes a content from Front Door.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param contentFilePaths The path to the content to be purged. Path can be a full URL, e.g. '/pictures/city.png'
+ * which removes a single file, or a directory with a wildcard, e.g. '/pictures/*' which removes all folders and
+ * files in the directory.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void purgeContent(
+ String resourceGroupName, String frontDoorName, PurgeParameters contentFilePaths, Context context);
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/ExperimentsClient.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/ExperimentsClient.java
new file mode 100644
index 0000000000000..8391a2b0451aa
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/ExperimentsClient.java
@@ -0,0 +1,280 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.frontdoor.fluent.models.ExperimentInner;
+import com.azure.resourcemanager.frontdoor.models.ExperimentUpdateModel;
+
+/** An instance of this class provides access to all the operations defined in ExperimentsClient. */
+public interface ExperimentsClient {
+ /**
+ * Gets a list of Experiments.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of Experiments.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByProfile(String resourceGroupName, String profileName);
+
+ /**
+ * Gets a list of Experiments.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of Experiments.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByProfile(String resourceGroupName, String profileName, Context context);
+
+ /**
+ * Gets an Experiment by ExperimentName.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an Experiment by ExperimentName.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExperimentInner get(String resourceGroupName, String profileName, String experimentName);
+
+ /**
+ * Gets an Experiment by ExperimentName.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an Experiment by ExperimentName.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String profileName, String experimentName, Context context);
+
+ /**
+ * Creates or updates an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param parameters The Experiment resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines the properties of an Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, ExperimentInner> beginCreateOrUpdate(
+ String resourceGroupName, String profileName, String experimentName, ExperimentInner parameters);
+
+ /**
+ * Creates or updates an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param parameters The Experiment resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines the properties of an Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, ExperimentInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String profileName,
+ String experimentName,
+ ExperimentInner parameters,
+ Context context);
+
+ /**
+ * Creates or updates an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param parameters The Experiment resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines the properties of an Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExperimentInner createOrUpdate(
+ String resourceGroupName, String profileName, String experimentName, ExperimentInner parameters);
+
+ /**
+ * Creates or updates an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param parameters The Experiment resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines the properties of an Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExperimentInner createOrUpdate(
+ String resourceGroupName,
+ String profileName,
+ String experimentName,
+ ExperimentInner parameters,
+ Context context);
+
+ /**
+ * Updates an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param parameters The Experiment Update Model.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines the properties of an Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, ExperimentInner> beginUpdate(
+ String resourceGroupName, String profileName, String experimentName, ExperimentUpdateModel parameters);
+
+ /**
+ * Updates an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param parameters The Experiment Update Model.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines the properties of an Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, ExperimentInner> beginUpdate(
+ String resourceGroupName,
+ String profileName,
+ String experimentName,
+ ExperimentUpdateModel parameters,
+ Context context);
+
+ /**
+ * Updates an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param parameters The Experiment Update Model.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines the properties of an Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExperimentInner update(
+ String resourceGroupName, String profileName, String experimentName, ExperimentUpdateModel parameters);
+
+ /**
+ * Updates an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param parameters The Experiment Update Model.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines the properties of an Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExperimentInner update(
+ String resourceGroupName,
+ String profileName,
+ String experimentName,
+ ExperimentUpdateModel parameters,
+ Context context);
+
+ /**
+ * Deletes an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String profileName, String experimentName);
+
+ /**
+ * Deletes an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String profileName, String experimentName, Context context);
+
+ /**
+ * Deletes an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String profileName, String experimentName);
+
+ /**
+ * Deletes an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String profileName, String experimentName, Context context);
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/FrontDoorManagementClient.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/FrontDoorManagementClient.java
new file mode 100644
index 0000000000000..10ac807c4e393
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/FrontDoorManagementClient.java
@@ -0,0 +1,124 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.fluent;
+
+import com.azure.core.http.HttpPipeline;
+import java.time.Duration;
+
+/** The interface for FrontDoorManagementClient class. */
+public interface FrontDoorManagementClient {
+ /**
+ * Gets The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID
+ * forms part of the URI for every service call.
+ *
+ * @return the subscriptionId value.
+ */
+ String getSubscriptionId();
+
+ /**
+ * Gets server parameter.
+ *
+ * @return the endpoint value.
+ */
+ String getEndpoint();
+
+ /**
+ * Gets The HTTP pipeline to send requests through.
+ *
+ * @return the httpPipeline value.
+ */
+ HttpPipeline getHttpPipeline();
+
+ /**
+ * Gets The default poll interval for long-running operation.
+ *
+ * @return the defaultPollInterval value.
+ */
+ Duration getDefaultPollInterval();
+
+ /**
+ * Gets the NetworkExperimentProfilesClient object to access its operations.
+ *
+ * @return the NetworkExperimentProfilesClient object.
+ */
+ NetworkExperimentProfilesClient getNetworkExperimentProfiles();
+
+ /**
+ * Gets the PreconfiguredEndpointsClient object to access its operations.
+ *
+ * @return the PreconfiguredEndpointsClient object.
+ */
+ PreconfiguredEndpointsClient getPreconfiguredEndpoints();
+
+ /**
+ * Gets the ExperimentsClient object to access its operations.
+ *
+ * @return the ExperimentsClient object.
+ */
+ ExperimentsClient getExperiments();
+
+ /**
+ * Gets the ReportsClient object to access its operations.
+ *
+ * @return the ReportsClient object.
+ */
+ ReportsClient getReports();
+
+ /**
+ * Gets the FrontDoorNameAvailabilitiesClient object to access its operations.
+ *
+ * @return the FrontDoorNameAvailabilitiesClient object.
+ */
+ FrontDoorNameAvailabilitiesClient getFrontDoorNameAvailabilities();
+
+ /**
+ * Gets the FrontDoorNameAvailabilityWithSubscriptionsClient object to access its operations.
+ *
+ * @return the FrontDoorNameAvailabilityWithSubscriptionsClient object.
+ */
+ FrontDoorNameAvailabilityWithSubscriptionsClient getFrontDoorNameAvailabilityWithSubscriptions();
+
+ /**
+ * Gets the FrontDoorsClient object to access its operations.
+ *
+ * @return the FrontDoorsClient object.
+ */
+ FrontDoorsClient getFrontDoors();
+
+ /**
+ * Gets the FrontendEndpointsClient object to access its operations.
+ *
+ * @return the FrontendEndpointsClient object.
+ */
+ FrontendEndpointsClient getFrontendEndpoints();
+
+ /**
+ * Gets the EndpointsClient object to access its operations.
+ *
+ * @return the EndpointsClient object.
+ */
+ EndpointsClient getEndpoints();
+
+ /**
+ * Gets the RulesEnginesClient object to access its operations.
+ *
+ * @return the RulesEnginesClient object.
+ */
+ RulesEnginesClient getRulesEngines();
+
+ /**
+ * Gets the PoliciesClient object to access its operations.
+ *
+ * @return the PoliciesClient object.
+ */
+ PoliciesClient getPolicies();
+
+ /**
+ * Gets the ManagedRuleSetsClient object to access its operations.
+ *
+ * @return the ManagedRuleSetsClient object.
+ */
+ ManagedRuleSetsClient getManagedRuleSets();
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/FrontDoorNameAvailabilitiesClient.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/FrontDoorNameAvailabilitiesClient.java
new file mode 100644
index 0000000000000..5b2f4692d2b14
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/FrontDoorNameAvailabilitiesClient.java
@@ -0,0 +1,41 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.frontdoor.fluent.models.CheckNameAvailabilityOutputInner;
+import com.azure.resourcemanager.frontdoor.models.CheckNameAvailabilityInput;
+
+/** An instance of this class provides access to all the operations defined in FrontDoorNameAvailabilitiesClient. */
+public interface FrontDoorNameAvailabilitiesClient {
+ /**
+ * Check the availability of a Front Door resource name.
+ *
+ * @param checkFrontDoorNameAvailabilityInput Input to check.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return output of check name availability API.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CheckNameAvailabilityOutputInner check(CheckNameAvailabilityInput checkFrontDoorNameAvailabilityInput);
+
+ /**
+ * Check the availability of a Front Door resource name.
+ *
+ * @param checkFrontDoorNameAvailabilityInput Input to check.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return output of check name availability API.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response checkWithResponse(
+ CheckNameAvailabilityInput checkFrontDoorNameAvailabilityInput, Context context);
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/FrontDoorNameAvailabilityWithSubscriptionsClient.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/FrontDoorNameAvailabilityWithSubscriptionsClient.java
new file mode 100644
index 0000000000000..21dd8e6e575d6
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/FrontDoorNameAvailabilityWithSubscriptionsClient.java
@@ -0,0 +1,44 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.frontdoor.fluent.models.CheckNameAvailabilityOutputInner;
+import com.azure.resourcemanager.frontdoor.models.CheckNameAvailabilityInput;
+
+/**
+ * An instance of this class provides access to all the operations defined in
+ * FrontDoorNameAvailabilityWithSubscriptionsClient.
+ */
+public interface FrontDoorNameAvailabilityWithSubscriptionsClient {
+ /**
+ * Check the availability of a Front Door subdomain.
+ *
+ * @param checkFrontDoorNameAvailabilityInput Input to check.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return output of check name availability API.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CheckNameAvailabilityOutputInner check(CheckNameAvailabilityInput checkFrontDoorNameAvailabilityInput);
+
+ /**
+ * Check the availability of a Front Door subdomain.
+ *
+ * @param checkFrontDoorNameAvailabilityInput Input to check.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return output of check name availability API.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response checkWithResponse(
+ CheckNameAvailabilityInput checkFrontDoorNameAvailabilityInput, Context context);
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/FrontDoorsClient.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/FrontDoorsClient.java
new file mode 100644
index 0000000000000..c79a9598d0863
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/FrontDoorsClient.java
@@ -0,0 +1,245 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.frontdoor.fluent.models.FrontDoorInner;
+import com.azure.resourcemanager.frontdoor.fluent.models.ValidateCustomDomainOutputInner;
+import com.azure.resourcemanager.frontdoor.models.ValidateCustomDomainInput;
+
+/** An instance of this class provides access to all the operations defined in FrontDoorsClient. */
+public interface FrontDoorsClient {
+ /**
+ * Lists all of the Front Doors within an Azure subscription.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return result of the request to list Front Doors.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Lists all of the Front Doors within an Azure subscription.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return result of the request to list Front Doors.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+
+ /**
+ * Lists all of the Front Doors within a resource group under a subscription.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return result of the request to list Front Doors.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * Lists all of the Front Doors within a resource group under a subscription.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return result of the request to list Front Doors.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * Gets a Front Door with the specified Front Door name under the specified subscription and resource group.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Front Door with the specified Front Door name under the specified subscription and resource group.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ FrontDoorInner getByResourceGroup(String resourceGroupName, String frontDoorName);
+
+ /**
+ * Gets a Front Door with the specified Front Door name under the specified subscription and resource group.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Front Door with the specified Front Door name under the specified subscription and resource group.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String frontDoorName, Context context);
+
+ /**
+ * Creates a new Front Door with a Front Door name under the specified subscription and resource group.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param frontDoorParameters Front Door properties needed to create a new Front Door.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return front Door represents a collection of backend endpoints to route traffic to along with rules that specify
+ * how traffic is sent there.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, FrontDoorInner> beginCreateOrUpdate(
+ String resourceGroupName, String frontDoorName, FrontDoorInner frontDoorParameters);
+
+ /**
+ * Creates a new Front Door with a Front Door name under the specified subscription and resource group.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param frontDoorParameters Front Door properties needed to create a new Front Door.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return front Door represents a collection of backend endpoints to route traffic to along with rules that specify
+ * how traffic is sent there.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, FrontDoorInner> beginCreateOrUpdate(
+ String resourceGroupName, String frontDoorName, FrontDoorInner frontDoorParameters, Context context);
+
+ /**
+ * Creates a new Front Door with a Front Door name under the specified subscription and resource group.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param frontDoorParameters Front Door properties needed to create a new Front Door.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return front Door represents a collection of backend endpoints to route traffic to along with rules that specify
+ * how traffic is sent there.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ FrontDoorInner createOrUpdate(String resourceGroupName, String frontDoorName, FrontDoorInner frontDoorParameters);
+
+ /**
+ * Creates a new Front Door with a Front Door name under the specified subscription and resource group.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param frontDoorParameters Front Door properties needed to create a new Front Door.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return front Door represents a collection of backend endpoints to route traffic to along with rules that specify
+ * how traffic is sent there.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ FrontDoorInner createOrUpdate(
+ String resourceGroupName, String frontDoorName, FrontDoorInner frontDoorParameters, Context context);
+
+ /**
+ * Deletes an existing Front Door with the specified parameters.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String frontDoorName);
+
+ /**
+ * Deletes an existing Front Door with the specified parameters.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String frontDoorName, Context context);
+
+ /**
+ * Deletes an existing Front Door with the specified parameters.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String frontDoorName);
+
+ /**
+ * Deletes an existing Front Door with the specified parameters.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String frontDoorName, Context context);
+
+ /**
+ * Validates the custom domain mapping to ensure it maps to the correct Front Door endpoint in DNS.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param customDomainProperties Custom domain to be validated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return output of custom domain validation.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ValidateCustomDomainOutputInner validateCustomDomain(
+ String resourceGroupName, String frontDoorName, ValidateCustomDomainInput customDomainProperties);
+
+ /**
+ * Validates the custom domain mapping to ensure it maps to the correct Front Door endpoint in DNS.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param customDomainProperties Custom domain to be validated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return output of custom domain validation.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response validateCustomDomainWithResponse(
+ String resourceGroupName,
+ String frontDoorName,
+ ValidateCustomDomainInput customDomainProperties,
+ Context context);
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/FrontendEndpointsClient.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/FrontendEndpointsClient.java
new file mode 100644
index 0000000000000..079fa48a35292
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/FrontendEndpointsClient.java
@@ -0,0 +1,212 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.frontdoor.fluent.models.FrontendEndpointInner;
+import com.azure.resourcemanager.frontdoor.models.CustomHttpsConfiguration;
+
+/** An instance of this class provides access to all the operations defined in FrontendEndpointsClient. */
+public interface FrontendEndpointsClient {
+ /**
+ * Lists all of the frontend endpoints within a Front Door.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return result of the request to list frontend endpoints.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByFrontDoor(String resourceGroupName, String frontDoorName);
+
+ /**
+ * Lists all of the frontend endpoints within a Front Door.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return result of the request to list frontend endpoints.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByFrontDoor(
+ String resourceGroupName, String frontDoorName, Context context);
+
+ /**
+ * Gets a Frontend endpoint with the specified name within the specified Front Door.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param frontendEndpointName Name of the Frontend endpoint which is unique within the Front Door.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Frontend endpoint with the specified name within the specified Front Door.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ FrontendEndpointInner get(String resourceGroupName, String frontDoorName, String frontendEndpointName);
+
+ /**
+ * Gets a Frontend endpoint with the specified name within the specified Front Door.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param frontendEndpointName Name of the Frontend endpoint which is unique within the Front Door.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Frontend endpoint with the specified name within the specified Front Door.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String frontDoorName, String frontendEndpointName, Context context);
+
+ /**
+ * Enables a frontendEndpoint for HTTPS traffic.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param frontendEndpointName Name of the Frontend endpoint which is unique within the Front Door.
+ * @param customHttpsConfiguration The configuration specifying how to enable HTTPS.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, Void> beginEnableHttps(
+ String resourceGroupName,
+ String frontDoorName,
+ String frontendEndpointName,
+ CustomHttpsConfiguration customHttpsConfiguration);
+
+ /**
+ * Enables a frontendEndpoint for HTTPS traffic.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param frontendEndpointName Name of the Frontend endpoint which is unique within the Front Door.
+ * @param customHttpsConfiguration The configuration specifying how to enable HTTPS.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, Void> beginEnableHttps(
+ String resourceGroupName,
+ String frontDoorName,
+ String frontendEndpointName,
+ CustomHttpsConfiguration customHttpsConfiguration,
+ Context context);
+
+ /**
+ * Enables a frontendEndpoint for HTTPS traffic.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param frontendEndpointName Name of the Frontend endpoint which is unique within the Front Door.
+ * @param customHttpsConfiguration The configuration specifying how to enable HTTPS.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void enableHttps(
+ String resourceGroupName,
+ String frontDoorName,
+ String frontendEndpointName,
+ CustomHttpsConfiguration customHttpsConfiguration);
+
+ /**
+ * Enables a frontendEndpoint for HTTPS traffic.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param frontendEndpointName Name of the Frontend endpoint which is unique within the Front Door.
+ * @param customHttpsConfiguration The configuration specifying how to enable HTTPS.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void enableHttps(
+ String resourceGroupName,
+ String frontDoorName,
+ String frontendEndpointName,
+ CustomHttpsConfiguration customHttpsConfiguration,
+ Context context);
+
+ /**
+ * Disables a frontendEndpoint for HTTPS traffic.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param frontendEndpointName Name of the Frontend endpoint which is unique within the Front Door.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, Void> beginDisableHttps(
+ String resourceGroupName, String frontDoorName, String frontendEndpointName);
+
+ /**
+ * Disables a frontendEndpoint for HTTPS traffic.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param frontendEndpointName Name of the Frontend endpoint which is unique within the Front Door.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, Void> beginDisableHttps(
+ String resourceGroupName, String frontDoorName, String frontendEndpointName, Context context);
+
+ /**
+ * Disables a frontendEndpoint for HTTPS traffic.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param frontendEndpointName Name of the Frontend endpoint which is unique within the Front Door.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void disableHttps(String resourceGroupName, String frontDoorName, String frontendEndpointName);
+
+ /**
+ * Disables a frontendEndpoint for HTTPS traffic.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param frontendEndpointName Name of the Frontend endpoint which is unique within the Front Door.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void disableHttps(String resourceGroupName, String frontDoorName, String frontendEndpointName, Context context);
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/ManagedRuleSetsClient.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/ManagedRuleSetsClient.java
new file mode 100644
index 0000000000000..81ff21ad60f44
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/ManagedRuleSetsClient.java
@@ -0,0 +1,36 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.frontdoor.fluent.models.ManagedRuleSetDefinitionInner;
+
+/** An instance of this class provides access to all the operations defined in ManagedRuleSetsClient. */
+public interface ManagedRuleSetsClient {
+ /**
+ * Lists all available managed rule sets.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of managed rule set definitions available for use in a policy.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Lists all available managed rule sets.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of managed rule set definitions available for use in a policy.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/NetworkExperimentProfilesClient.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/NetworkExperimentProfilesClient.java
new file mode 100644
index 0000000000000..75f08e231cf14
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/NetworkExperimentProfilesClient.java
@@ -0,0 +1,265 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.frontdoor.fluent.models.ProfileInner;
+import com.azure.resourcemanager.frontdoor.models.ProfileUpdateModel;
+
+/** An instance of this class provides access to all the operations defined in NetworkExperimentProfilesClient. */
+public interface NetworkExperimentProfilesClient {
+ /**
+ * Gets a list of Network Experiment Profiles under a subscription.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of Network Experiment Profiles under a subscription.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Gets a list of Network Experiment Profiles under a subscription.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of Network Experiment Profiles under a subscription.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+
+ /**
+ * Gets a list of Network Experiment Profiles within a resource group under a subscription.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of Network Experiment Profiles within a resource group under a subscription.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * Gets a list of Network Experiment Profiles within a resource group under a subscription.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of Network Experiment Profiles within a resource group under a subscription.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * Gets an NetworkExperiment Profile by ProfileName.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an NetworkExperiment Profile by ProfileName.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ProfileInner getByResourceGroup(String resourceGroupName, String profileName);
+
+ /**
+ * Gets an NetworkExperiment Profile by ProfileName.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an NetworkExperiment Profile by ProfileName.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String profileName, Context context);
+
+ /**
+ * Creates an NetworkExperiment Profile.
+ *
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param parameters An Network Experiment Profile.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines an Network Experiment Profile and lists of Experiments.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, ProfileInner> beginCreateOrUpdate(
+ String profileName, String resourceGroupName, ProfileInner parameters);
+
+ /**
+ * Creates an NetworkExperiment Profile.
+ *
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param parameters An Network Experiment Profile.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines an Network Experiment Profile and lists of Experiments.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, ProfileInner> beginCreateOrUpdate(
+ String profileName, String resourceGroupName, ProfileInner parameters, Context context);
+
+ /**
+ * Creates an NetworkExperiment Profile.
+ *
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param parameters An Network Experiment Profile.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines an Network Experiment Profile and lists of Experiments.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ProfileInner createOrUpdate(String profileName, String resourceGroupName, ProfileInner parameters);
+
+ /**
+ * Creates an NetworkExperiment Profile.
+ *
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param parameters An Network Experiment Profile.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines an Network Experiment Profile and lists of Experiments.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ProfileInner createOrUpdate(String profileName, String resourceGroupName, ProfileInner parameters, Context context);
+
+ /**
+ * Updates an NetworkExperimentProfiles.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param parameters The Profile Update Model.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines an Network Experiment Profile and lists of Experiments.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, ProfileInner> beginUpdate(
+ String resourceGroupName, String profileName, ProfileUpdateModel parameters);
+
+ /**
+ * Updates an NetworkExperimentProfiles.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param parameters The Profile Update Model.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines an Network Experiment Profile and lists of Experiments.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, ProfileInner> beginUpdate(
+ String resourceGroupName, String profileName, ProfileUpdateModel parameters, Context context);
+
+ /**
+ * Updates an NetworkExperimentProfiles.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param parameters The Profile Update Model.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines an Network Experiment Profile and lists of Experiments.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ProfileInner update(String resourceGroupName, String profileName, ProfileUpdateModel parameters);
+
+ /**
+ * Updates an NetworkExperimentProfiles.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param parameters The Profile Update Model.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines an Network Experiment Profile and lists of Experiments.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ProfileInner update(String resourceGroupName, String profileName, ProfileUpdateModel parameters, Context context);
+
+ /**
+ * Deletes an NetworkExperiment Profile by ProfileName.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String profileName);
+
+ /**
+ * Deletes an NetworkExperiment Profile by ProfileName.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String profileName, Context context);
+
+ /**
+ * Deletes an NetworkExperiment Profile by ProfileName.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String profileName);
+
+ /**
+ * Deletes an NetworkExperiment Profile by ProfileName.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String profileName, Context context);
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/PoliciesClient.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/PoliciesClient.java
new file mode 100644
index 0000000000000..c6575a5758a4e
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/PoliciesClient.java
@@ -0,0 +1,184 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.frontdoor.fluent.models.WebApplicationFirewallPolicyInner;
+
+/** An instance of this class provides access to all the operations defined in PoliciesClient. */
+public interface PoliciesClient {
+ /**
+ * Lists all of the protection policies within a resource group.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines a list of WebApplicationFirewallPolicies.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * Lists all of the protection policies within a resource group.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines a list of WebApplicationFirewallPolicies.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * Retrieve protection policy with specified name within a resource group.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param policyName The name of the Web Application Firewall Policy.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines web application firewall policy.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ WebApplicationFirewallPolicyInner getByResourceGroup(String resourceGroupName, String policyName);
+
+ /**
+ * Retrieve protection policy with specified name within a resource group.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param policyName The name of the Web Application Firewall Policy.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines web application firewall policy.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String policyName, Context context);
+
+ /**
+ * Create or update policy with specified rule set name within a resource group.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param policyName The name of the Web Application Firewall Policy.
+ * @param parameters Policy to be created.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines web application firewall policy.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, WebApplicationFirewallPolicyInner> beginCreateOrUpdate(
+ String resourceGroupName, String policyName, WebApplicationFirewallPolicyInner parameters);
+
+ /**
+ * Create or update policy with specified rule set name within a resource group.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param policyName The name of the Web Application Firewall Policy.
+ * @param parameters Policy to be created.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines web application firewall policy.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, WebApplicationFirewallPolicyInner> beginCreateOrUpdate(
+ String resourceGroupName, String policyName, WebApplicationFirewallPolicyInner parameters, Context context);
+
+ /**
+ * Create or update policy with specified rule set name within a resource group.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param policyName The name of the Web Application Firewall Policy.
+ * @param parameters Policy to be created.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines web application firewall policy.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ WebApplicationFirewallPolicyInner createOrUpdate(
+ String resourceGroupName, String policyName, WebApplicationFirewallPolicyInner parameters);
+
+ /**
+ * Create or update policy with specified rule set name within a resource group.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param policyName The name of the Web Application Firewall Policy.
+ * @param parameters Policy to be created.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines web application firewall policy.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ WebApplicationFirewallPolicyInner createOrUpdate(
+ String resourceGroupName, String policyName, WebApplicationFirewallPolicyInner parameters, Context context);
+
+ /**
+ * Deletes Policy.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param policyName The name of the Web Application Firewall Policy.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String policyName);
+
+ /**
+ * Deletes Policy.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param policyName The name of the Web Application Firewall Policy.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String policyName, Context context);
+
+ /**
+ * Deletes Policy.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param policyName The name of the Web Application Firewall Policy.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String policyName);
+
+ /**
+ * Deletes Policy.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param policyName The name of the Web Application Firewall Policy.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String policyName, Context context);
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/PreconfiguredEndpointsClient.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/PreconfiguredEndpointsClient.java
new file mode 100644
index 0000000000000..ab836afe47881
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/PreconfiguredEndpointsClient.java
@@ -0,0 +1,41 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.frontdoor.fluent.models.PreconfiguredEndpointInner;
+
+/** An instance of this class provides access to all the operations defined in PreconfiguredEndpointsClient. */
+public interface PreconfiguredEndpointsClient {
+ /**
+ * Gets a list of Preconfigured Endpoints.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of Preconfigured Endpoints.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String profileName);
+
+ /**
+ * Gets a list of Preconfigured Endpoints.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of Preconfigured Endpoints.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String profileName, Context context);
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/ReportsClient.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/ReportsClient.java
new file mode 100644
index 0000000000000..1bae85ea596d3
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/ReportsClient.java
@@ -0,0 +1,121 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.frontdoor.fluent.models.LatencyScorecardInner;
+import com.azure.resourcemanager.frontdoor.fluent.models.TimeseriesInner;
+import com.azure.resourcemanager.frontdoor.models.LatencyScorecardAggregationInterval;
+import com.azure.resourcemanager.frontdoor.models.TimeseriesAggregationInterval;
+import com.azure.resourcemanager.frontdoor.models.TimeseriesType;
+import java.time.OffsetDateTime;
+
+/** An instance of this class provides access to all the operations defined in ReportsClient. */
+public interface ReportsClient {
+ /**
+ * Gets a Latency Scorecard for a given Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param aggregationInterval The aggregation interval of the Latency Scorecard.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Latency Scorecard for a given Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ LatencyScorecardInner getLatencyScorecards(
+ String resourceGroupName,
+ String profileName,
+ String experimentName,
+ LatencyScorecardAggregationInterval aggregationInterval);
+
+ /**
+ * Gets a Latency Scorecard for a given Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param aggregationInterval The aggregation interval of the Latency Scorecard.
+ * @param endDateTimeUtc The end DateTime of the Latency Scorecard in UTC.
+ * @param country The country associated with the Latency Scorecard. Values are country ISO codes as specified here-
+ * https://www.iso.org/iso-3166-country-codes.html.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Latency Scorecard for a given Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getLatencyScorecardsWithResponse(
+ String resourceGroupName,
+ String profileName,
+ String experimentName,
+ LatencyScorecardAggregationInterval aggregationInterval,
+ String endDateTimeUtc,
+ String country,
+ Context context);
+
+ /**
+ * Gets a Timeseries for a given Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param startDateTimeUtc The start DateTime of the Timeseries in UTC.
+ * @param endDateTimeUtc The end DateTime of the Timeseries in UTC.
+ * @param aggregationInterval The aggregation interval of the Timeseries.
+ * @param timeseriesType The type of Timeseries.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Timeseries for a given Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ TimeseriesInner getTimeseries(
+ String resourceGroupName,
+ String profileName,
+ String experimentName,
+ OffsetDateTime startDateTimeUtc,
+ OffsetDateTime endDateTimeUtc,
+ TimeseriesAggregationInterval aggregationInterval,
+ TimeseriesType timeseriesType);
+
+ /**
+ * Gets a Timeseries for a given Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param startDateTimeUtc The start DateTime of the Timeseries in UTC.
+ * @param endDateTimeUtc The end DateTime of the Timeseries in UTC.
+ * @param aggregationInterval The aggregation interval of the Timeseries.
+ * @param timeseriesType The type of Timeseries.
+ * @param endpoint The specific endpoint.
+ * @param country The country associated with the Timeseries. Values are country ISO codes as specified here-
+ * https://www.iso.org/iso-3166-country-codes.html.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Timeseries for a given Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getTimeseriesWithResponse(
+ String resourceGroupName,
+ String profileName,
+ String experimentName,
+ OffsetDateTime startDateTimeUtc,
+ OffsetDateTime endDateTimeUtc,
+ TimeseriesAggregationInterval aggregationInterval,
+ TimeseriesType timeseriesType,
+ String endpoint,
+ String country,
+ Context context);
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/RulesEnginesClient.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/RulesEnginesClient.java
new file mode 100644
index 0000000000000..f4b67159ce8ec
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/RulesEnginesClient.java
@@ -0,0 +1,214 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.frontdoor.fluent.models.RulesEngineInner;
+
+/** An instance of this class provides access to all the operations defined in RulesEnginesClient. */
+public interface RulesEnginesClient {
+ /**
+ * Lists all of the Rules Engine Configurations within a Front Door.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return result of the request to list Rules Engine Configurations.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByFrontDoor(String resourceGroupName, String frontDoorName);
+
+ /**
+ * Lists all of the Rules Engine Configurations within a Front Door.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return result of the request to list Rules Engine Configurations.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByFrontDoor(String resourceGroupName, String frontDoorName, Context context);
+
+ /**
+ * Gets a Rules Engine Configuration with the specified name within the specified Front Door.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Rules Engine Configuration with the specified name within the specified Front Door.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ RulesEngineInner get(String resourceGroupName, String frontDoorName, String rulesEngineName);
+
+ /**
+ * Gets a Rules Engine Configuration with the specified name within the specified Front Door.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Rules Engine Configuration with the specified name within the specified Front Door.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String frontDoorName, String rulesEngineName, Context context);
+
+ /**
+ * Creates a new Rules Engine Configuration with the specified name within the specified Front Door.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
+ * @param rulesEngineParameters Rules Engine Configuration properties needed to create a new Rules Engine
+ * Configuration.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a rules engine configuration containing a list of rules that will run to modify the runtime behavior of
+ * the request and response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, RulesEngineInner> beginCreateOrUpdate(
+ String resourceGroupName, String frontDoorName, String rulesEngineName, RulesEngineInner rulesEngineParameters);
+
+ /**
+ * Creates a new Rules Engine Configuration with the specified name within the specified Front Door.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
+ * @param rulesEngineParameters Rules Engine Configuration properties needed to create a new Rules Engine
+ * Configuration.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a rules engine configuration containing a list of rules that will run to modify the runtime behavior of
+ * the request and response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, RulesEngineInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String frontDoorName,
+ String rulesEngineName,
+ RulesEngineInner rulesEngineParameters,
+ Context context);
+
+ /**
+ * Creates a new Rules Engine Configuration with the specified name within the specified Front Door.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
+ * @param rulesEngineParameters Rules Engine Configuration properties needed to create a new Rules Engine
+ * Configuration.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a rules engine configuration containing a list of rules that will run to modify the runtime behavior of
+ * the request and response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ RulesEngineInner createOrUpdate(
+ String resourceGroupName, String frontDoorName, String rulesEngineName, RulesEngineInner rulesEngineParameters);
+
+ /**
+ * Creates a new Rules Engine Configuration with the specified name within the specified Front Door.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
+ * @param rulesEngineParameters Rules Engine Configuration properties needed to create a new Rules Engine
+ * Configuration.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a rules engine configuration containing a list of rules that will run to modify the runtime behavior of
+ * the request and response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ RulesEngineInner createOrUpdate(
+ String resourceGroupName,
+ String frontDoorName,
+ String rulesEngineName,
+ RulesEngineInner rulesEngineParameters,
+ Context context);
+
+ /**
+ * Deletes an existing Rules Engine Configuration with the specified parameters.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String frontDoorName, String rulesEngineName);
+
+ /**
+ * Deletes an existing Rules Engine Configuration with the specified parameters.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String frontDoorName, String rulesEngineName, Context context);
+
+ /**
+ * Deletes an existing Rules Engine Configuration with the specified parameters.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String frontDoorName, String rulesEngineName);
+
+ /**
+ * Deletes an existing Rules Engine Configuration with the specified parameters.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String frontDoorName, String rulesEngineName, Context context);
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/CheckNameAvailabilityOutputInner.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/CheckNameAvailabilityOutputInner.java
new file mode 100644
index 0000000000000..bb737a68b2a61
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/CheckNameAvailabilityOutputInner.java
@@ -0,0 +1,70 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.frontdoor.models.Availability;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Output of check name availability API. */
+@Immutable
+public final class CheckNameAvailabilityOutputInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(CheckNameAvailabilityOutputInner.class);
+
+ /*
+ * Indicates whether the name is available.
+ */
+ @JsonProperty(value = "nameAvailability", access = JsonProperty.Access.WRITE_ONLY)
+ private Availability nameAvailability;
+
+ /*
+ * The reason why the name is not available.
+ */
+ @JsonProperty(value = "reason", access = JsonProperty.Access.WRITE_ONLY)
+ private String reason;
+
+ /*
+ * The detailed error message describing why the name is not available.
+ */
+ @JsonProperty(value = "message", access = JsonProperty.Access.WRITE_ONLY)
+ private String message;
+
+ /**
+ * Get the nameAvailability property: Indicates whether the name is available.
+ *
+ * @return the nameAvailability value.
+ */
+ public Availability nameAvailability() {
+ return this.nameAvailability;
+ }
+
+ /**
+ * Get the reason property: The reason why the name is not available.
+ *
+ * @return the reason value.
+ */
+ public String reason() {
+ return this.reason;
+ }
+
+ /**
+ * Get the message property: The detailed error message describing why the name is not available.
+ *
+ * @return the message value.
+ */
+ public String message() {
+ return this.message;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/ExperimentInner.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/ExperimentInner.java
new file mode 100644
index 0000000000000..61db0dac3ad27
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/ExperimentInner.java
@@ -0,0 +1,200 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.JsonFlatten;
+import com.azure.core.management.Resource;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.frontdoor.models.Endpoint;
+import com.azure.resourcemanager.frontdoor.models.NetworkExperimentResourceState;
+import com.azure.resourcemanager.frontdoor.models.State;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Map;
+
+/** Defines the properties of an Experiment. */
+@JsonFlatten
+@Fluent
+public class ExperimentInner extends Resource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(ExperimentInner.class);
+
+ /*
+ * The description of the details or intents of the Experiment
+ */
+ @JsonProperty(value = "properties.description")
+ private String description;
+
+ /*
+ * The endpoint A of an experiment
+ */
+ @JsonProperty(value = "properties.endpointA")
+ private Endpoint endpointA;
+
+ /*
+ * The endpoint B of an experiment
+ */
+ @JsonProperty(value = "properties.endpointB")
+ private Endpoint endpointB;
+
+ /*
+ * The state of the Experiment
+ */
+ @JsonProperty(value = "properties.enabledState")
+ private State enabledState;
+
+ /*
+ * Resource status.
+ */
+ @JsonProperty(value = "properties.resourceState", access = JsonProperty.Access.WRITE_ONLY)
+ private NetworkExperimentResourceState resourceState;
+
+ /*
+ * The description of Experiment status from the server side
+ */
+ @JsonProperty(value = "properties.status", access = JsonProperty.Access.WRITE_ONLY)
+ private String status;
+
+ /*
+ * The uri to the Script used in the Experiment
+ */
+ @JsonProperty(value = "properties.scriptFileUri", access = JsonProperty.Access.WRITE_ONLY)
+ private String scriptFileUri;
+
+ /**
+ * Get the description property: The description of the details or intents of the Experiment.
+ *
+ * @return the description value.
+ */
+ public String description() {
+ return this.description;
+ }
+
+ /**
+ * Set the description property: The description of the details or intents of the Experiment.
+ *
+ * @param description the description value to set.
+ * @return the ExperimentInner object itself.
+ */
+ public ExperimentInner withDescription(String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * Get the endpointA property: The endpoint A of an experiment.
+ *
+ * @return the endpointA value.
+ */
+ public Endpoint endpointA() {
+ return this.endpointA;
+ }
+
+ /**
+ * Set the endpointA property: The endpoint A of an experiment.
+ *
+ * @param endpointA the endpointA value to set.
+ * @return the ExperimentInner object itself.
+ */
+ public ExperimentInner withEndpointA(Endpoint endpointA) {
+ this.endpointA = endpointA;
+ return this;
+ }
+
+ /**
+ * Get the endpointB property: The endpoint B of an experiment.
+ *
+ * @return the endpointB value.
+ */
+ public Endpoint endpointB() {
+ return this.endpointB;
+ }
+
+ /**
+ * Set the endpointB property: The endpoint B of an experiment.
+ *
+ * @param endpointB the endpointB value to set.
+ * @return the ExperimentInner object itself.
+ */
+ public ExperimentInner withEndpointB(Endpoint endpointB) {
+ this.endpointB = endpointB;
+ return this;
+ }
+
+ /**
+ * Get the enabledState property: The state of the Experiment.
+ *
+ * @return the enabledState value.
+ */
+ public State enabledState() {
+ return this.enabledState;
+ }
+
+ /**
+ * Set the enabledState property: The state of the Experiment.
+ *
+ * @param enabledState the enabledState value to set.
+ * @return the ExperimentInner object itself.
+ */
+ public ExperimentInner withEnabledState(State enabledState) {
+ this.enabledState = enabledState;
+ return this;
+ }
+
+ /**
+ * Get the resourceState property: Resource status.
+ *
+ * @return the resourceState value.
+ */
+ public NetworkExperimentResourceState resourceState() {
+ return this.resourceState;
+ }
+
+ /**
+ * Get the status property: The description of Experiment status from the server side.
+ *
+ * @return the status value.
+ */
+ public String status() {
+ return this.status;
+ }
+
+ /**
+ * Get the scriptFileUri property: The uri to the Script used in the Experiment.
+ *
+ * @return the scriptFileUri value.
+ */
+ public String scriptFileUri() {
+ return this.scriptFileUri;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public ExperimentInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public ExperimentInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (endpointA() != null) {
+ endpointA().validate();
+ }
+ if (endpointB() != null) {
+ endpointB().validate();
+ }
+ }
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/FrontDoorInner.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/FrontDoorInner.java
new file mode 100644
index 0000000000000..579a658e1ceb6
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/FrontDoorInner.java
@@ -0,0 +1,360 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.JsonFlatten;
+import com.azure.core.management.Resource;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.frontdoor.models.BackendPool;
+import com.azure.resourcemanager.frontdoor.models.BackendPoolsSettings;
+import com.azure.resourcemanager.frontdoor.models.FrontDoorEnabledState;
+import com.azure.resourcemanager.frontdoor.models.FrontDoorResourceState;
+import com.azure.resourcemanager.frontdoor.models.HealthProbeSettingsModel;
+import com.azure.resourcemanager.frontdoor.models.LoadBalancingSettingsModel;
+import com.azure.resourcemanager.frontdoor.models.RoutingRule;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * Front Door represents a collection of backend endpoints to route traffic to along with rules that specify how traffic
+ * is sent there.
+ */
+@JsonFlatten
+@Fluent
+public class FrontDoorInner extends Resource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(FrontDoorInner.class);
+
+ /*
+ * A friendly name for the frontDoor
+ */
+ @JsonProperty(value = "properties.friendlyName")
+ private String friendlyName;
+
+ /*
+ * Routing rules associated with this Front Door.
+ */
+ @JsonProperty(value = "properties.routingRules")
+ private List routingRules;
+
+ /*
+ * Load balancing settings associated with this Front Door instance.
+ */
+ @JsonProperty(value = "properties.loadBalancingSettings")
+ private List loadBalancingSettings;
+
+ /*
+ * Health probe settings associated with this Front Door instance.
+ */
+ @JsonProperty(value = "properties.healthProbeSettings")
+ private List healthProbeSettings;
+
+ /*
+ * Backend pools available to routing rules.
+ */
+ @JsonProperty(value = "properties.backendPools")
+ private List backendPools;
+
+ /*
+ * Frontend endpoints available to routing rules.
+ */
+ @JsonProperty(value = "properties.frontendEndpoints")
+ private List frontendEndpoints;
+
+ /*
+ * Settings for all backendPools
+ */
+ @JsonProperty(value = "properties.backendPoolsSettings")
+ private BackendPoolsSettings backendPoolsSettings;
+
+ /*
+ * Operational status of the Front Door load balancer. Permitted values are
+ * 'Enabled' or 'Disabled'
+ */
+ @JsonProperty(value = "properties.enabledState")
+ private FrontDoorEnabledState enabledState;
+
+ /*
+ * Resource status of the Front Door.
+ */
+ @JsonProperty(value = "properties.resourceState", access = JsonProperty.Access.WRITE_ONLY)
+ private FrontDoorResourceState resourceState;
+
+ /*
+ * Provisioning state of the Front Door.
+ */
+ @JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY)
+ private String provisioningState;
+
+ /*
+ * The host that each frontendEndpoint must CNAME to.
+ */
+ @JsonProperty(value = "properties.cname", access = JsonProperty.Access.WRITE_ONLY)
+ private String cname;
+
+ /*
+ * The Id of the frontdoor.
+ */
+ @JsonProperty(value = "properties.frontdoorId", access = JsonProperty.Access.WRITE_ONLY)
+ private String frontdoorId;
+
+ /*
+ * Rules Engine Configurations available to routing rules.
+ */
+ @JsonProperty(value = "properties.rulesEngines", access = JsonProperty.Access.WRITE_ONLY)
+ private List rulesEngines;
+
+ /**
+ * Get the friendlyName property: A friendly name for the frontDoor.
+ *
+ * @return the friendlyName value.
+ */
+ public String friendlyName() {
+ return this.friendlyName;
+ }
+
+ /**
+ * Set the friendlyName property: A friendly name for the frontDoor.
+ *
+ * @param friendlyName the friendlyName value to set.
+ * @return the FrontDoorInner object itself.
+ */
+ public FrontDoorInner withFriendlyName(String friendlyName) {
+ this.friendlyName = friendlyName;
+ return this;
+ }
+
+ /**
+ * Get the routingRules property: Routing rules associated with this Front Door.
+ *
+ * @return the routingRules value.
+ */
+ public List routingRules() {
+ return this.routingRules;
+ }
+
+ /**
+ * Set the routingRules property: Routing rules associated with this Front Door.
+ *
+ * @param routingRules the routingRules value to set.
+ * @return the FrontDoorInner object itself.
+ */
+ public FrontDoorInner withRoutingRules(List routingRules) {
+ this.routingRules = routingRules;
+ return this;
+ }
+
+ /**
+ * Get the loadBalancingSettings property: Load balancing settings associated with this Front Door instance.
+ *
+ * @return the loadBalancingSettings value.
+ */
+ public List loadBalancingSettings() {
+ return this.loadBalancingSettings;
+ }
+
+ /**
+ * Set the loadBalancingSettings property: Load balancing settings associated with this Front Door instance.
+ *
+ * @param loadBalancingSettings the loadBalancingSettings value to set.
+ * @return the FrontDoorInner object itself.
+ */
+ public FrontDoorInner withLoadBalancingSettings(List loadBalancingSettings) {
+ this.loadBalancingSettings = loadBalancingSettings;
+ return this;
+ }
+
+ /**
+ * Get the healthProbeSettings property: Health probe settings associated with this Front Door instance.
+ *
+ * @return the healthProbeSettings value.
+ */
+ public List healthProbeSettings() {
+ return this.healthProbeSettings;
+ }
+
+ /**
+ * Set the healthProbeSettings property: Health probe settings associated with this Front Door instance.
+ *
+ * @param healthProbeSettings the healthProbeSettings value to set.
+ * @return the FrontDoorInner object itself.
+ */
+ public FrontDoorInner withHealthProbeSettings(List healthProbeSettings) {
+ this.healthProbeSettings = healthProbeSettings;
+ return this;
+ }
+
+ /**
+ * Get the backendPools property: Backend pools available to routing rules.
+ *
+ * @return the backendPools value.
+ */
+ public List backendPools() {
+ return this.backendPools;
+ }
+
+ /**
+ * Set the backendPools property: Backend pools available to routing rules.
+ *
+ * @param backendPools the backendPools value to set.
+ * @return the FrontDoorInner object itself.
+ */
+ public FrontDoorInner withBackendPools(List backendPools) {
+ this.backendPools = backendPools;
+ return this;
+ }
+
+ /**
+ * Get the frontendEndpoints property: Frontend endpoints available to routing rules.
+ *
+ * @return the frontendEndpoints value.
+ */
+ public List frontendEndpoints() {
+ return this.frontendEndpoints;
+ }
+
+ /**
+ * Set the frontendEndpoints property: Frontend endpoints available to routing rules.
+ *
+ * @param frontendEndpoints the frontendEndpoints value to set.
+ * @return the FrontDoorInner object itself.
+ */
+ public FrontDoorInner withFrontendEndpoints(List frontendEndpoints) {
+ this.frontendEndpoints = frontendEndpoints;
+ return this;
+ }
+
+ /**
+ * Get the backendPoolsSettings property: Settings for all backendPools.
+ *
+ * @return the backendPoolsSettings value.
+ */
+ public BackendPoolsSettings backendPoolsSettings() {
+ return this.backendPoolsSettings;
+ }
+
+ /**
+ * Set the backendPoolsSettings property: Settings for all backendPools.
+ *
+ * @param backendPoolsSettings the backendPoolsSettings value to set.
+ * @return the FrontDoorInner object itself.
+ */
+ public FrontDoorInner withBackendPoolsSettings(BackendPoolsSettings backendPoolsSettings) {
+ this.backendPoolsSettings = backendPoolsSettings;
+ return this;
+ }
+
+ /**
+ * Get the enabledState property: Operational status of the Front Door load balancer. Permitted values are 'Enabled'
+ * or 'Disabled'.
+ *
+ * @return the enabledState value.
+ */
+ public FrontDoorEnabledState enabledState() {
+ return this.enabledState;
+ }
+
+ /**
+ * Set the enabledState property: Operational status of the Front Door load balancer. Permitted values are 'Enabled'
+ * or 'Disabled'.
+ *
+ * @param enabledState the enabledState value to set.
+ * @return the FrontDoorInner object itself.
+ */
+ public FrontDoorInner withEnabledState(FrontDoorEnabledState enabledState) {
+ this.enabledState = enabledState;
+ return this;
+ }
+
+ /**
+ * Get the resourceState property: Resource status of the Front Door.
+ *
+ * @return the resourceState value.
+ */
+ public FrontDoorResourceState resourceState() {
+ return this.resourceState;
+ }
+
+ /**
+ * Get the provisioningState property: Provisioning state of the Front Door.
+ *
+ * @return the provisioningState value.
+ */
+ public String provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Get the cname property: The host that each frontendEndpoint must CNAME to.
+ *
+ * @return the cname value.
+ */
+ public String cname() {
+ return this.cname;
+ }
+
+ /**
+ * Get the frontdoorId property: The Id of the frontdoor.
+ *
+ * @return the frontdoorId value.
+ */
+ public String frontdoorId() {
+ return this.frontdoorId;
+ }
+
+ /**
+ * Get the rulesEngines property: Rules Engine Configurations available to routing rules.
+ *
+ * @return the rulesEngines value.
+ */
+ public List rulesEngines() {
+ return this.rulesEngines;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public FrontDoorInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public FrontDoorInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (routingRules() != null) {
+ routingRules().forEach(e -> e.validate());
+ }
+ if (loadBalancingSettings() != null) {
+ loadBalancingSettings().forEach(e -> e.validate());
+ }
+ if (healthProbeSettings() != null) {
+ healthProbeSettings().forEach(e -> e.validate());
+ }
+ if (backendPools() != null) {
+ backendPools().forEach(e -> e.validate());
+ }
+ if (frontendEndpoints() != null) {
+ frontendEndpoints().forEach(e -> e.validate());
+ }
+ if (backendPoolsSettings() != null) {
+ backendPoolsSettings().validate();
+ }
+ if (rulesEngines() != null) {
+ rulesEngines().forEach(e -> e.validate());
+ }
+ }
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/FrontendEndpointInner.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/FrontendEndpointInner.java
new file mode 100644
index 0000000000000..ba8de1f30e040
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/FrontendEndpointInner.java
@@ -0,0 +1,264 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.JsonFlatten;
+import com.azure.core.management.SubResource;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.frontdoor.models.CustomHttpsConfiguration;
+import com.azure.resourcemanager.frontdoor.models.CustomHttpsProvisioningState;
+import com.azure.resourcemanager.frontdoor.models.CustomHttpsProvisioningSubstate;
+import com.azure.resourcemanager.frontdoor.models.FrontDoorResourceState;
+import com.azure.resourcemanager.frontdoor.models.FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink;
+import com.azure.resourcemanager.frontdoor.models.SessionAffinityEnabledState;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** A frontend endpoint used for routing. */
+@JsonFlatten
+@Fluent
+public class FrontendEndpointInner extends SubResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(FrontendEndpointInner.class);
+
+ /*
+ * Resource name.
+ */
+ @JsonProperty(value = "name")
+ private String name;
+
+ /*
+ * Resource type.
+ */
+ @JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY)
+ private String type;
+
+ /*
+ * The host name of the frontendEndpoint. Must be a domain name.
+ */
+ @JsonProperty(value = "properties.hostName")
+ private String hostname;
+
+ /*
+ * Whether to allow session affinity on this host. Valid options are
+ * 'Enabled' or 'Disabled'
+ */
+ @JsonProperty(value = "properties.sessionAffinityEnabledState")
+ private SessionAffinityEnabledState sessionAffinityEnabledState;
+
+ /*
+ * UNUSED. This field will be ignored. The TTL to use in seconds for
+ * session affinity, if applicable.
+ */
+ @JsonProperty(value = "properties.sessionAffinityTtlSeconds")
+ private Integer sessionAffinityTtlSeconds;
+
+ /*
+ * Defines the Web Application Firewall policy for each host (if
+ * applicable)
+ */
+ @JsonProperty(value = "properties.webApplicationFirewallPolicyLink")
+ private FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink webApplicationFirewallPolicyLink;
+
+ /*
+ * Resource status.
+ */
+ @JsonProperty(value = "properties.resourceState", access = JsonProperty.Access.WRITE_ONLY)
+ private FrontDoorResourceState resourceState;
+
+ /*
+ * Provisioning status of Custom Https of the frontendEndpoint.
+ */
+ @JsonProperty(value = "properties.customHttpsProvisioningState", access = JsonProperty.Access.WRITE_ONLY)
+ private CustomHttpsProvisioningState customHttpsProvisioningState;
+
+ /*
+ * Provisioning substate shows the progress of custom HTTPS
+ * enabling/disabling process step by step.
+ */
+ @JsonProperty(value = "properties.customHttpsProvisioningSubstate", access = JsonProperty.Access.WRITE_ONLY)
+ private CustomHttpsProvisioningSubstate customHttpsProvisioningSubstate;
+
+ /*
+ * The configuration specifying how to enable HTTPS
+ */
+ @JsonProperty(value = "properties.customHttpsConfiguration", access = JsonProperty.Access.WRITE_ONLY)
+ private CustomHttpsConfiguration customHttpsConfiguration;
+
+ /**
+ * Get the name property: Resource name.
+ *
+ * @return the name value.
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Set the name property: Resource name.
+ *
+ * @param name the name value to set.
+ * @return the FrontendEndpointInner object itself.
+ */
+ public FrontendEndpointInner withName(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Get the type property: Resource type.
+ *
+ * @return the type value.
+ */
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the hostname property: The host name of the frontendEndpoint. Must be a domain name.
+ *
+ * @return the hostname value.
+ */
+ public String hostname() {
+ return this.hostname;
+ }
+
+ /**
+ * Set the hostname property: The host name of the frontendEndpoint. Must be a domain name.
+ *
+ * @param hostname the hostname value to set.
+ * @return the FrontendEndpointInner object itself.
+ */
+ public FrontendEndpointInner withHostname(String hostname) {
+ this.hostname = hostname;
+ return this;
+ }
+
+ /**
+ * Get the sessionAffinityEnabledState property: Whether to allow session affinity on this host. Valid options are
+ * 'Enabled' or 'Disabled'.
+ *
+ * @return the sessionAffinityEnabledState value.
+ */
+ public SessionAffinityEnabledState sessionAffinityEnabledState() {
+ return this.sessionAffinityEnabledState;
+ }
+
+ /**
+ * Set the sessionAffinityEnabledState property: Whether to allow session affinity on this host. Valid options are
+ * 'Enabled' or 'Disabled'.
+ *
+ * @param sessionAffinityEnabledState the sessionAffinityEnabledState value to set.
+ * @return the FrontendEndpointInner object itself.
+ */
+ public FrontendEndpointInner withSessionAffinityEnabledState(
+ SessionAffinityEnabledState sessionAffinityEnabledState) {
+ this.sessionAffinityEnabledState = sessionAffinityEnabledState;
+ return this;
+ }
+
+ /**
+ * Get the sessionAffinityTtlSeconds property: UNUSED. This field will be ignored. The TTL to use in seconds for
+ * session affinity, if applicable.
+ *
+ * @return the sessionAffinityTtlSeconds value.
+ */
+ public Integer sessionAffinityTtlSeconds() {
+ return this.sessionAffinityTtlSeconds;
+ }
+
+ /**
+ * Set the sessionAffinityTtlSeconds property: UNUSED. This field will be ignored. The TTL to use in seconds for
+ * session affinity, if applicable.
+ *
+ * @param sessionAffinityTtlSeconds the sessionAffinityTtlSeconds value to set.
+ * @return the FrontendEndpointInner object itself.
+ */
+ public FrontendEndpointInner withSessionAffinityTtlSeconds(Integer sessionAffinityTtlSeconds) {
+ this.sessionAffinityTtlSeconds = sessionAffinityTtlSeconds;
+ return this;
+ }
+
+ /**
+ * Get the webApplicationFirewallPolicyLink property: Defines the Web Application Firewall policy for each host (if
+ * applicable).
+ *
+ * @return the webApplicationFirewallPolicyLink value.
+ */
+ public FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink webApplicationFirewallPolicyLink() {
+ return this.webApplicationFirewallPolicyLink;
+ }
+
+ /**
+ * Set the webApplicationFirewallPolicyLink property: Defines the Web Application Firewall policy for each host (if
+ * applicable).
+ *
+ * @param webApplicationFirewallPolicyLink the webApplicationFirewallPolicyLink value to set.
+ * @return the FrontendEndpointInner object itself.
+ */
+ public FrontendEndpointInner withWebApplicationFirewallPolicyLink(
+ FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink webApplicationFirewallPolicyLink) {
+ this.webApplicationFirewallPolicyLink = webApplicationFirewallPolicyLink;
+ return this;
+ }
+
+ /**
+ * Get the resourceState property: Resource status.
+ *
+ * @return the resourceState value.
+ */
+ public FrontDoorResourceState resourceState() {
+ return this.resourceState;
+ }
+
+ /**
+ * Get the customHttpsProvisioningState property: Provisioning status of Custom Https of the frontendEndpoint.
+ *
+ * @return the customHttpsProvisioningState value.
+ */
+ public CustomHttpsProvisioningState customHttpsProvisioningState() {
+ return this.customHttpsProvisioningState;
+ }
+
+ /**
+ * Get the customHttpsProvisioningSubstate property: Provisioning substate shows the progress of custom HTTPS
+ * enabling/disabling process step by step.
+ *
+ * @return the customHttpsProvisioningSubstate value.
+ */
+ public CustomHttpsProvisioningSubstate customHttpsProvisioningSubstate() {
+ return this.customHttpsProvisioningSubstate;
+ }
+
+ /**
+ * Get the customHttpsConfiguration property: The configuration specifying how to enable HTTPS.
+ *
+ * @return the customHttpsConfiguration value.
+ */
+ public CustomHttpsConfiguration customHttpsConfiguration() {
+ return this.customHttpsConfiguration;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public FrontendEndpointInner withId(String id) {
+ super.withId(id);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (webApplicationFirewallPolicyLink() != null) {
+ webApplicationFirewallPolicyLink().validate();
+ }
+ if (customHttpsConfiguration() != null) {
+ customHttpsConfiguration().validate();
+ }
+ }
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/LatencyScorecardInner.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/LatencyScorecardInner.java
new file mode 100644
index 0000000000000..7c5cec1f42723
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/LatencyScorecardInner.java
@@ -0,0 +1,197 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.JsonFlatten;
+import com.azure.core.management.Resource;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.frontdoor.models.LatencyMetric;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.time.OffsetDateTime;
+import java.util.List;
+import java.util.Map;
+
+/** Defines the LatencyScorecard. */
+@JsonFlatten
+@Fluent
+public class LatencyScorecardInner extends Resource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(LatencyScorecardInner.class);
+
+ /*
+ * The unique identifier of the Latency Scorecard
+ */
+ @JsonProperty(value = "properties.id", access = JsonProperty.Access.WRITE_ONLY)
+ private String idPropertiesId;
+
+ /*
+ * The name of the Latency Scorecard
+ */
+ @JsonProperty(value = "properties.name", access = JsonProperty.Access.WRITE_ONLY)
+ private String namePropertiesName;
+
+ /*
+ * The description of the Latency Scorecard
+ */
+ @JsonProperty(value = "properties.description", access = JsonProperty.Access.WRITE_ONLY)
+ private String description;
+
+ /*
+ * The A endpoint in the scorecard
+ */
+ @JsonProperty(value = "properties.endpointA", access = JsonProperty.Access.WRITE_ONLY)
+ private String endpointA;
+
+ /*
+ * The B endpoint in the scorecard
+ */
+ @JsonProperty(value = "properties.endpointB", access = JsonProperty.Access.WRITE_ONLY)
+ private String endpointB;
+
+ /*
+ * The start time of the Latency Scorecard in UTC
+ */
+ @JsonProperty(value = "properties.startDateTimeUTC", access = JsonProperty.Access.WRITE_ONLY)
+ private OffsetDateTime startDateTimeUtc;
+
+ /*
+ * The end time of the Latency Scorecard in UTC
+ */
+ @JsonProperty(value = "properties.endDateTimeUTC", access = JsonProperty.Access.WRITE_ONLY)
+ private OffsetDateTime endDateTimeUtc;
+
+ /*
+ * The country associated with the Latency Scorecard. Values are country
+ * ISO codes as specified here-
+ * https://www.iso.org/iso-3166-country-codes.html
+ */
+ @JsonProperty(value = "properties.country", access = JsonProperty.Access.WRITE_ONLY)
+ private String country;
+
+ /*
+ * The latency metrics of the Latency Scorecard
+ */
+ @JsonProperty(value = "properties.latencyMetrics")
+ private List latencyMetrics;
+
+ /**
+ * Get the idPropertiesId property: The unique identifier of the Latency Scorecard.
+ *
+ * @return the idPropertiesId value.
+ */
+ public String idPropertiesId() {
+ return this.idPropertiesId;
+ }
+
+ /**
+ * Get the namePropertiesName property: The name of the Latency Scorecard.
+ *
+ * @return the namePropertiesName value.
+ */
+ public String namePropertiesName() {
+ return this.namePropertiesName;
+ }
+
+ /**
+ * Get the description property: The description of the Latency Scorecard.
+ *
+ * @return the description value.
+ */
+ public String description() {
+ return this.description;
+ }
+
+ /**
+ * Get the endpointA property: The A endpoint in the scorecard.
+ *
+ * @return the endpointA value.
+ */
+ public String endpointA() {
+ return this.endpointA;
+ }
+
+ /**
+ * Get the endpointB property: The B endpoint in the scorecard.
+ *
+ * @return the endpointB value.
+ */
+ public String endpointB() {
+ return this.endpointB;
+ }
+
+ /**
+ * Get the startDateTimeUtc property: The start time of the Latency Scorecard in UTC.
+ *
+ * @return the startDateTimeUtc value.
+ */
+ public OffsetDateTime startDateTimeUtc() {
+ return this.startDateTimeUtc;
+ }
+
+ /**
+ * Get the endDateTimeUtc property: The end time of the Latency Scorecard in UTC.
+ *
+ * @return the endDateTimeUtc value.
+ */
+ public OffsetDateTime endDateTimeUtc() {
+ return this.endDateTimeUtc;
+ }
+
+ /**
+ * Get the country property: The country associated with the Latency Scorecard. Values are country ISO codes as
+ * specified here- https://www.iso.org/iso-3166-country-codes.html.
+ *
+ * @return the country value.
+ */
+ public String country() {
+ return this.country;
+ }
+
+ /**
+ * Get the latencyMetrics property: The latency metrics of the Latency Scorecard.
+ *
+ * @return the latencyMetrics value.
+ */
+ public List latencyMetrics() {
+ return this.latencyMetrics;
+ }
+
+ /**
+ * Set the latencyMetrics property: The latency metrics of the Latency Scorecard.
+ *
+ * @param latencyMetrics the latencyMetrics value to set.
+ * @return the LatencyScorecardInner object itself.
+ */
+ public LatencyScorecardInner withLatencyMetrics(List latencyMetrics) {
+ this.latencyMetrics = latencyMetrics;
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public LatencyScorecardInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public LatencyScorecardInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (latencyMetrics() != null) {
+ latencyMetrics().forEach(e -> e.validate());
+ }
+ }
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/ManagedRuleSetDefinitionInner.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/ManagedRuleSetDefinitionInner.java
new file mode 100644
index 0000000000000..d3a588629a6db
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/ManagedRuleSetDefinitionInner.java
@@ -0,0 +1,122 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.annotation.JsonFlatten;
+import com.azure.core.management.Resource;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.frontdoor.models.ManagedRuleGroupDefinition;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+import java.util.Map;
+
+/** Describes the a managed rule set definition. */
+@JsonFlatten
+@Immutable
+public class ManagedRuleSetDefinitionInner extends Resource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(ManagedRuleSetDefinitionInner.class);
+
+ /*
+ * Provisioning state of the managed rule set.
+ */
+ @JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY)
+ private String provisioningState;
+
+ /*
+ * Id of the managed rule set.
+ */
+ @JsonProperty(value = "properties.ruleSetId", access = JsonProperty.Access.WRITE_ONLY)
+ private String ruleSetId;
+
+ /*
+ * Type of the managed rule set.
+ */
+ @JsonProperty(value = "properties.ruleSetType", access = JsonProperty.Access.WRITE_ONLY)
+ private String ruleSetType;
+
+ /*
+ * Version of the managed rule set type.
+ */
+ @JsonProperty(value = "properties.ruleSetVersion", access = JsonProperty.Access.WRITE_ONLY)
+ private String ruleSetVersion;
+
+ /*
+ * Rule groups of the managed rule set.
+ */
+ @JsonProperty(value = "properties.ruleGroups", access = JsonProperty.Access.WRITE_ONLY)
+ private List ruleGroups;
+
+ /**
+ * Get the provisioningState property: Provisioning state of the managed rule set.
+ *
+ * @return the provisioningState value.
+ */
+ public String provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Get the ruleSetId property: Id of the managed rule set.
+ *
+ * @return the ruleSetId value.
+ */
+ public String ruleSetId() {
+ return this.ruleSetId;
+ }
+
+ /**
+ * Get the ruleSetType property: Type of the managed rule set.
+ *
+ * @return the ruleSetType value.
+ */
+ public String ruleSetType() {
+ return this.ruleSetType;
+ }
+
+ /**
+ * Get the ruleSetVersion property: Version of the managed rule set type.
+ *
+ * @return the ruleSetVersion value.
+ */
+ public String ruleSetVersion() {
+ return this.ruleSetVersion;
+ }
+
+ /**
+ * Get the ruleGroups property: Rule groups of the managed rule set.
+ *
+ * @return the ruleGroups value.
+ */
+ public List ruleGroups() {
+ return this.ruleGroups;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public ManagedRuleSetDefinitionInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public ManagedRuleSetDefinitionInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (ruleGroups() != null) {
+ ruleGroups().forEach(e -> e.validate());
+ }
+ }
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/PreconfiguredEndpointInner.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/PreconfiguredEndpointInner.java
new file mode 100644
index 0000000000000..98c97981c3af7
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/PreconfiguredEndpointInner.java
@@ -0,0 +1,147 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.JsonFlatten;
+import com.azure.core.management.Resource;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.frontdoor.models.EndpointType;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Map;
+
+/** Defines the properties of a preconfigured endpoint. */
+@JsonFlatten
+@Fluent
+public class PreconfiguredEndpointInner extends Resource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(PreconfiguredEndpointInner.class);
+
+ /*
+ * The description of the endpoint
+ */
+ @JsonProperty(value = "properties.description")
+ private String description;
+
+ /*
+ * The endpoint that is preconfigured
+ */
+ @JsonProperty(value = "properties.endpoint")
+ private String endpoint;
+
+ /*
+ * The type of endpoint
+ */
+ @JsonProperty(value = "properties.endpointType")
+ private EndpointType endpointType;
+
+ /*
+ * The preconfigured endpoint backend
+ */
+ @JsonProperty(value = "properties.backend")
+ private String backend;
+
+ /**
+ * Get the description property: The description of the endpoint.
+ *
+ * @return the description value.
+ */
+ public String description() {
+ return this.description;
+ }
+
+ /**
+ * Set the description property: The description of the endpoint.
+ *
+ * @param description the description value to set.
+ * @return the PreconfiguredEndpointInner object itself.
+ */
+ public PreconfiguredEndpointInner withDescription(String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * Get the endpoint property: The endpoint that is preconfigured.
+ *
+ * @return the endpoint value.
+ */
+ public String endpoint() {
+ return this.endpoint;
+ }
+
+ /**
+ * Set the endpoint property: The endpoint that is preconfigured.
+ *
+ * @param endpoint the endpoint value to set.
+ * @return the PreconfiguredEndpointInner object itself.
+ */
+ public PreconfiguredEndpointInner withEndpoint(String endpoint) {
+ this.endpoint = endpoint;
+ return this;
+ }
+
+ /**
+ * Get the endpointType property: The type of endpoint.
+ *
+ * @return the endpointType value.
+ */
+ public EndpointType endpointType() {
+ return this.endpointType;
+ }
+
+ /**
+ * Set the endpointType property: The type of endpoint.
+ *
+ * @param endpointType the endpointType value to set.
+ * @return the PreconfiguredEndpointInner object itself.
+ */
+ public PreconfiguredEndpointInner withEndpointType(EndpointType endpointType) {
+ this.endpointType = endpointType;
+ return this;
+ }
+
+ /**
+ * Get the backend property: The preconfigured endpoint backend.
+ *
+ * @return the backend value.
+ */
+ public String backend() {
+ return this.backend;
+ }
+
+ /**
+ * Set the backend property: The preconfigured endpoint backend.
+ *
+ * @param backend the backend value to set.
+ * @return the PreconfiguredEndpointInner object itself.
+ */
+ public PreconfiguredEndpointInner withBackend(String backend) {
+ this.backend = backend;
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public PreconfiguredEndpointInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public PreconfiguredEndpointInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/ProfileInner.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/ProfileInner.java
new file mode 100644
index 0000000000000..16bd9705eeb6f
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/ProfileInner.java
@@ -0,0 +1,112 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.JsonFlatten;
+import com.azure.core.management.Resource;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.frontdoor.models.NetworkExperimentResourceState;
+import com.azure.resourcemanager.frontdoor.models.State;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Map;
+
+/** Defines an Network Experiment Profile and lists of Experiments. */
+@JsonFlatten
+@Fluent
+public class ProfileInner extends Resource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(ProfileInner.class);
+
+ /*
+ * Gets a unique read-only string that changes whenever the resource is
+ * updated.
+ */
+ @JsonProperty(value = "etag")
+ private String etag;
+
+ /*
+ * Resource status.
+ */
+ @JsonProperty(value = "properties.resourceState", access = JsonProperty.Access.WRITE_ONLY)
+ private NetworkExperimentResourceState resourceState;
+
+ /*
+ * The state of the Experiment
+ */
+ @JsonProperty(value = "properties.enabledState")
+ private State enabledState;
+
+ /**
+ * Get the etag property: Gets a unique read-only string that changes whenever the resource is updated.
+ *
+ * @return the etag value.
+ */
+ public String etag() {
+ return this.etag;
+ }
+
+ /**
+ * Set the etag property: Gets a unique read-only string that changes whenever the resource is updated.
+ *
+ * @param etag the etag value to set.
+ * @return the ProfileInner object itself.
+ */
+ public ProfileInner withEtag(String etag) {
+ this.etag = etag;
+ return this;
+ }
+
+ /**
+ * Get the resourceState property: Resource status.
+ *
+ * @return the resourceState value.
+ */
+ public NetworkExperimentResourceState resourceState() {
+ return this.resourceState;
+ }
+
+ /**
+ * Get the enabledState property: The state of the Experiment.
+ *
+ * @return the enabledState value.
+ */
+ public State enabledState() {
+ return this.enabledState;
+ }
+
+ /**
+ * Set the enabledState property: The state of the Experiment.
+ *
+ * @param enabledState the enabledState value to set.
+ * @return the ProfileInner object itself.
+ */
+ public ProfileInner withEnabledState(State enabledState) {
+ this.enabledState = enabledState;
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public ProfileInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public ProfileInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/RulesEngineInner.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/RulesEngineInner.java
new file mode 100644
index 0000000000000..4ddb1316616cb
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/RulesEngineInner.java
@@ -0,0 +1,77 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.JsonFlatten;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.frontdoor.models.FrontDoorResourceState;
+import com.azure.resourcemanager.frontdoor.models.RulesEngineRule;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/**
+ * A rules engine configuration containing a list of rules that will run to modify the runtime behavior of the request
+ * and response.
+ */
+@JsonFlatten
+@Fluent
+public class RulesEngineInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(RulesEngineInner.class);
+
+ /*
+ * A list of rules that define a particular Rules Engine Configuration.
+ */
+ @JsonProperty(value = "properties.rules")
+ private List rules;
+
+ /*
+ * Resource status.
+ */
+ @JsonProperty(value = "properties.resourceState", access = JsonProperty.Access.WRITE_ONLY)
+ private FrontDoorResourceState resourceState;
+
+ /**
+ * Get the rules property: A list of rules that define a particular Rules Engine Configuration.
+ *
+ * @return the rules value.
+ */
+ public List rules() {
+ return this.rules;
+ }
+
+ /**
+ * Set the rules property: A list of rules that define a particular Rules Engine Configuration.
+ *
+ * @param rules the rules value to set.
+ * @return the RulesEngineInner object itself.
+ */
+ public RulesEngineInner withRules(List rules) {
+ this.rules = rules;
+ return this;
+ }
+
+ /**
+ * Get the resourceState property: Resource status.
+ *
+ * @return the resourceState value.
+ */
+ public FrontDoorResourceState resourceState() {
+ return this.resourceState;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (rules() != null) {
+ rules().forEach(e -> e.validate());
+ }
+ }
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/TimeseriesInner.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/TimeseriesInner.java
new file mode 100644
index 0000000000000..501e4766d0995
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/TimeseriesInner.java
@@ -0,0 +1,234 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.JsonFlatten;
+import com.azure.core.management.Resource;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.frontdoor.models.AggregationInterval;
+import com.azure.resourcemanager.frontdoor.models.TimeseriesDataPoint;
+import com.azure.resourcemanager.frontdoor.models.TimeseriesType;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+import java.util.Map;
+
+/** Defines the Timeseries. */
+@JsonFlatten
+@Fluent
+public class TimeseriesInner extends Resource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(TimeseriesInner.class);
+
+ /*
+ * The endpoint associated with the Timeseries data point
+ */
+ @JsonProperty(value = "properties.endpoint")
+ private String endpoint;
+
+ /*
+ * The start DateTime of the Timeseries in UTC
+ */
+ @JsonProperty(value = "properties.startDateTimeUTC")
+ private String startDateTimeUtc;
+
+ /*
+ * The end DateTime of the Timeseries in UTC
+ */
+ @JsonProperty(value = "properties.endDateTimeUTC")
+ private String endDateTimeUtc;
+
+ /*
+ * The aggregation interval of the Timeseries
+ */
+ @JsonProperty(value = "properties.aggregationInterval")
+ private AggregationInterval aggregationInterval;
+
+ /*
+ * The type of Timeseries
+ */
+ @JsonProperty(value = "properties.timeseriesType")
+ private TimeseriesType timeseriesType;
+
+ /*
+ * The country associated with the Timeseries. Values are country ISO codes
+ * as specified here- https://www.iso.org/iso-3166-country-codes.html
+ */
+ @JsonProperty(value = "properties.country")
+ private String country;
+
+ /*
+ * The set of data points for the timeseries
+ */
+ @JsonProperty(value = "properties.timeseriesData")
+ private List timeseriesData;
+
+ /**
+ * Get the endpoint property: The endpoint associated with the Timeseries data point.
+ *
+ * @return the endpoint value.
+ */
+ public String endpoint() {
+ return this.endpoint;
+ }
+
+ /**
+ * Set the endpoint property: The endpoint associated with the Timeseries data point.
+ *
+ * @param endpoint the endpoint value to set.
+ * @return the TimeseriesInner object itself.
+ */
+ public TimeseriesInner withEndpoint(String endpoint) {
+ this.endpoint = endpoint;
+ return this;
+ }
+
+ /**
+ * Get the startDateTimeUtc property: The start DateTime of the Timeseries in UTC.
+ *
+ * @return the startDateTimeUtc value.
+ */
+ public String startDateTimeUtc() {
+ return this.startDateTimeUtc;
+ }
+
+ /**
+ * Set the startDateTimeUtc property: The start DateTime of the Timeseries in UTC.
+ *
+ * @param startDateTimeUtc the startDateTimeUtc value to set.
+ * @return the TimeseriesInner object itself.
+ */
+ public TimeseriesInner withStartDateTimeUtc(String startDateTimeUtc) {
+ this.startDateTimeUtc = startDateTimeUtc;
+ return this;
+ }
+
+ /**
+ * Get the endDateTimeUtc property: The end DateTime of the Timeseries in UTC.
+ *
+ * @return the endDateTimeUtc value.
+ */
+ public String endDateTimeUtc() {
+ return this.endDateTimeUtc;
+ }
+
+ /**
+ * Set the endDateTimeUtc property: The end DateTime of the Timeseries in UTC.
+ *
+ * @param endDateTimeUtc the endDateTimeUtc value to set.
+ * @return the TimeseriesInner object itself.
+ */
+ public TimeseriesInner withEndDateTimeUtc(String endDateTimeUtc) {
+ this.endDateTimeUtc = endDateTimeUtc;
+ return this;
+ }
+
+ /**
+ * Get the aggregationInterval property: The aggregation interval of the Timeseries.
+ *
+ * @return the aggregationInterval value.
+ */
+ public AggregationInterval aggregationInterval() {
+ return this.aggregationInterval;
+ }
+
+ /**
+ * Set the aggregationInterval property: The aggregation interval of the Timeseries.
+ *
+ * @param aggregationInterval the aggregationInterval value to set.
+ * @return the TimeseriesInner object itself.
+ */
+ public TimeseriesInner withAggregationInterval(AggregationInterval aggregationInterval) {
+ this.aggregationInterval = aggregationInterval;
+ return this;
+ }
+
+ /**
+ * Get the timeseriesType property: The type of Timeseries.
+ *
+ * @return the timeseriesType value.
+ */
+ public TimeseriesType timeseriesType() {
+ return this.timeseriesType;
+ }
+
+ /**
+ * Set the timeseriesType property: The type of Timeseries.
+ *
+ * @param timeseriesType the timeseriesType value to set.
+ * @return the TimeseriesInner object itself.
+ */
+ public TimeseriesInner withTimeseriesType(TimeseriesType timeseriesType) {
+ this.timeseriesType = timeseriesType;
+ return this;
+ }
+
+ /**
+ * Get the country property: The country associated with the Timeseries. Values are country ISO codes as specified
+ * here- https://www.iso.org/iso-3166-country-codes.html.
+ *
+ * @return the country value.
+ */
+ public String country() {
+ return this.country;
+ }
+
+ /**
+ * Set the country property: The country associated with the Timeseries. Values are country ISO codes as specified
+ * here- https://www.iso.org/iso-3166-country-codes.html.
+ *
+ * @param country the country value to set.
+ * @return the TimeseriesInner object itself.
+ */
+ public TimeseriesInner withCountry(String country) {
+ this.country = country;
+ return this;
+ }
+
+ /**
+ * Get the timeseriesData property: The set of data points for the timeseries.
+ *
+ * @return the timeseriesData value.
+ */
+ public List timeseriesData() {
+ return this.timeseriesData;
+ }
+
+ /**
+ * Set the timeseriesData property: The set of data points for the timeseries.
+ *
+ * @param timeseriesData the timeseriesData value to set.
+ * @return the TimeseriesInner object itself.
+ */
+ public TimeseriesInner withTimeseriesData(List timeseriesData) {
+ this.timeseriesData = timeseriesData;
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public TimeseriesInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public TimeseriesInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (timeseriesData() != null) {
+ timeseriesData().forEach(e -> e.validate());
+ }
+ }
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/ValidateCustomDomainOutputInner.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/ValidateCustomDomainOutputInner.java
new file mode 100644
index 0000000000000..470270d3768b9
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/ValidateCustomDomainOutputInner.java
@@ -0,0 +1,69 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.util.logging.ClientLogger;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Output of custom domain validation. */
+@Immutable
+public final class ValidateCustomDomainOutputInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(ValidateCustomDomainOutputInner.class);
+
+ /*
+ * Indicates whether the custom domain is valid or not.
+ */
+ @JsonProperty(value = "customDomainValidated", access = JsonProperty.Access.WRITE_ONLY)
+ private Boolean customDomainValidated;
+
+ /*
+ * The reason why the custom domain is not valid.
+ */
+ @JsonProperty(value = "reason", access = JsonProperty.Access.WRITE_ONLY)
+ private String reason;
+
+ /*
+ * Error message describing why the custom domain is not valid.
+ */
+ @JsonProperty(value = "message", access = JsonProperty.Access.WRITE_ONLY)
+ private String message;
+
+ /**
+ * Get the customDomainValidated property: Indicates whether the custom domain is valid or not.
+ *
+ * @return the customDomainValidated value.
+ */
+ public Boolean customDomainValidated() {
+ return this.customDomainValidated;
+ }
+
+ /**
+ * Get the reason property: The reason why the custom domain is not valid.
+ *
+ * @return the reason value.
+ */
+ public String reason() {
+ return this.reason;
+ }
+
+ /**
+ * Get the message property: Error message describing why the custom domain is not valid.
+ *
+ * @return the message value.
+ */
+ public String message() {
+ return this.message;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/WebApplicationFirewallPolicyInner.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/WebApplicationFirewallPolicyInner.java
new file mode 100644
index 0000000000000..2030bc78a0b1d
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/WebApplicationFirewallPolicyInner.java
@@ -0,0 +1,286 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.JsonFlatten;
+import com.azure.core.management.Resource;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.frontdoor.models.CustomRuleList;
+import com.azure.resourcemanager.frontdoor.models.FrontendEndpointLink;
+import com.azure.resourcemanager.frontdoor.models.ManagedRuleSetList;
+import com.azure.resourcemanager.frontdoor.models.PolicyResourceState;
+import com.azure.resourcemanager.frontdoor.models.PolicySettings;
+import com.azure.resourcemanager.frontdoor.models.RoutingRuleLink;
+import com.azure.resourcemanager.frontdoor.models.SecurityPolicyLink;
+import com.azure.resourcemanager.frontdoor.models.Sku;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+import java.util.Map;
+
+/** Defines web application firewall policy. */
+@JsonFlatten
+@Fluent
+public class WebApplicationFirewallPolicyInner extends Resource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(WebApplicationFirewallPolicyInner.class);
+
+ /*
+ * Gets a unique read-only string that changes whenever the resource is
+ * updated.
+ */
+ @JsonProperty(value = "etag")
+ private String etag;
+
+ /*
+ * The pricing tier of web application firewall policy. Defaults to
+ * Classic_AzureFrontDoor if not specified.
+ */
+ @JsonProperty(value = "sku")
+ private Sku sku;
+
+ /*
+ * Describes settings for the policy.
+ */
+ @JsonProperty(value = "properties.policySettings")
+ private PolicySettings policySettings;
+
+ /*
+ * Describes custom rules inside the policy.
+ */
+ @JsonProperty(value = "properties.customRules")
+ private CustomRuleList customRules;
+
+ /*
+ * Describes managed rules inside the policy.
+ */
+ @JsonProperty(value = "properties.managedRules")
+ private ManagedRuleSetList managedRules;
+
+ /*
+ * Describes Frontend Endpoints associated with this Web Application
+ * Firewall policy.
+ */
+ @JsonProperty(value = "properties.frontendEndpointLinks", access = JsonProperty.Access.WRITE_ONLY)
+ private List frontendEndpointLinks;
+
+ /*
+ * Describes Routing Rules associated with this Web Application Firewall
+ * policy.
+ */
+ @JsonProperty(value = "properties.routingRuleLinks", access = JsonProperty.Access.WRITE_ONLY)
+ private List routingRuleLinks;
+
+ /*
+ * Describes Security Policy associated with this Web Application Firewall
+ * policy.
+ */
+ @JsonProperty(value = "properties.securityPolicyLinks", access = JsonProperty.Access.WRITE_ONLY)
+ private List securityPolicyLinks;
+
+ /*
+ * Provisioning state of the policy.
+ */
+ @JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY)
+ private String provisioningState;
+
+ /*
+ * Resource status of the policy.
+ */
+ @JsonProperty(value = "properties.resourceState", access = JsonProperty.Access.WRITE_ONLY)
+ private PolicyResourceState resourceState;
+
+ /**
+ * Get the etag property: Gets a unique read-only string that changes whenever the resource is updated.
+ *
+ * @return the etag value.
+ */
+ public String etag() {
+ return this.etag;
+ }
+
+ /**
+ * Set the etag property: Gets a unique read-only string that changes whenever the resource is updated.
+ *
+ * @param etag the etag value to set.
+ * @return the WebApplicationFirewallPolicyInner object itself.
+ */
+ public WebApplicationFirewallPolicyInner withEtag(String etag) {
+ this.etag = etag;
+ return this;
+ }
+
+ /**
+ * Get the sku property: The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if
+ * not specified.
+ *
+ * @return the sku value.
+ */
+ public Sku sku() {
+ return this.sku;
+ }
+
+ /**
+ * Set the sku property: The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if
+ * not specified.
+ *
+ * @param sku the sku value to set.
+ * @return the WebApplicationFirewallPolicyInner object itself.
+ */
+ public WebApplicationFirewallPolicyInner withSku(Sku sku) {
+ this.sku = sku;
+ return this;
+ }
+
+ /**
+ * Get the policySettings property: Describes settings for the policy.
+ *
+ * @return the policySettings value.
+ */
+ public PolicySettings policySettings() {
+ return this.policySettings;
+ }
+
+ /**
+ * Set the policySettings property: Describes settings for the policy.
+ *
+ * @param policySettings the policySettings value to set.
+ * @return the WebApplicationFirewallPolicyInner object itself.
+ */
+ public WebApplicationFirewallPolicyInner withPolicySettings(PolicySettings policySettings) {
+ this.policySettings = policySettings;
+ return this;
+ }
+
+ /**
+ * Get the customRules property: Describes custom rules inside the policy.
+ *
+ * @return the customRules value.
+ */
+ public CustomRuleList customRules() {
+ return this.customRules;
+ }
+
+ /**
+ * Set the customRules property: Describes custom rules inside the policy.
+ *
+ * @param customRules the customRules value to set.
+ * @return the WebApplicationFirewallPolicyInner object itself.
+ */
+ public WebApplicationFirewallPolicyInner withCustomRules(CustomRuleList customRules) {
+ this.customRules = customRules;
+ return this;
+ }
+
+ /**
+ * Get the managedRules property: Describes managed rules inside the policy.
+ *
+ * @return the managedRules value.
+ */
+ public ManagedRuleSetList managedRules() {
+ return this.managedRules;
+ }
+
+ /**
+ * Set the managedRules property: Describes managed rules inside the policy.
+ *
+ * @param managedRules the managedRules value to set.
+ * @return the WebApplicationFirewallPolicyInner object itself.
+ */
+ public WebApplicationFirewallPolicyInner withManagedRules(ManagedRuleSetList managedRules) {
+ this.managedRules = managedRules;
+ return this;
+ }
+
+ /**
+ * Get the frontendEndpointLinks property: Describes Frontend Endpoints associated with this Web Application
+ * Firewall policy.
+ *
+ * @return the frontendEndpointLinks value.
+ */
+ public List frontendEndpointLinks() {
+ return this.frontendEndpointLinks;
+ }
+
+ /**
+ * Get the routingRuleLinks property: Describes Routing Rules associated with this Web Application Firewall policy.
+ *
+ * @return the routingRuleLinks value.
+ */
+ public List routingRuleLinks() {
+ return this.routingRuleLinks;
+ }
+
+ /**
+ * Get the securityPolicyLinks property: Describes Security Policy associated with this Web Application Firewall
+ * policy.
+ *
+ * @return the securityPolicyLinks value.
+ */
+ public List securityPolicyLinks() {
+ return this.securityPolicyLinks;
+ }
+
+ /**
+ * Get the provisioningState property: Provisioning state of the policy.
+ *
+ * @return the provisioningState value.
+ */
+ public String provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Get the resourceState property: Resource status of the policy.
+ *
+ * @return the resourceState value.
+ */
+ public PolicyResourceState resourceState() {
+ return this.resourceState;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public WebApplicationFirewallPolicyInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public WebApplicationFirewallPolicyInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (sku() != null) {
+ sku().validate();
+ }
+ if (policySettings() != null) {
+ policySettings().validate();
+ }
+ if (customRules() != null) {
+ customRules().validate();
+ }
+ if (managedRules() != null) {
+ managedRules().validate();
+ }
+ if (frontendEndpointLinks() != null) {
+ frontendEndpointLinks().forEach(e -> e.validate());
+ }
+ if (routingRuleLinks() != null) {
+ routingRuleLinks().forEach(e -> e.validate());
+ }
+ if (securityPolicyLinks() != null) {
+ securityPolicyLinks().forEach(e -> e.validate());
+ }
+ }
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/package-info.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/package-info.java
new file mode 100644
index 0000000000000..c991b0475e1d6
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/package-info.java
@@ -0,0 +1,6 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+/** Package containing the inner data models for FrontDoorManagementClient. FrontDoor Client. */
+package com.azure.resourcemanager.frontdoor.fluent.models;
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/package-info.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/package-info.java
new file mode 100644
index 0000000000000..4e3b175c470b4
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/package-info.java
@@ -0,0 +1,6 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+/** Package containing the service clients for FrontDoorManagementClient. FrontDoor Client. */
+package com.azure.resourcemanager.frontdoor.fluent;
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/CheckNameAvailabilityOutputImpl.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/CheckNameAvailabilityOutputImpl.java
new file mode 100644
index 0000000000000..7469cd7831e68
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/CheckNameAvailabilityOutputImpl.java
@@ -0,0 +1,42 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.implementation;
+
+import com.azure.resourcemanager.frontdoor.fluent.models.CheckNameAvailabilityOutputInner;
+import com.azure.resourcemanager.frontdoor.models.Availability;
+import com.azure.resourcemanager.frontdoor.models.CheckNameAvailabilityOutput;
+
+public final class CheckNameAvailabilityOutputImpl implements CheckNameAvailabilityOutput {
+ private CheckNameAvailabilityOutputInner innerObject;
+
+ private final com.azure.resourcemanager.frontdoor.FrontDoorManager serviceManager;
+
+ CheckNameAvailabilityOutputImpl(
+ CheckNameAvailabilityOutputInner innerObject,
+ com.azure.resourcemanager.frontdoor.FrontDoorManager serviceManager) {
+ this.innerObject = innerObject;
+ this.serviceManager = serviceManager;
+ }
+
+ public Availability nameAvailability() {
+ return this.innerModel().nameAvailability();
+ }
+
+ public String reason() {
+ return this.innerModel().reason();
+ }
+
+ public String message() {
+ return this.innerModel().message();
+ }
+
+ public CheckNameAvailabilityOutputInner innerModel() {
+ return this.innerObject;
+ }
+
+ private com.azure.resourcemanager.frontdoor.FrontDoorManager manager() {
+ return this.serviceManager;
+ }
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/EndpointsClientImpl.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/EndpointsClientImpl.java
new file mode 100644
index 0000000000000..455393daf88aa
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/EndpointsClientImpl.java
@@ -0,0 +1,361 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.implementation;
+
+import com.azure.core.annotation.BodyParam;
+import com.azure.core.annotation.ExpectedResponses;
+import com.azure.core.annotation.HeaderParam;
+import com.azure.core.annotation.Headers;
+import com.azure.core.annotation.Host;
+import com.azure.core.annotation.HostParam;
+import com.azure.core.annotation.PathParam;
+import com.azure.core.annotation.Post;
+import com.azure.core.annotation.QueryParam;
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceInterface;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.annotation.UnexpectedResponseExceptionType;
+import com.azure.core.http.rest.Response;
+import com.azure.core.http.rest.RestProxy;
+import com.azure.core.management.exception.ManagementException;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.FluxUtil;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.core.util.polling.PollerFlux;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.frontdoor.fluent.EndpointsClient;
+import com.azure.resourcemanager.frontdoor.models.PurgeParameters;
+import java.nio.ByteBuffer;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in EndpointsClient. */
+public final class EndpointsClientImpl implements EndpointsClient {
+ private final ClientLogger logger = new ClientLogger(EndpointsClientImpl.class);
+
+ /** The proxy service used to perform REST calls. */
+ private final EndpointsService service;
+
+ /** The service client containing this operation class. */
+ private final FrontDoorManagementClientImpl client;
+
+ /**
+ * Initializes an instance of EndpointsClientImpl.
+ *
+ * @param client the instance of the service client containing this operation class.
+ */
+ EndpointsClientImpl(FrontDoorManagementClientImpl client) {
+ this.service =
+ RestProxy.create(EndpointsService.class, client.getHttpPipeline(), client.getSerializerAdapter());
+ this.client = client;
+ }
+
+ /**
+ * The interface defining all the services for FrontDoorManagementClientEndpoints to be used by the proxy service to
+ * perform REST calls.
+ */
+ @Host("{$host}")
+ @ServiceInterface(name = "FrontDoorManagementC")
+ private interface EndpointsService {
+ @Headers({"Content-Type: application/json"})
+ @Post(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors"
+ + "/{frontDoorName}/purge")
+ @ExpectedResponses({200, 202})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> purgeContent(
+ @HostParam("$host") String endpoint,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("frontDoorName") String frontDoorName,
+ @QueryParam("api-version") String apiVersion,
+ @BodyParam("application/json") PurgeParameters contentFilePaths,
+ @HeaderParam("Accept") String accept,
+ Context context);
+ }
+
+ /**
+ * Removes a content from Front Door.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param contentFilePaths The path to the content to be purged. Path can be a full URL, e.g. '/pictures/city.png'
+ * which removes a single file, or a directory with a wildcard, e.g. '/pictures/*' which removes all folders and
+ * files in the directory.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>> purgeContentWithResponseAsync(
+ String resourceGroupName, String frontDoorName, PurgeParameters contentFilePaths) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (frontDoorName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter frontDoorName is required and cannot be null."));
+ }
+ if (contentFilePaths == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter contentFilePaths is required and cannot be null."));
+ } else {
+ contentFilePaths.validate();
+ }
+ final String apiVersion = "2020-05-01";
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context ->
+ service
+ .purgeContent(
+ this.client.getEndpoint(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ frontDoorName,
+ apiVersion,
+ contentFilePaths,
+ accept,
+ context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Removes a content from Front Door.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param contentFilePaths The path to the content to be purged. Path can be a full URL, e.g. '/pictures/city.png'
+ * which removes a single file, or a directory with a wildcard, e.g. '/pictures/*' which removes all folders and
+ * files in the directory.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>> purgeContentWithResponseAsync(
+ String resourceGroupName, String frontDoorName, PurgeParameters contentFilePaths, Context context) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (frontDoorName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter frontDoorName is required and cannot be null."));
+ }
+ if (contentFilePaths == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter contentFilePaths is required and cannot be null."));
+ } else {
+ contentFilePaths.validate();
+ }
+ final String apiVersion = "2020-05-01";
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .purgeContent(
+ this.client.getEndpoint(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ frontDoorName,
+ apiVersion,
+ contentFilePaths,
+ accept,
+ context);
+ }
+
+ /**
+ * Removes a content from Front Door.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param contentFilePaths The path to the content to be purged. Path can be a full URL, e.g. '/pictures/city.png'
+ * which removes a single file, or a directory with a wildcard, e.g. '/pictures/*' which removes all folders and
+ * files in the directory.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PollerFlux, Void> beginPurgeContentAsync(
+ String resourceGroupName, String frontDoorName, PurgeParameters contentFilePaths) {
+ Mono>> mono =
+ purgeContentWithResponseAsync(resourceGroupName, frontDoorName, contentFilePaths);
+ return this
+ .client
+ .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE);
+ }
+
+ /**
+ * Removes a content from Front Door.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param contentFilePaths The path to the content to be purged. Path can be a full URL, e.g. '/pictures/city.png'
+ * which removes a single file, or a directory with a wildcard, e.g. '/pictures/*' which removes all folders and
+ * files in the directory.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PollerFlux, Void> beginPurgeContentAsync(
+ String resourceGroupName, String frontDoorName, PurgeParameters contentFilePaths, Context context) {
+ context = this.client.mergeContext(context);
+ Mono>> mono =
+ purgeContentWithResponseAsync(resourceGroupName, frontDoorName, contentFilePaths, context);
+ return this
+ .client
+ .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, context);
+ }
+
+ /**
+ * Removes a content from Front Door.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param contentFilePaths The path to the content to be purged. Path can be a full URL, e.g. '/pictures/city.png'
+ * which removes a single file, or a directory with a wildcard, e.g. '/pictures/*' which removes all folders and
+ * files in the directory.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public SyncPoller, Void> beginPurgeContent(
+ String resourceGroupName, String frontDoorName, PurgeParameters contentFilePaths) {
+ return beginPurgeContentAsync(resourceGroupName, frontDoorName, contentFilePaths).getSyncPoller();
+ }
+
+ /**
+ * Removes a content from Front Door.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param contentFilePaths The path to the content to be purged. Path can be a full URL, e.g. '/pictures/city.png'
+ * which removes a single file, or a directory with a wildcard, e.g. '/pictures/*' which removes all folders and
+ * files in the directory.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public SyncPoller, Void> beginPurgeContent(
+ String resourceGroupName, String frontDoorName, PurgeParameters contentFilePaths, Context context) {
+ return beginPurgeContentAsync(resourceGroupName, frontDoorName, contentFilePaths, context).getSyncPoller();
+ }
+
+ /**
+ * Removes a content from Front Door.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param contentFilePaths The path to the content to be purged. Path can be a full URL, e.g. '/pictures/city.png'
+ * which removes a single file, or a directory with a wildcard, e.g. '/pictures/*' which removes all folders and
+ * files in the directory.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono purgeContentAsync(
+ String resourceGroupName, String frontDoorName, PurgeParameters contentFilePaths) {
+ return beginPurgeContentAsync(resourceGroupName, frontDoorName, contentFilePaths)
+ .last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Removes a content from Front Door.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param contentFilePaths The path to the content to be purged. Path can be a full URL, e.g. '/pictures/city.png'
+ * which removes a single file, or a directory with a wildcard, e.g. '/pictures/*' which removes all folders and
+ * files in the directory.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono purgeContentAsync(
+ String resourceGroupName, String frontDoorName, PurgeParameters contentFilePaths, Context context) {
+ return beginPurgeContentAsync(resourceGroupName, frontDoorName, contentFilePaths, context)
+ .last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Removes a content from Front Door.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param contentFilePaths The path to the content to be purged. Path can be a full URL, e.g. '/pictures/city.png'
+ * which removes a single file, or a directory with a wildcard, e.g. '/pictures/*' which removes all folders and
+ * files in the directory.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public void purgeContent(String resourceGroupName, String frontDoorName, PurgeParameters contentFilePaths) {
+ purgeContentAsync(resourceGroupName, frontDoorName, contentFilePaths).block();
+ }
+
+ /**
+ * Removes a content from Front Door.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param frontDoorName Name of the Front Door which is globally unique.
+ * @param contentFilePaths The path to the content to be purged. Path can be a full URL, e.g. '/pictures/city.png'
+ * which removes a single file, or a directory with a wildcard, e.g. '/pictures/*' which removes all folders and
+ * files in the directory.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public void purgeContent(
+ String resourceGroupName, String frontDoorName, PurgeParameters contentFilePaths, Context context) {
+ purgeContentAsync(resourceGroupName, frontDoorName, contentFilePaths, context).block();
+ }
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/EndpointsImpl.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/EndpointsImpl.java
new file mode 100644
index 0000000000000..48787055b2838
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/EndpointsImpl.java
@@ -0,0 +1,43 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.implementation;
+
+import com.azure.core.util.Context;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.frontdoor.fluent.EndpointsClient;
+import com.azure.resourcemanager.frontdoor.models.Endpoints;
+import com.azure.resourcemanager.frontdoor.models.PurgeParameters;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+
+public final class EndpointsImpl implements Endpoints {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(EndpointsImpl.class);
+
+ private final EndpointsClient innerClient;
+
+ private final com.azure.resourcemanager.frontdoor.FrontDoorManager serviceManager;
+
+ public EndpointsImpl(
+ EndpointsClient innerClient, com.azure.resourcemanager.frontdoor.FrontDoorManager serviceManager) {
+ this.innerClient = innerClient;
+ this.serviceManager = serviceManager;
+ }
+
+ public void purgeContent(String resourceGroupName, String frontDoorName, PurgeParameters contentFilePaths) {
+ this.serviceClient().purgeContent(resourceGroupName, frontDoorName, contentFilePaths);
+ }
+
+ public void purgeContent(
+ String resourceGroupName, String frontDoorName, PurgeParameters contentFilePaths, Context context) {
+ this.serviceClient().purgeContent(resourceGroupName, frontDoorName, contentFilePaths, context);
+ }
+
+ private EndpointsClient serviceClient() {
+ return this.innerClient;
+ }
+
+ private com.azure.resourcemanager.frontdoor.FrontDoorManager manager() {
+ return this.serviceManager;
+ }
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/ExperimentImpl.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/ExperimentImpl.java
new file mode 100644
index 0000000000000..eecde8222c116
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/ExperimentImpl.java
@@ -0,0 +1,234 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.implementation;
+
+import com.azure.core.management.Region;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.frontdoor.fluent.models.ExperimentInner;
+import com.azure.resourcemanager.frontdoor.models.Endpoint;
+import com.azure.resourcemanager.frontdoor.models.Experiment;
+import com.azure.resourcemanager.frontdoor.models.ExperimentUpdateModel;
+import com.azure.resourcemanager.frontdoor.models.NetworkExperimentResourceState;
+import com.azure.resourcemanager.frontdoor.models.State;
+import java.util.Collections;
+import java.util.Map;
+
+public final class ExperimentImpl implements Experiment, Experiment.Definition, Experiment.Update {
+ private ExperimentInner innerObject;
+
+ private final com.azure.resourcemanager.frontdoor.FrontDoorManager serviceManager;
+
+ public String id() {
+ return this.innerModel().id();
+ }
+
+ public String name() {
+ return this.innerModel().name();
+ }
+
+ public String type() {
+ return this.innerModel().type();
+ }
+
+ public String location() {
+ return this.innerModel().location();
+ }
+
+ public Map tags() {
+ Map inner = this.innerModel().tags();
+ if (inner != null) {
+ return Collections.unmodifiableMap(inner);
+ } else {
+ return Collections.emptyMap();
+ }
+ }
+
+ public String description() {
+ return this.innerModel().description();
+ }
+
+ public Endpoint endpointA() {
+ return this.innerModel().endpointA();
+ }
+
+ public Endpoint endpointB() {
+ return this.innerModel().endpointB();
+ }
+
+ public State enabledState() {
+ return this.innerModel().enabledState();
+ }
+
+ public NetworkExperimentResourceState resourceState() {
+ return this.innerModel().resourceState();
+ }
+
+ public String status() {
+ return this.innerModel().status();
+ }
+
+ public String scriptFileUri() {
+ return this.innerModel().scriptFileUri();
+ }
+
+ public Region region() {
+ return Region.fromName(this.regionName());
+ }
+
+ public String regionName() {
+ return this.location();
+ }
+
+ public ExperimentInner innerModel() {
+ return this.innerObject;
+ }
+
+ private com.azure.resourcemanager.frontdoor.FrontDoorManager manager() {
+ return this.serviceManager;
+ }
+
+ private String resourceGroupName;
+
+ private String profileName;
+
+ private String experimentName;
+
+ private ExperimentUpdateModel updateParameters;
+
+ public ExperimentImpl withExistingNetworkExperimentProfile(String resourceGroupName, String profileName) {
+ this.resourceGroupName = resourceGroupName;
+ this.profileName = profileName;
+ return this;
+ }
+
+ public Experiment create() {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getExperiments()
+ .createOrUpdate(resourceGroupName, profileName, experimentName, this.innerModel(), Context.NONE);
+ return this;
+ }
+
+ public Experiment create(Context context) {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getExperiments()
+ .createOrUpdate(resourceGroupName, profileName, experimentName, this.innerModel(), context);
+ return this;
+ }
+
+ ExperimentImpl(String name, com.azure.resourcemanager.frontdoor.FrontDoorManager serviceManager) {
+ this.innerObject = new ExperimentInner();
+ this.serviceManager = serviceManager;
+ this.experimentName = name;
+ }
+
+ public ExperimentImpl update() {
+ this.updateParameters = new ExperimentUpdateModel();
+ return this;
+ }
+
+ public Experiment apply() {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getExperiments()
+ .update(resourceGroupName, profileName, experimentName, updateParameters, Context.NONE);
+ return this;
+ }
+
+ public Experiment apply(Context context) {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getExperiments()
+ .update(resourceGroupName, profileName, experimentName, updateParameters, context);
+ return this;
+ }
+
+ ExperimentImpl(ExperimentInner innerObject, com.azure.resourcemanager.frontdoor.FrontDoorManager serviceManager) {
+ this.innerObject = innerObject;
+ this.serviceManager = serviceManager;
+ this.resourceGroupName = Utils.getValueFromIdByName(innerObject.id(), "resourceGroups");
+ this.profileName = Utils.getValueFromIdByName(innerObject.id(), "NetworkExperimentProfiles");
+ this.experimentName = Utils.getValueFromIdByName(innerObject.id(), "Experiments");
+ }
+
+ public Experiment refresh() {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getExperiments()
+ .getWithResponse(resourceGroupName, profileName, experimentName, Context.NONE)
+ .getValue();
+ return this;
+ }
+
+ public Experiment refresh(Context context) {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getExperiments()
+ .getWithResponse(resourceGroupName, profileName, experimentName, context)
+ .getValue();
+ return this;
+ }
+
+ public ExperimentImpl withRegion(Region location) {
+ this.innerModel().withLocation(location.toString());
+ return this;
+ }
+
+ public ExperimentImpl withRegion(String location) {
+ this.innerModel().withLocation(location);
+ return this;
+ }
+
+ public ExperimentImpl withTags(Map tags) {
+ if (isInCreateMode()) {
+ this.innerModel().withTags(tags);
+ return this;
+ } else {
+ this.updateParameters.withTags(tags);
+ return this;
+ }
+ }
+
+ public ExperimentImpl withDescription(String description) {
+ if (isInCreateMode()) {
+ this.innerModel().withDescription(description);
+ return this;
+ } else {
+ this.updateParameters.withDescription(description);
+ return this;
+ }
+ }
+
+ public ExperimentImpl withEndpointA(Endpoint endpointA) {
+ this.innerModel().withEndpointA(endpointA);
+ return this;
+ }
+
+ public ExperimentImpl withEndpointB(Endpoint endpointB) {
+ this.innerModel().withEndpointB(endpointB);
+ return this;
+ }
+
+ public ExperimentImpl withEnabledState(State enabledState) {
+ if (isInCreateMode()) {
+ this.innerModel().withEnabledState(enabledState);
+ return this;
+ } else {
+ this.updateParameters.withEnabledState(enabledState);
+ return this;
+ }
+ }
+
+ private boolean isInCreateMode() {
+ return this.innerModel().id() == null;
+ }
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/ExperimentsClientImpl.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/ExperimentsClientImpl.java
new file mode 100644
index 0000000000000..d63b08ef7b605
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/ExperimentsClientImpl.java
@@ -0,0 +1,1439 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.implementation;
+
+import com.azure.core.annotation.BodyParam;
+import com.azure.core.annotation.Delete;
+import com.azure.core.annotation.ExpectedResponses;
+import com.azure.core.annotation.Get;
+import com.azure.core.annotation.HeaderParam;
+import com.azure.core.annotation.Headers;
+import com.azure.core.annotation.Host;
+import com.azure.core.annotation.HostParam;
+import com.azure.core.annotation.Patch;
+import com.azure.core.annotation.PathParam;
+import com.azure.core.annotation.Put;
+import com.azure.core.annotation.QueryParam;
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceInterface;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.annotation.UnexpectedResponseExceptionType;
+import com.azure.core.http.rest.PagedFlux;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.PagedResponse;
+import com.azure.core.http.rest.PagedResponseBase;
+import com.azure.core.http.rest.Response;
+import com.azure.core.http.rest.RestProxy;
+import com.azure.core.management.exception.ManagementException;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.FluxUtil;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.core.util.polling.PollerFlux;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.frontdoor.fluent.ExperimentsClient;
+import com.azure.resourcemanager.frontdoor.fluent.models.ExperimentInner;
+import com.azure.resourcemanager.frontdoor.models.ExperimentList;
+import com.azure.resourcemanager.frontdoor.models.ExperimentUpdateModel;
+import java.nio.ByteBuffer;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in ExperimentsClient. */
+public final class ExperimentsClientImpl implements ExperimentsClient {
+ private final ClientLogger logger = new ClientLogger(ExperimentsClientImpl.class);
+
+ /** The proxy service used to perform REST calls. */
+ private final ExperimentsService service;
+
+ /** The service client containing this operation class. */
+ private final FrontDoorManagementClientImpl client;
+
+ /**
+ * Initializes an instance of ExperimentsClientImpl.
+ *
+ * @param client the instance of the service client containing this operation class.
+ */
+ ExperimentsClientImpl(FrontDoorManagementClientImpl client) {
+ this.service =
+ RestProxy.create(ExperimentsService.class, client.getHttpPipeline(), client.getSerializerAdapter());
+ this.client = client;
+ }
+
+ /**
+ * The interface defining all the services for FrontDoorManagementClientExperiments to be used by the proxy service
+ * to perform REST calls.
+ */
+ @Host("{$host}")
+ @ServiceInterface(name = "FrontDoorManagementC")
+ private interface ExperimentsService {
+ @Headers({"Content-Type: application/json"})
+ @Get(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network"
+ + "/NetworkExperimentProfiles/{profileName}/Experiments")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listByProfile(
+ @HostParam("$host") String endpoint,
+ @PathParam("subscriptionId") String subscriptionId,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("profileName") String profileName,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Get(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network"
+ + "/NetworkExperimentProfiles/{profileName}/Experiments/{experimentName}")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> get(
+ @HostParam("$host") String endpoint,
+ @PathParam("subscriptionId") String subscriptionId,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("profileName") String profileName,
+ @PathParam("experimentName") String experimentName,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Put(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network"
+ + "/NetworkExperimentProfiles/{profileName}/Experiments/{experimentName}")
+ @ExpectedResponses({200, 201, 202})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> createOrUpdate(
+ @HostParam("$host") String endpoint,
+ @PathParam("subscriptionId") String subscriptionId,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("profileName") String profileName,
+ @PathParam("experimentName") String experimentName,
+ @BodyParam("application/json") ExperimentInner parameters,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Patch(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network"
+ + "/NetworkExperimentProfiles/{profileName}/Experiments/{experimentName}")
+ @ExpectedResponses({200, 202})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> update(
+ @HostParam("$host") String endpoint,
+ @PathParam("subscriptionId") String subscriptionId,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("profileName") String profileName,
+ @PathParam("experimentName") String experimentName,
+ @BodyParam("application/json") ExperimentUpdateModel parameters,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Delete(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network"
+ + "/NetworkExperimentProfiles/{profileName}/Experiments/{experimentName}")
+ @ExpectedResponses({200, 202, 204})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> delete(
+ @HostParam("$host") String endpoint,
+ @PathParam("subscriptionId") String subscriptionId,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("profileName") String profileName,
+ @PathParam("experimentName") String experimentName,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Get("{nextLink}")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listByProfileNext(
+ @PathParam(value = "nextLink", encoded = true) String nextLink,
+ @HostParam("$host") String endpoint,
+ @HeaderParam("Accept") String accept,
+ Context context);
+ }
+
+ /**
+ * Gets a list of Experiments.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of Experiments.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listByProfileSinglePageAsync(
+ String resourceGroupName, String profileName) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (profileName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter profileName is required and cannot be null."));
+ }
+ final String apiVersion = "2019-11-01";
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context ->
+ service
+ .listByProfile(
+ this.client.getEndpoint(),
+ this.client.getSubscriptionId(),
+ apiVersion,
+ resourceGroupName,
+ profileName,
+ accept,
+ context))
+ .>map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ res.getValue().value(),
+ res.getValue().nextLink(),
+ null))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Gets a list of Experiments.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of Experiments.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listByProfileSinglePageAsync(
+ String resourceGroupName, String profileName, Context context) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (profileName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter profileName is required and cannot be null."));
+ }
+ final String apiVersion = "2019-11-01";
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .listByProfile(
+ this.client.getEndpoint(),
+ this.client.getSubscriptionId(),
+ apiVersion,
+ resourceGroupName,
+ profileName,
+ accept,
+ context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ res.getValue().value(),
+ res.getValue().nextLink(),
+ null));
+ }
+
+ /**
+ * Gets a list of Experiments.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of Experiments.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listByProfileAsync(String resourceGroupName, String profileName) {
+ return new PagedFlux<>(
+ () -> listByProfileSinglePageAsync(resourceGroupName, profileName),
+ nextLink -> listByProfileNextSinglePageAsync(nextLink));
+ }
+
+ /**
+ * Gets a list of Experiments.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of Experiments.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listByProfileAsync(
+ String resourceGroupName, String profileName, Context context) {
+ return new PagedFlux<>(
+ () -> listByProfileSinglePageAsync(resourceGroupName, profileName, context),
+ nextLink -> listByProfileNextSinglePageAsync(nextLink, context));
+ }
+
+ /**
+ * Gets a list of Experiments.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of Experiments.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable listByProfile(String resourceGroupName, String profileName) {
+ return new PagedIterable<>(listByProfileAsync(resourceGroupName, profileName));
+ }
+
+ /**
+ * Gets a list of Experiments.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of Experiments.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable listByProfile(String resourceGroupName, String profileName, Context context) {
+ return new PagedIterable<>(listByProfileAsync(resourceGroupName, profileName, context));
+ }
+
+ /**
+ * Gets an Experiment by ExperimentName.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an Experiment by ExperimentName.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> getWithResponseAsync(
+ String resourceGroupName, String profileName, String experimentName) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (profileName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter profileName is required and cannot be null."));
+ }
+ if (experimentName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter experimentName is required and cannot be null."));
+ }
+ final String apiVersion = "2019-11-01";
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context ->
+ service
+ .get(
+ this.client.getEndpoint(),
+ this.client.getSubscriptionId(),
+ apiVersion,
+ resourceGroupName,
+ profileName,
+ experimentName,
+ accept,
+ context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Gets an Experiment by ExperimentName.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an Experiment by ExperimentName.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> getWithResponseAsync(
+ String resourceGroupName, String profileName, String experimentName, Context context) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (profileName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter profileName is required and cannot be null."));
+ }
+ if (experimentName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter experimentName is required and cannot be null."));
+ }
+ final String apiVersion = "2019-11-01";
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .get(
+ this.client.getEndpoint(),
+ this.client.getSubscriptionId(),
+ apiVersion,
+ resourceGroupName,
+ profileName,
+ experimentName,
+ accept,
+ context);
+ }
+
+ /**
+ * Gets an Experiment by ExperimentName.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an Experiment by ExperimentName.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono getAsync(String resourceGroupName, String profileName, String experimentName) {
+ return getWithResponseAsync(resourceGroupName, profileName, experimentName)
+ .flatMap(
+ (Response res) -> {
+ if (res.getValue() != null) {
+ return Mono.just(res.getValue());
+ } else {
+ return Mono.empty();
+ }
+ });
+ }
+
+ /**
+ * Gets an Experiment by ExperimentName.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an Experiment by ExperimentName.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ExperimentInner get(String resourceGroupName, String profileName, String experimentName) {
+ return getAsync(resourceGroupName, profileName, experimentName).block();
+ }
+
+ /**
+ * Gets an Experiment by ExperimentName.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an Experiment by ExperimentName.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response getWithResponse(
+ String resourceGroupName, String profileName, String experimentName, Context context) {
+ return getWithResponseAsync(resourceGroupName, profileName, experimentName, context).block();
+ }
+
+ /**
+ * Creates or updates an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param parameters The Experiment resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines the properties of an Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>> createOrUpdateWithResponseAsync(
+ String resourceGroupName, String profileName, String experimentName, ExperimentInner parameters) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (profileName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter profileName is required and cannot be null."));
+ }
+ if (experimentName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter experimentName is required and cannot be null."));
+ }
+ if (parameters == null) {
+ return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null."));
+ } else {
+ parameters.validate();
+ }
+ final String apiVersion = "2019-11-01";
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context ->
+ service
+ .createOrUpdate(
+ this.client.getEndpoint(),
+ this.client.getSubscriptionId(),
+ apiVersion,
+ resourceGroupName,
+ profileName,
+ experimentName,
+ parameters,
+ accept,
+ context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Creates or updates an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param parameters The Experiment resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines the properties of an Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>> createOrUpdateWithResponseAsync(
+ String resourceGroupName,
+ String profileName,
+ String experimentName,
+ ExperimentInner parameters,
+ Context context) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (profileName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter profileName is required and cannot be null."));
+ }
+ if (experimentName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter experimentName is required and cannot be null."));
+ }
+ if (parameters == null) {
+ return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null."));
+ } else {
+ parameters.validate();
+ }
+ final String apiVersion = "2019-11-01";
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .createOrUpdate(
+ this.client.getEndpoint(),
+ this.client.getSubscriptionId(),
+ apiVersion,
+ resourceGroupName,
+ profileName,
+ experimentName,
+ parameters,
+ accept,
+ context);
+ }
+
+ /**
+ * Creates or updates an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param parameters The Experiment resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines the properties of an Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PollerFlux, ExperimentInner> beginCreateOrUpdateAsync(
+ String resourceGroupName, String profileName, String experimentName, ExperimentInner parameters) {
+ Mono>> mono =
+ createOrUpdateWithResponseAsync(resourceGroupName, profileName, experimentName, parameters);
+ return this
+ .client
+ .getLroResult(
+ mono, this.client.getHttpPipeline(), ExperimentInner.class, ExperimentInner.class, Context.NONE);
+ }
+
+ /**
+ * Creates or updates an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param parameters The Experiment resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines the properties of an Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PollerFlux, ExperimentInner> beginCreateOrUpdateAsync(
+ String resourceGroupName,
+ String profileName,
+ String experimentName,
+ ExperimentInner parameters,
+ Context context) {
+ context = this.client.mergeContext(context);
+ Mono>> mono =
+ createOrUpdateWithResponseAsync(resourceGroupName, profileName, experimentName, parameters, context);
+ return this
+ .client
+ .getLroResult(
+ mono, this.client.getHttpPipeline(), ExperimentInner.class, ExperimentInner.class, context);
+ }
+
+ /**
+ * Creates or updates an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param parameters The Experiment resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines the properties of an Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public SyncPoller, ExperimentInner> beginCreateOrUpdate(
+ String resourceGroupName, String profileName, String experimentName, ExperimentInner parameters) {
+ return beginCreateOrUpdateAsync(resourceGroupName, profileName, experimentName, parameters).getSyncPoller();
+ }
+
+ /**
+ * Creates or updates an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param parameters The Experiment resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines the properties of an Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public SyncPoller, ExperimentInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String profileName,
+ String experimentName,
+ ExperimentInner parameters,
+ Context context) {
+ return beginCreateOrUpdateAsync(resourceGroupName, profileName, experimentName, parameters, context)
+ .getSyncPoller();
+ }
+
+ /**
+ * Creates or updates an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param parameters The Experiment resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines the properties of an Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono createOrUpdateAsync(
+ String resourceGroupName, String profileName, String experimentName, ExperimentInner parameters) {
+ return beginCreateOrUpdateAsync(resourceGroupName, profileName, experimentName, parameters)
+ .last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Creates or updates an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param parameters The Experiment resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines the properties of an Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono createOrUpdateAsync(
+ String resourceGroupName,
+ String profileName,
+ String experimentName,
+ ExperimentInner parameters,
+ Context context) {
+ return beginCreateOrUpdateAsync(resourceGroupName, profileName, experimentName, parameters, context)
+ .last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Creates or updates an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param parameters The Experiment resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines the properties of an Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ExperimentInner createOrUpdate(
+ String resourceGroupName, String profileName, String experimentName, ExperimentInner parameters) {
+ return createOrUpdateAsync(resourceGroupName, profileName, experimentName, parameters).block();
+ }
+
+ /**
+ * Creates or updates an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param parameters The Experiment resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines the properties of an Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ExperimentInner createOrUpdate(
+ String resourceGroupName,
+ String profileName,
+ String experimentName,
+ ExperimentInner parameters,
+ Context context) {
+ return createOrUpdateAsync(resourceGroupName, profileName, experimentName, parameters, context).block();
+ }
+
+ /**
+ * Updates an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param parameters The Experiment Update Model.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines the properties of an Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>> updateWithResponseAsync(
+ String resourceGroupName, String profileName, String experimentName, ExperimentUpdateModel parameters) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (profileName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter profileName is required and cannot be null."));
+ }
+ if (experimentName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter experimentName is required and cannot be null."));
+ }
+ if (parameters == null) {
+ return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null."));
+ } else {
+ parameters.validate();
+ }
+ final String apiVersion = "2019-11-01";
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context ->
+ service
+ .update(
+ this.client.getEndpoint(),
+ this.client.getSubscriptionId(),
+ apiVersion,
+ resourceGroupName,
+ profileName,
+ experimentName,
+ parameters,
+ accept,
+ context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Updates an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param parameters The Experiment Update Model.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines the properties of an Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>> updateWithResponseAsync(
+ String resourceGroupName,
+ String profileName,
+ String experimentName,
+ ExperimentUpdateModel parameters,
+ Context context) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (profileName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter profileName is required and cannot be null."));
+ }
+ if (experimentName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter experimentName is required and cannot be null."));
+ }
+ if (parameters == null) {
+ return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null."));
+ } else {
+ parameters.validate();
+ }
+ final String apiVersion = "2019-11-01";
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .update(
+ this.client.getEndpoint(),
+ this.client.getSubscriptionId(),
+ apiVersion,
+ resourceGroupName,
+ profileName,
+ experimentName,
+ parameters,
+ accept,
+ context);
+ }
+
+ /**
+ * Updates an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param parameters The Experiment Update Model.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines the properties of an Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PollerFlux, ExperimentInner> beginUpdateAsync(
+ String resourceGroupName, String profileName, String experimentName, ExperimentUpdateModel parameters) {
+ Mono>> mono =
+ updateWithResponseAsync(resourceGroupName, profileName, experimentName, parameters);
+ return this
+ .client
+ .getLroResult(
+ mono, this.client.getHttpPipeline(), ExperimentInner.class, ExperimentInner.class, Context.NONE);
+ }
+
+ /**
+ * Updates an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param parameters The Experiment Update Model.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines the properties of an Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PollerFlux, ExperimentInner> beginUpdateAsync(
+ String resourceGroupName,
+ String profileName,
+ String experimentName,
+ ExperimentUpdateModel parameters,
+ Context context) {
+ context = this.client.mergeContext(context);
+ Mono>> mono =
+ updateWithResponseAsync(resourceGroupName, profileName, experimentName, parameters, context);
+ return this
+ .client
+ .getLroResult(
+ mono, this.client.getHttpPipeline(), ExperimentInner.class, ExperimentInner.class, context);
+ }
+
+ /**
+ * Updates an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param parameters The Experiment Update Model.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines the properties of an Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public SyncPoller, ExperimentInner> beginUpdate(
+ String resourceGroupName, String profileName, String experimentName, ExperimentUpdateModel parameters) {
+ return beginUpdateAsync(resourceGroupName, profileName, experimentName, parameters).getSyncPoller();
+ }
+
+ /**
+ * Updates an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param parameters The Experiment Update Model.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines the properties of an Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public SyncPoller, ExperimentInner> beginUpdate(
+ String resourceGroupName,
+ String profileName,
+ String experimentName,
+ ExperimentUpdateModel parameters,
+ Context context) {
+ return beginUpdateAsync(resourceGroupName, profileName, experimentName, parameters, context).getSyncPoller();
+ }
+
+ /**
+ * Updates an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param parameters The Experiment Update Model.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines the properties of an Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono updateAsync(
+ String resourceGroupName, String profileName, String experimentName, ExperimentUpdateModel parameters) {
+ return beginUpdateAsync(resourceGroupName, profileName, experimentName, parameters)
+ .last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Updates an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param parameters The Experiment Update Model.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines the properties of an Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono updateAsync(
+ String resourceGroupName,
+ String profileName,
+ String experimentName,
+ ExperimentUpdateModel parameters,
+ Context context) {
+ return beginUpdateAsync(resourceGroupName, profileName, experimentName, parameters, context)
+ .last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Updates an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param parameters The Experiment Update Model.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines the properties of an Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ExperimentInner update(
+ String resourceGroupName, String profileName, String experimentName, ExperimentUpdateModel parameters) {
+ return updateAsync(resourceGroupName, profileName, experimentName, parameters).block();
+ }
+
+ /**
+ * Updates an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param parameters The Experiment Update Model.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines the properties of an Experiment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ExperimentInner update(
+ String resourceGroupName,
+ String profileName,
+ String experimentName,
+ ExperimentUpdateModel parameters,
+ Context context) {
+ return updateAsync(resourceGroupName, profileName, experimentName, parameters, context).block();
+ }
+
+ /**
+ * Deletes an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>> deleteWithResponseAsync(
+ String resourceGroupName, String profileName, String experimentName) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (profileName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter profileName is required and cannot be null."));
+ }
+ if (experimentName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter experimentName is required and cannot be null."));
+ }
+ final String apiVersion = "2019-11-01";
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context ->
+ service
+ .delete(
+ this.client.getEndpoint(),
+ this.client.getSubscriptionId(),
+ apiVersion,
+ resourceGroupName,
+ profileName,
+ experimentName,
+ accept,
+ context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Deletes an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>> deleteWithResponseAsync(
+ String resourceGroupName, String profileName, String experimentName, Context context) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (profileName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter profileName is required and cannot be null."));
+ }
+ if (experimentName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter experimentName is required and cannot be null."));
+ }
+ final String apiVersion = "2019-11-01";
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .delete(
+ this.client.getEndpoint(),
+ this.client.getSubscriptionId(),
+ apiVersion,
+ resourceGroupName,
+ profileName,
+ experimentName,
+ accept,
+ context);
+ }
+
+ /**
+ * Deletes an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PollerFlux, Void> beginDeleteAsync(
+ String resourceGroupName, String profileName, String experimentName) {
+ Mono>> mono = deleteWithResponseAsync(resourceGroupName, profileName, experimentName);
+ return this
+ .client
+ .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE);
+ }
+
+ /**
+ * Deletes an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PollerFlux, Void> beginDeleteAsync(
+ String resourceGroupName, String profileName, String experimentName, Context context) {
+ context = this.client.mergeContext(context);
+ Mono>> mono =
+ deleteWithResponseAsync(resourceGroupName, profileName, experimentName, context);
+ return this
+ .client
+ .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, context);
+ }
+
+ /**
+ * Deletes an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public SyncPoller, Void> beginDelete(
+ String resourceGroupName, String profileName, String experimentName) {
+ return beginDeleteAsync(resourceGroupName, profileName, experimentName).getSyncPoller();
+ }
+
+ /**
+ * Deletes an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public SyncPoller, Void> beginDelete(
+ String resourceGroupName, String profileName, String experimentName, Context context) {
+ return beginDeleteAsync(resourceGroupName, profileName, experimentName, context).getSyncPoller();
+ }
+
+ /**
+ * Deletes an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono deleteAsync(String resourceGroupName, String profileName, String experimentName) {
+ return beginDeleteAsync(resourceGroupName, profileName, experimentName)
+ .last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Deletes an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono deleteAsync(
+ String resourceGroupName, String profileName, String experimentName, Context context) {
+ return beginDeleteAsync(resourceGroupName, profileName, experimentName, context)
+ .last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Deletes an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public void delete(String resourceGroupName, String profileName, String experimentName) {
+ deleteAsync(resourceGroupName, profileName, experimentName).block();
+ }
+
+ /**
+ * Deletes an Experiment.
+ *
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
+ * @param profileName The Profile identifier associated with the Tenant and Partner.
+ * @param experimentName The Experiment identifier associated with the Experiment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public void delete(String resourceGroupName, String profileName, String experimentName, Context context) {
+ deleteAsync(resourceGroupName, profileName, experimentName, context).block();
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * @param nextLink The nextLink parameter.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines a list of Experiments.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listByProfileNextSinglePageAsync(String nextLink) {
+ if (nextLink == null) {
+ return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null."));
+ }
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.listByProfileNext(nextLink, this.client.getEndpoint(), accept, context))
+ .>map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ res.getValue().value(),
+ res.getValue().nextLink(),
+ null))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * @param nextLink The nextLink parameter.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return defines a list of Experiments.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listByProfileNextSinglePageAsync(String nextLink, Context context) {
+ if (nextLink == null) {
+ return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null."));
+ }
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .listByProfileNext(nextLink, this.client.getEndpoint(), accept, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ res.getValue().value(),
+ res.getValue().nextLink(),
+ null));
+ }
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/ExperimentsImpl.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/ExperimentsImpl.java
new file mode 100644
index 0000000000000..d45679e883948
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/ExperimentsImpl.java
@@ -0,0 +1,201 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.implementation;
+
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.http.rest.SimpleResponse;
+import com.azure.core.util.Context;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.frontdoor.fluent.ExperimentsClient;
+import com.azure.resourcemanager.frontdoor.fluent.models.ExperimentInner;
+import com.azure.resourcemanager.frontdoor.models.Experiment;
+import com.azure.resourcemanager.frontdoor.models.Experiments;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+
+public final class ExperimentsImpl implements Experiments {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(ExperimentsImpl.class);
+
+ private final ExperimentsClient innerClient;
+
+ private final com.azure.resourcemanager.frontdoor.FrontDoorManager serviceManager;
+
+ public ExperimentsImpl(
+ ExperimentsClient innerClient, com.azure.resourcemanager.frontdoor.FrontDoorManager serviceManager) {
+ this.innerClient = innerClient;
+ this.serviceManager = serviceManager;
+ }
+
+ public PagedIterable listByProfile(String resourceGroupName, String profileName) {
+ PagedIterable inner = this.serviceClient().listByProfile(resourceGroupName, profileName);
+ return Utils.mapPage(inner, inner1 -> new ExperimentImpl(inner1, this.manager()));
+ }
+
+ public PagedIterable listByProfile(String resourceGroupName, String profileName, Context context) {
+ PagedIterable inner =
+ this.serviceClient().listByProfile(resourceGroupName, profileName, context);
+ return Utils.mapPage(inner, inner1 -> new ExperimentImpl(inner1, this.manager()));
+ }
+
+ public Experiment get(String resourceGroupName, String profileName, String experimentName) {
+ ExperimentInner inner = this.serviceClient().get(resourceGroupName, profileName, experimentName);
+ if (inner != null) {
+ return new ExperimentImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
+ public Response getWithResponse(
+ String resourceGroupName, String profileName, String experimentName, Context context) {
+ Response inner =
+ this.serviceClient().getWithResponse(resourceGroupName, profileName, experimentName, context);
+ if (inner != null) {
+ return new SimpleResponse<>(
+ inner.getRequest(),
+ inner.getStatusCode(),
+ inner.getHeaders(),
+ new ExperimentImpl(inner.getValue(), this.manager()));
+ } else {
+ return null;
+ }
+ }
+
+ public void delete(String resourceGroupName, String profileName, String experimentName) {
+ this.serviceClient().delete(resourceGroupName, profileName, experimentName);
+ }
+
+ public void delete(String resourceGroupName, String profileName, String experimentName, Context context) {
+ this.serviceClient().delete(resourceGroupName, profileName, experimentName, context);
+ }
+
+ public Experiment getById(String id) {
+ String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
+ if (resourceGroupName == null) {
+ throw logger
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
+ }
+ String profileName = Utils.getValueFromIdByName(id, "NetworkExperimentProfiles");
+ if (profileName == null) {
+ throw logger
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format(
+ "The resource ID '%s' is not valid. Missing path segment 'NetworkExperimentProfiles'.",
+ id)));
+ }
+ String experimentName = Utils.getValueFromIdByName(id, "Experiments");
+ if (experimentName == null) {
+ throw logger
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'Experiments'.", id)));
+ }
+ return this.getWithResponse(resourceGroupName, profileName, experimentName, Context.NONE).getValue();
+ }
+
+ public Response getByIdWithResponse(String id, Context context) {
+ String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
+ if (resourceGroupName == null) {
+ throw logger
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
+ }
+ String profileName = Utils.getValueFromIdByName(id, "NetworkExperimentProfiles");
+ if (profileName == null) {
+ throw logger
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format(
+ "The resource ID '%s' is not valid. Missing path segment 'NetworkExperimentProfiles'.",
+ id)));
+ }
+ String experimentName = Utils.getValueFromIdByName(id, "Experiments");
+ if (experimentName == null) {
+ throw logger
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'Experiments'.", id)));
+ }
+ return this.getWithResponse(resourceGroupName, profileName, experimentName, context);
+ }
+
+ public void deleteById(String id) {
+ String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
+ if (resourceGroupName == null) {
+ throw logger
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
+ }
+ String profileName = Utils.getValueFromIdByName(id, "NetworkExperimentProfiles");
+ if (profileName == null) {
+ throw logger
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format(
+ "The resource ID '%s' is not valid. Missing path segment 'NetworkExperimentProfiles'.",
+ id)));
+ }
+ String experimentName = Utils.getValueFromIdByName(id, "Experiments");
+ if (experimentName == null) {
+ throw logger
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'Experiments'.", id)));
+ }
+ this.delete(resourceGroupName, profileName, experimentName, Context.NONE);
+ }
+
+ public void deleteByIdWithResponse(String id, Context context) {
+ String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
+ if (resourceGroupName == null) {
+ throw logger
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
+ }
+ String profileName = Utils.getValueFromIdByName(id, "NetworkExperimentProfiles");
+ if (profileName == null) {
+ throw logger
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format(
+ "The resource ID '%s' is not valid. Missing path segment 'NetworkExperimentProfiles'.",
+ id)));
+ }
+ String experimentName = Utils.getValueFromIdByName(id, "Experiments");
+ if (experimentName == null) {
+ throw logger
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'Experiments'.", id)));
+ }
+ this.delete(resourceGroupName, profileName, experimentName, context);
+ }
+
+ private ExperimentsClient serviceClient() {
+ return this.innerClient;
+ }
+
+ private com.azure.resourcemanager.frontdoor.FrontDoorManager manager() {
+ return this.serviceManager;
+ }
+
+ public ExperimentImpl define(String name) {
+ return new ExperimentImpl(name, this.manager());
+ }
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/FrontDoorImpl.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/FrontDoorImpl.java
new file mode 100644
index 0000000000000..a0ca9f03f66f1
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/FrontDoorImpl.java
@@ -0,0 +1,301 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.implementation;
+
+import com.azure.core.management.Region;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.frontdoor.fluent.models.FrontDoorInner;
+import com.azure.resourcemanager.frontdoor.fluent.models.FrontendEndpointInner;
+import com.azure.resourcemanager.frontdoor.fluent.models.RulesEngineInner;
+import com.azure.resourcemanager.frontdoor.models.BackendPool;
+import com.azure.resourcemanager.frontdoor.models.BackendPoolsSettings;
+import com.azure.resourcemanager.frontdoor.models.FrontDoor;
+import com.azure.resourcemanager.frontdoor.models.FrontDoorEnabledState;
+import com.azure.resourcemanager.frontdoor.models.FrontDoorResourceState;
+import com.azure.resourcemanager.frontdoor.models.FrontendEndpoint;
+import com.azure.resourcemanager.frontdoor.models.HealthProbeSettingsModel;
+import com.azure.resourcemanager.frontdoor.models.LoadBalancingSettingsModel;
+import com.azure.resourcemanager.frontdoor.models.RoutingRule;
+import com.azure.resourcemanager.frontdoor.models.RulesEngine;
+import java.util.Collections;
+import java.util.List;
+import java.util.Map;
+import java.util.stream.Collectors;
+
+public final class FrontDoorImpl implements FrontDoor, FrontDoor.Definition, FrontDoor.Update {
+ private FrontDoorInner innerObject;
+
+ private final com.azure.resourcemanager.frontdoor.FrontDoorManager serviceManager;
+
+ public String id() {
+ return this.innerModel().id();
+ }
+
+ public String name() {
+ return this.innerModel().name();
+ }
+
+ public String type() {
+ return this.innerModel().type();
+ }
+
+ public String location() {
+ return this.innerModel().location();
+ }
+
+ public Map tags() {
+ Map inner = this.innerModel().tags();
+ if (inner != null) {
+ return Collections.unmodifiableMap(inner);
+ } else {
+ return Collections.emptyMap();
+ }
+ }
+
+ public String friendlyName() {
+ return this.innerModel().friendlyName();
+ }
+
+ public List routingRules() {
+ List inner = this.innerModel().routingRules();
+ if (inner != null) {
+ return Collections.unmodifiableList(inner);
+ } else {
+ return Collections.emptyList();
+ }
+ }
+
+ public List loadBalancingSettings() {
+ List inner = this.innerModel().loadBalancingSettings();
+ if (inner != null) {
+ return Collections.unmodifiableList(inner);
+ } else {
+ return Collections.emptyList();
+ }
+ }
+
+ public List healthProbeSettings() {
+ List inner = this.innerModel().healthProbeSettings();
+ if (inner != null) {
+ return Collections.unmodifiableList(inner);
+ } else {
+ return Collections.emptyList();
+ }
+ }
+
+ public List backendPools() {
+ List inner = this.innerModel().backendPools();
+ if (inner != null) {
+ return Collections.unmodifiableList(inner);
+ } else {
+ return Collections.emptyList();
+ }
+ }
+
+ public List frontendEndpoints() {
+ List inner = this.innerModel().frontendEndpoints();
+ if (inner != null) {
+ return Collections
+ .unmodifiableList(
+ inner
+ .stream()
+ .map(inner1 -> new FrontendEndpointImpl(inner1, this.manager()))
+ .collect(Collectors.toList()));
+ } else {
+ return Collections.emptyList();
+ }
+ }
+
+ public BackendPoolsSettings backendPoolsSettings() {
+ return this.innerModel().backendPoolsSettings();
+ }
+
+ public FrontDoorEnabledState enabledState() {
+ return this.innerModel().enabledState();
+ }
+
+ public FrontDoorResourceState resourceState() {
+ return this.innerModel().resourceState();
+ }
+
+ public String provisioningState() {
+ return this.innerModel().provisioningState();
+ }
+
+ public String cname() {
+ return this.innerModel().cname();
+ }
+
+ public String frontdoorId() {
+ return this.innerModel().frontdoorId();
+ }
+
+ public List rulesEngines() {
+ List inner = this.innerModel().rulesEngines();
+ if (inner != null) {
+ return Collections
+ .unmodifiableList(
+ inner
+ .stream()
+ .map(inner1 -> new RulesEngineImpl(inner1, this.manager()))
+ .collect(Collectors.toList()));
+ } else {
+ return Collections.emptyList();
+ }
+ }
+
+ public Region region() {
+ return Region.fromName(this.regionName());
+ }
+
+ public String regionName() {
+ return this.location();
+ }
+
+ public FrontDoorInner innerModel() {
+ return this.innerObject;
+ }
+
+ private com.azure.resourcemanager.frontdoor.FrontDoorManager manager() {
+ return this.serviceManager;
+ }
+
+ private String resourceGroupName;
+
+ private String frontDoorName;
+
+ public FrontDoorImpl withExistingResourceGroup(String resourceGroupName) {
+ this.resourceGroupName = resourceGroupName;
+ return this;
+ }
+
+ public FrontDoor create() {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getFrontDoors()
+ .createOrUpdate(resourceGroupName, frontDoorName, this.innerModel(), Context.NONE);
+ return this;
+ }
+
+ public FrontDoor create(Context context) {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getFrontDoors()
+ .createOrUpdate(resourceGroupName, frontDoorName, this.innerModel(), context);
+ return this;
+ }
+
+ FrontDoorImpl(String name, com.azure.resourcemanager.frontdoor.FrontDoorManager serviceManager) {
+ this.innerObject = new FrontDoorInner();
+ this.serviceManager = serviceManager;
+ this.frontDoorName = name;
+ }
+
+ public FrontDoorImpl update() {
+ return this;
+ }
+
+ public FrontDoor apply() {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getFrontDoors()
+ .createOrUpdate(resourceGroupName, frontDoorName, this.innerModel(), Context.NONE);
+ return this;
+ }
+
+ public FrontDoor apply(Context context) {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getFrontDoors()
+ .createOrUpdate(resourceGroupName, frontDoorName, this.innerModel(), context);
+ return this;
+ }
+
+ FrontDoorImpl(FrontDoorInner innerObject, com.azure.resourcemanager.frontdoor.FrontDoorManager serviceManager) {
+ this.innerObject = innerObject;
+ this.serviceManager = serviceManager;
+ this.resourceGroupName = Utils.getValueFromIdByName(innerObject.id(), "resourceGroups");
+ this.frontDoorName = Utils.getValueFromIdByName(innerObject.id(), "frontDoors");
+ }
+
+ public FrontDoor refresh() {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getFrontDoors()
+ .getByResourceGroupWithResponse(resourceGroupName, frontDoorName, Context.NONE)
+ .getValue();
+ return this;
+ }
+
+ public FrontDoor refresh(Context context) {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getFrontDoors()
+ .getByResourceGroupWithResponse(resourceGroupName, frontDoorName, context)
+ .getValue();
+ return this;
+ }
+
+ public FrontDoorImpl withRegion(Region location) {
+ this.innerModel().withLocation(location.toString());
+ return this;
+ }
+
+ public FrontDoorImpl withRegion(String location) {
+ this.innerModel().withLocation(location);
+ return this;
+ }
+
+ public FrontDoorImpl withTags(Map tags) {
+ this.innerModel().withTags(tags);
+ return this;
+ }
+
+ public FrontDoorImpl withFriendlyName(String friendlyName) {
+ this.innerModel().withFriendlyName(friendlyName);
+ return this;
+ }
+
+ public FrontDoorImpl withRoutingRules(List routingRules) {
+ this.innerModel().withRoutingRules(routingRules);
+ return this;
+ }
+
+ public FrontDoorImpl withLoadBalancingSettings(List loadBalancingSettings) {
+ this.innerModel().withLoadBalancingSettings(loadBalancingSettings);
+ return this;
+ }
+
+ public FrontDoorImpl withHealthProbeSettings(List healthProbeSettings) {
+ this.innerModel().withHealthProbeSettings(healthProbeSettings);
+ return this;
+ }
+
+ public FrontDoorImpl withBackendPools(List backendPools) {
+ this.innerModel().withBackendPools(backendPools);
+ return this;
+ }
+
+ public FrontDoorImpl withFrontendEndpoints(List frontendEndpoints) {
+ this.innerModel().withFrontendEndpoints(frontendEndpoints);
+ return this;
+ }
+
+ public FrontDoorImpl withBackendPoolsSettings(BackendPoolsSettings backendPoolsSettings) {
+ this.innerModel().withBackendPoolsSettings(backendPoolsSettings);
+ return this;
+ }
+
+ public FrontDoorImpl withEnabledState(FrontDoorEnabledState enabledState) {
+ this.innerModel().withEnabledState(enabledState);
+ return this;
+ }
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/FrontDoorManagementClientBuilder.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/FrontDoorManagementClientBuilder.java
new file mode 100644
index 0000000000000..0eab2f36730b9
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/FrontDoorManagementClientBuilder.java
@@ -0,0 +1,149 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.implementation;
+
+import com.azure.core.annotation.ServiceClientBuilder;
+import com.azure.core.http.HttpPipeline;
+import com.azure.core.http.HttpPipelineBuilder;
+import com.azure.core.http.policy.CookiePolicy;
+import com.azure.core.http.policy.RetryPolicy;
+import com.azure.core.http.policy.UserAgentPolicy;
+import com.azure.core.management.AzureEnvironment;
+import com.azure.core.management.serializer.SerializerFactory;
+import com.azure.core.util.serializer.SerializerAdapter;
+import java.time.Duration;
+
+/** A builder for creating a new instance of the FrontDoorManagementClientImpl type. */
+@ServiceClientBuilder(serviceClients = {FrontDoorManagementClientImpl.class})
+public final class FrontDoorManagementClientBuilder {
+ /*
+ * The subscription credentials which uniquely identify the Microsoft Azure
+ * subscription. The subscription ID forms part of the URI for every
+ * service call.
+ */
+ private String subscriptionId;
+
+ /**
+ * Sets The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID
+ * forms part of the URI for every service call.
+ *
+ * @param subscriptionId the subscriptionId value.
+ * @return the FrontDoorManagementClientBuilder.
+ */
+ public FrontDoorManagementClientBuilder subscriptionId(String subscriptionId) {
+ this.subscriptionId = subscriptionId;
+ return this;
+ }
+
+ /*
+ * server parameter
+ */
+ private String endpoint;
+
+ /**
+ * Sets server parameter.
+ *
+ * @param endpoint the endpoint value.
+ * @return the FrontDoorManagementClientBuilder.
+ */
+ public FrontDoorManagementClientBuilder endpoint(String endpoint) {
+ this.endpoint = endpoint;
+ return this;
+ }
+
+ /*
+ * The environment to connect to
+ */
+ private AzureEnvironment environment;
+
+ /**
+ * Sets The environment to connect to.
+ *
+ * @param environment the environment value.
+ * @return the FrontDoorManagementClientBuilder.
+ */
+ public FrontDoorManagementClientBuilder environment(AzureEnvironment environment) {
+ this.environment = environment;
+ return this;
+ }
+
+ /*
+ * The default poll interval for long-running operation
+ */
+ private Duration defaultPollInterval;
+
+ /**
+ * Sets The default poll interval for long-running operation.
+ *
+ * @param defaultPollInterval the defaultPollInterval value.
+ * @return the FrontDoorManagementClientBuilder.
+ */
+ public FrontDoorManagementClientBuilder defaultPollInterval(Duration defaultPollInterval) {
+ this.defaultPollInterval = defaultPollInterval;
+ return this;
+ }
+
+ /*
+ * The HTTP pipeline to send requests through
+ */
+ private HttpPipeline pipeline;
+
+ /**
+ * Sets The HTTP pipeline to send requests through.
+ *
+ * @param pipeline the pipeline value.
+ * @return the FrontDoorManagementClientBuilder.
+ */
+ public FrontDoorManagementClientBuilder pipeline(HttpPipeline pipeline) {
+ this.pipeline = pipeline;
+ return this;
+ }
+
+ /*
+ * The serializer to serialize an object into a string
+ */
+ private SerializerAdapter serializerAdapter;
+
+ /**
+ * Sets The serializer to serialize an object into a string.
+ *
+ * @param serializerAdapter the serializerAdapter value.
+ * @return the FrontDoorManagementClientBuilder.
+ */
+ public FrontDoorManagementClientBuilder serializerAdapter(SerializerAdapter serializerAdapter) {
+ this.serializerAdapter = serializerAdapter;
+ return this;
+ }
+
+ /**
+ * Builds an instance of FrontDoorManagementClientImpl with the provided parameters.
+ *
+ * @return an instance of FrontDoorManagementClientImpl.
+ */
+ public FrontDoorManagementClientImpl buildClient() {
+ if (endpoint == null) {
+ this.endpoint = "https://management.azure.com";
+ }
+ if (environment == null) {
+ this.environment = AzureEnvironment.AZURE;
+ }
+ if (defaultPollInterval == null) {
+ this.defaultPollInterval = Duration.ofSeconds(30);
+ }
+ if (pipeline == null) {
+ this.pipeline =
+ new HttpPipelineBuilder()
+ .policies(new UserAgentPolicy(), new RetryPolicy(), new CookiePolicy())
+ .build();
+ }
+ if (serializerAdapter == null) {
+ this.serializerAdapter = SerializerFactory.createDefaultManagementSerializerAdapter();
+ }
+ FrontDoorManagementClientImpl client =
+ new FrontDoorManagementClientImpl(
+ pipeline, serializerAdapter, defaultPollInterval, environment, subscriptionId, endpoint);
+ return client;
+ }
+}
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/FrontDoorManagementClientImpl.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/FrontDoorManagementClientImpl.java
new file mode 100644
index 0000000000000..01f865998c717
--- /dev/null
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/implementation/FrontDoorManagementClientImpl.java
@@ -0,0 +1,440 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.frontdoor.implementation;
+
+import com.azure.core.annotation.ServiceClient;
+import com.azure.core.http.HttpHeaders;
+import com.azure.core.http.HttpPipeline;
+import com.azure.core.http.HttpResponse;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.AzureEnvironment;
+import com.azure.core.management.exception.ManagementError;
+import com.azure.core.management.exception.ManagementException;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.management.polling.PollerFactory;
+import com.azure.core.util.Context;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.core.util.polling.AsyncPollResponse;
+import com.azure.core.util.polling.LongRunningOperationStatus;
+import com.azure.core.util.polling.PollerFlux;
+import com.azure.core.util.serializer.SerializerAdapter;
+import com.azure.core.util.serializer.SerializerEncoding;
+import com.azure.resourcemanager.frontdoor.fluent.EndpointsClient;
+import com.azure.resourcemanager.frontdoor.fluent.ExperimentsClient;
+import com.azure.resourcemanager.frontdoor.fluent.FrontDoorManagementClient;
+import com.azure.resourcemanager.frontdoor.fluent.FrontDoorNameAvailabilitiesClient;
+import com.azure.resourcemanager.frontdoor.fluent.FrontDoorNameAvailabilityWithSubscriptionsClient;
+import com.azure.resourcemanager.frontdoor.fluent.FrontDoorsClient;
+import com.azure.resourcemanager.frontdoor.fluent.FrontendEndpointsClient;
+import com.azure.resourcemanager.frontdoor.fluent.ManagedRuleSetsClient;
+import com.azure.resourcemanager.frontdoor.fluent.NetworkExperimentProfilesClient;
+import com.azure.resourcemanager.frontdoor.fluent.PoliciesClient;
+import com.azure.resourcemanager.frontdoor.fluent.PreconfiguredEndpointsClient;
+import com.azure.resourcemanager.frontdoor.fluent.ReportsClient;
+import com.azure.resourcemanager.frontdoor.fluent.RulesEnginesClient;
+import java.io.IOException;
+import java.lang.reflect.Type;
+import java.nio.ByteBuffer;
+import java.nio.charset.Charset;
+import java.nio.charset.StandardCharsets;
+import java.time.Duration;
+import java.util.Map;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
+/** Initializes a new instance of the FrontDoorManagementClientImpl type. */
+@ServiceClient(builder = FrontDoorManagementClientBuilder.class)
+public final class FrontDoorManagementClientImpl implements FrontDoorManagementClient {
+ private final ClientLogger logger = new ClientLogger(FrontDoorManagementClientImpl.class);
+
+ /**
+ * The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms
+ * part of the URI for every service call.
+ */
+ private final String subscriptionId;
+
+ /**
+ * Gets The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID
+ * forms part of the URI for every service call.
+ *
+ * @return the subscriptionId value.
+ */
+ public String getSubscriptionId() {
+ return this.subscriptionId;
+ }
+
+ /** server parameter. */
+ private final String endpoint;
+
+ /**
+ * Gets server parameter.
+ *
+ * @return the endpoint value.
+ */
+ public String getEndpoint() {
+ return this.endpoint;
+ }
+
+ /** The HTTP pipeline to send requests through. */
+ private final HttpPipeline httpPipeline;
+
+ /**
+ * Gets The HTTP pipeline to send requests through.
+ *
+ * @return the httpPipeline value.
+ */
+ public HttpPipeline getHttpPipeline() {
+ return this.httpPipeline;
+ }
+
+ /** The serializer to serialize an object into a string. */
+ private final SerializerAdapter serializerAdapter;
+
+ /**
+ * Gets The serializer to serialize an object into a string.
+ *
+ * @return the serializerAdapter value.
+ */
+ SerializerAdapter getSerializerAdapter() {
+ return this.serializerAdapter;
+ }
+
+ /** The default poll interval for long-running operation. */
+ private final Duration defaultPollInterval;
+
+ /**
+ * Gets The default poll interval for long-running operation.
+ *
+ * @return the defaultPollInterval value.
+ */
+ public Duration getDefaultPollInterval() {
+ return this.defaultPollInterval;
+ }
+
+ /** The NetworkExperimentProfilesClient object to access its operations. */
+ private final NetworkExperimentProfilesClient networkExperimentProfiles;
+
+ /**
+ * Gets the NetworkExperimentProfilesClient object to access its operations.
+ *
+ * @return the NetworkExperimentProfilesClient object.
+ */
+ public NetworkExperimentProfilesClient getNetworkExperimentProfiles() {
+ return this.networkExperimentProfiles;
+ }
+
+ /** The PreconfiguredEndpointsClient object to access its operations. */
+ private final PreconfiguredEndpointsClient preconfiguredEndpoints;
+
+ /**
+ * Gets the PreconfiguredEndpointsClient object to access its operations.
+ *
+ * @return the PreconfiguredEndpointsClient object.
+ */
+ public PreconfiguredEndpointsClient getPreconfiguredEndpoints() {
+ return this.preconfiguredEndpoints;
+ }
+
+ /** The ExperimentsClient object to access its operations. */
+ private final ExperimentsClient experiments;
+
+ /**
+ * Gets the ExperimentsClient object to access its operations.
+ *
+ * @return the ExperimentsClient object.
+ */
+ public ExperimentsClient getExperiments() {
+ return this.experiments;
+ }
+
+ /** The ReportsClient object to access its operations. */
+ private final ReportsClient reports;
+
+ /**
+ * Gets the ReportsClient object to access its operations.
+ *
+ * @return the ReportsClient object.
+ */
+ public ReportsClient getReports() {
+ return this.reports;
+ }
+
+ /** The FrontDoorNameAvailabilitiesClient object to access its operations. */
+ private final FrontDoorNameAvailabilitiesClient frontDoorNameAvailabilities;
+
+ /**
+ * Gets the FrontDoorNameAvailabilitiesClient object to access its operations.
+ *
+ * @return the FrontDoorNameAvailabilitiesClient object.
+ */
+ public FrontDoorNameAvailabilitiesClient getFrontDoorNameAvailabilities() {
+ return this.frontDoorNameAvailabilities;
+ }
+
+ /** The FrontDoorNameAvailabilityWithSubscriptionsClient object to access its operations. */
+ private final FrontDoorNameAvailabilityWithSubscriptionsClient frontDoorNameAvailabilityWithSubscriptions;
+
+ /**
+ * Gets the FrontDoorNameAvailabilityWithSubscriptionsClient object to access its operations.
+ *
+ * @return the FrontDoorNameAvailabilityWithSubscriptionsClient object.
+ */
+ public FrontDoorNameAvailabilityWithSubscriptionsClient getFrontDoorNameAvailabilityWithSubscriptions() {
+ return this.frontDoorNameAvailabilityWithSubscriptions;
+ }
+
+ /** The FrontDoorsClient object to access its operations. */
+ private final FrontDoorsClient frontDoors;
+
+ /**
+ * Gets the FrontDoorsClient object to access its operations.
+ *
+ * @return the FrontDoorsClient object.
+ */
+ public FrontDoorsClient getFrontDoors() {
+ return this.frontDoors;
+ }
+
+ /** The FrontendEndpointsClient object to access its operations. */
+ private final FrontendEndpointsClient frontendEndpoints;
+
+ /**
+ * Gets the FrontendEndpointsClient object to access its operations.
+ *
+ * @return the FrontendEndpointsClient object.
+ */
+ public FrontendEndpointsClient getFrontendEndpoints() {
+ return this.frontendEndpoints;
+ }
+
+ /** The EndpointsClient object to access its operations. */
+ private final EndpointsClient endpoints;
+
+ /**
+ * Gets the EndpointsClient object to access its operations.
+ *
+ * @return the EndpointsClient object.
+ */
+ public EndpointsClient getEndpoints() {
+ return this.endpoints;
+ }
+
+ /** The RulesEnginesClient object to access its operations. */
+ private final RulesEnginesClient rulesEngines;
+
+ /**
+ * Gets the RulesEnginesClient object to access its operations.
+ *
+ * @return the RulesEnginesClient object.
+ */
+ public RulesEnginesClient getRulesEngines() {
+ return this.rulesEngines;
+ }
+
+ /** The PoliciesClient object to access its operations. */
+ private final PoliciesClient policies;
+
+ /**
+ * Gets the PoliciesClient object to access its operations.
+ *
+ * @return the PoliciesClient object.
+ */
+ public PoliciesClient getPolicies() {
+ return this.policies;
+ }
+
+ /** The ManagedRuleSetsClient object to access its operations. */
+ private final ManagedRuleSetsClient managedRuleSets;
+
+ /**
+ * Gets the ManagedRuleSetsClient object to access its operations.
+ *
+ * @return the ManagedRuleSetsClient object.
+ */
+ public ManagedRuleSetsClient getManagedRuleSets() {
+ return this.managedRuleSets;
+ }
+
+ /**
+ * Initializes an instance of FrontDoorManagementClient client.
+ *
+ * @param httpPipeline The HTTP pipeline to send requests through.
+ * @param serializerAdapter The serializer to serialize an object into a string.
+ * @param defaultPollInterval The default poll interval for long-running operation.
+ * @param environment The Azure environment.
+ * @param subscriptionId The subscription credentials which uniquely identify the Microsoft Azure subscription. The
+ * subscription ID forms part of the URI for every service call.
+ * @param endpoint server parameter.
+ */
+ FrontDoorManagementClientImpl(
+ HttpPipeline httpPipeline,
+ SerializerAdapter serializerAdapter,
+ Duration defaultPollInterval,
+ AzureEnvironment environment,
+ String subscriptionId,
+ String endpoint) {
+ this.httpPipeline = httpPipeline;
+ this.serializerAdapter = serializerAdapter;
+ this.defaultPollInterval = defaultPollInterval;
+ this.subscriptionId = subscriptionId;
+ this.endpoint = endpoint;
+ this.networkExperimentProfiles = new NetworkExperimentProfilesClientImpl(this);
+ this.preconfiguredEndpoints = new PreconfiguredEndpointsClientImpl(this);
+ this.experiments = new ExperimentsClientImpl(this);
+ this.reports = new ReportsClientImpl(this);
+ this.frontDoorNameAvailabilities = new FrontDoorNameAvailabilitiesClientImpl(this);
+ this.frontDoorNameAvailabilityWithSubscriptions =
+ new FrontDoorNameAvailabilityWithSubscriptionsClientImpl(this);
+ this.frontDoors = new FrontDoorsClientImpl(this);
+ this.frontendEndpoints = new FrontendEndpointsClientImpl(this);
+ this.endpoints = new EndpointsClientImpl(this);
+ this.rulesEngines = new RulesEnginesClientImpl(this);
+ this.policies = new PoliciesClientImpl(this);
+ this.managedRuleSets = new ManagedRuleSetsClientImpl(this);
+ }
+
+ /**
+ * Gets default client context.
+ *
+ * @return the default client context.
+ */
+ public Context getContext() {
+ return Context.NONE;
+ }
+
+ /**
+ * Merges default client context with provided context.
+ *
+ * @param context the context to be merged with default client context.
+ * @return the merged context.
+ */
+ public Context mergeContext(Context context) {
+ for (Map.Entry