-
Notifications
You must be signed in to change notification settings - Fork 5.1k
[servicefabricmanagedclusters] sdk for 2025-03-01-preview api version #50184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ArthurMa1978
merged 16 commits into
Azure:main
from
iliu816:user/iliu/2025-03-01-preview
Jun 25, 2025
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
c70266f
formatting changes from autorest generator
iliu816 195ae1c
expected changes
iliu816 0974d1c
save tsp-location.yaml
iliu816 0eda0c8
expected changes after client generation tweaks
iliu816 54bb952
* remove autorest
iliu816 728d253
UnknownPartition
iliu816 1ca58a5
new tests and test fixes
iliu816 43dd408
regenerated with typespec client tweaks
iliu816 a3e5c9c
changelog, spec client gen updates
iliu816 4266248
remove unused sections from changelog
iliu816 4a1d6b6
Merge branch 'main' into servicefabric
ArthurMa1978 ed86778
Fix changelog
ArthurMa1978 bc8a9a3
update
ArthurMa1978 1403ff1
Merge branch 'main' into servicefabric
ArthurMa1978 dbb9297
update samples
ArthurMa1978 b0fd9f7
update
ArthurMa1978 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
18 changes: 13 additions & 5 deletions
18
...managedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/CHANGELOG.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
187 changes: 185 additions & 2 deletions
187
...iceFabricManagedClusters/api/Azure.ResourceManager.ServiceFabricManagedClusters.net8.0.cs
Large diffs are not rendered by default.
Oops, something went wrong.
187 changes: 185 additions & 2 deletions
187
...cManagedClusters/api/Azure.ResourceManager.ServiceFabricManagedClusters.netstandard2.0.cs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...ResourceManager.ServiceFabricManagedClusters/src/Customization/Models/UnknownPartition.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
|
|
||
| #nullable disable | ||
| using Azure.Core; | ||
|
|
||
| namespace Azure.ResourceManager.ServiceFabricManagedClusters.Models | ||
| { | ||
| [CodeGenModel("UnknownManagedServicePartitionScheme")] | ||
| internal partial class UnknownPartition | ||
| { | ||
| } | ||
| } |
14 changes: 14 additions & 0 deletions
14
...eManager.ServiceFabricManagedClusters/src/Customization/Models/UnknownScalingMechanism.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
|
|
||
| #nullable disable | ||
|
|
||
| using Azure.Core; | ||
|
|
||
| namespace Azure.ResourceManager.ServiceFabricManagedClusters.Models | ||
| { | ||
| [CodeGenModel("UnknownManagedServiceScalingMechanism")] | ||
| internal partial class UnknownScalingMechanism | ||
| { | ||
| } | ||
| } |
14 changes: 14 additions & 0 deletions
14
...rceManager.ServiceFabricManagedClusters/src/Customization/Models/UnknownScalingTrigger.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
|
|
||
| #nullable disable | ||
|
|
||
| using Azure.Core; | ||
|
|
||
| namespace Azure.ResourceManager.ServiceFabricManagedClusters.Models | ||
| { | ||
| [CodeGenModel("UnknownManagedServiceScalingTrigger")] | ||
| internal partial class UnknownScalingTrigger | ||
| { | ||
| } | ||
| } |
14 changes: 14 additions & 0 deletions
14
...er.ServiceFabricManagedClusters/src/Customization/Models/UnknownServicePlacementPolicy.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
|
|
||
| #nullable disable | ||
|
|
||
| using Azure.Core; | ||
|
|
||
| namespace Azure.ResourceManager.ServiceFabricManagedClusters.Models | ||
| { | ||
| [CodeGenModel("UnknownManagedServicePlacementPolicy")] | ||
| internal partial class UnknownServicePlacementPolicy | ||
| { | ||
| } | ||
| } |
60 changes: 60 additions & 0 deletions
60
...ger.ServiceFabricManagedClusters/src/Customization/ServiceFabricManagedApplicationData.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
|
|
||
| // <auto-generated/> | ||
|
|
||
| #nullable disable | ||
|
|
||
| using System; | ||
| using System.Collections.Generic; | ||
| using System.ComponentModel; | ||
| using System.Linq; | ||
| using System.Net; | ||
| using Azure.Core; | ||
| using Azure.ResourceManager.Models; | ||
|
|
||
| namespace Azure.ResourceManager.ServiceFabricManagedClusters.Models | ||
| { | ||
| /// <summary> Model factory for models. </summary> | ||
| public static partial class ArmServiceFabricManagedClustersModelFactory | ||
| { | ||
| /// <summary> Initializes a new instance of <see cref="ServiceFabricManagedClusters.ServiceFabricManagedApplicationData"/>. </summary> | ||
| /// <param name="id"> The id. </param> | ||
| /// <param name="name"> The name. </param> | ||
| /// <param name="resourceType"> The resourceType. </param> | ||
| /// <param name="systemData"> The systemData. </param> | ||
| /// <param name="tags"> The tags. </param> | ||
| /// <param name="location"> The location. </param> | ||
| /// <param name="identity"> Describes the managed identities for an Azure resource. </param> | ||
| /// <param name="provisioningState"> The current deployment or provisioning state, which only appears in the response. </param> | ||
| /// <param name="version"> | ||
| /// The version of the application type as defined in the application manifest. | ||
| /// This name must be the full Arm Resource ID for the referenced application type version. | ||
| /// </param> | ||
| /// <param name="parameters"> List of application parameters with overridden values from their default values specified in the application manifest. </param> | ||
| /// <param name="upgradePolicy"> Describes the policy for a monitored application upgrade. </param> | ||
| /// <param name="managedIdentities"> List of user assigned identities for the application, each mapped to a friendly name. </param> | ||
| /// <returns> A new <see cref="ServiceFabricManagedClusters.ServiceFabricManagedApplicationData"/> instance for mocking. </returns> | ||
| public static ServiceFabricManagedApplicationData ServiceFabricManagedApplicationData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary<string, string> tags = null, AzureLocation location = default, ManagedServiceIdentity identity = null, string provisioningState = null, string version = null, IDictionary<string, string> parameters = null, ApplicationUpgradePolicy upgradePolicy = null, IEnumerable<ApplicationUserAssignedIdentityInfo> managedIdentities = null) | ||
| { | ||
| tags ??= new Dictionary<string, string>(); | ||
| managedIdentities ??= new List<ApplicationUserAssignedIdentityInfo>(); | ||
| parameters ??= new Dictionary<string, string>(); | ||
|
|
||
| return new ServiceFabricManagedApplicationData( | ||
| id, | ||
| name, | ||
| resourceType, | ||
| systemData, | ||
| tags, | ||
| location, | ||
| managedIdentities?.ToList(), | ||
| provisioningState, | ||
| version, | ||
| parameters, | ||
| upgradePolicy, | ||
| identity, | ||
ArthurMa1978 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| serializedAdditionalRawData: null); | ||
| } | ||
| } | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.