Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions sdk/frontdoor/Azure.Provisioning.FrontDoor/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,15 @@

### Breaking Changes

- Renamed `FrontendEndpointData` to `FrontendEndpoint`.
- Removed historical `FrontDoorResource` API version constants older than `2025-10-01`.

### Bugs Fixed

### Other Changes

- Migrated generation to the TypeSpec-based provisioning generator.

## 1.0.0-beta.1 (2025-10-17)

### Features Added
Expand Down
22 changes: 2 additions & 20 deletions sdk/frontdoor/Azure.Provisioning.FrontDoor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,20 +81,11 @@ ProvisioningVariable backendPoolName =
infra.Add(backendPoolName);

FrontDoorResource frontDoor =
new(nameof(frontDoor), FrontDoorResource.ResourceVersions.V2021_06_01)
new(nameof(frontDoor), FrontDoorResource.ResourceVersions.V2025_11_01)
{
Name = frontDoorName,
Location = new AzureLocation("global"),
EnabledState = FrontDoorEnabledState.Enabled,
FrontendEndpoints =
{
new FrontendEndpointData
{
Name = frontEndEndpointName,
HostName = BicepFunction.Interpolate($"{frontDoorName}.azurefd.net"),
SessionAffinityEnabledState = SessionAffinityEnabledState.Disabled
}
},
LoadBalancingSettings =
{
new FrontDoorLoadBalancingSettingsData
Expand Down Expand Up @@ -188,20 +179,11 @@ ProvisioningParameter backendAddress =
infra.Add(backendAddress);

FrontDoorResource frontDoor =
new(nameof(frontDoor), FrontDoorResource.ResourceVersions.V2020_05_01)
new(nameof(frontDoor), FrontDoorResource.ResourceVersions.V2025_11_01)
{
Name = frontDoorName,
Location = new AzureLocation("global"),
EnabledState = FrontDoorEnabledState.Enabled,
FrontendEndpoints =
{
new FrontendEndpointData
{
Name = "frontendEndpoint1",
HostName = BicepFunction.Interpolate($"{frontDoorName}.azurefd.net"),
SessionAffinityEnabledState = SessionAffinityEnabledState.Disabled
}
},
LoadBalancingSettings =
{
new FrontDoorLoadBalancingSettingsData
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions sdk/frontdoor/Azure.Provisioning.FrontDoor/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"apiVersions": {
"Microsoft.Network": "2025-11-01"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using Microsoft.TypeSpec.Generator.Customizations;

namespace Azure.Provisioning.FrontDoor;

[CodeGenType("FrontDoor")]
public partial class FrontDoorResource
{
}
Loading
Loading