Skip to content

Commit 4fe50b3

Browse files
authored
[AutoPR Azure.ResourceManager.ServiceFabricManagedClusters]-generated-from-SDK Generation - .NET-5554954 (#53803)
1 parent bc28f2c commit 4fe50b3

File tree

60 files changed

+2631
-399
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+2631
-399
lines changed

sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/CHANGELOG.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
# Release History
22

3-
## 1.3.0-beta.5 (Unreleased)
3+
## 1.3.0-beta.5 (2025-11-19)
44

55
### Features Added
66

7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
7+
- Upgraded to api-version 2025-10-01-preview.
128

139
## 1.3.0-beta.4 (2025-10-16)
1410

sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/api/Azure.ResourceManager.ServiceFabricManagedClusters.net8.0.cs

Lines changed: 101 additions & 0 deletions
Large diffs are not rendered by default.

sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/api/Azure.ResourceManager.ServiceFabricManagedClusters.netstandard2.0.cs

Lines changed: 101 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
#nullable disable
5+
6+
using System.ComponentModel;
7+
using System.Threading;
8+
using System.Threading.Tasks;
9+
using Azure.Core;
10+
using Azure.ResourceManager.ServiceFabricManagedClusters.Models;
11+
12+
namespace Azure.ResourceManager.ServiceFabricManagedClusters
13+
{
14+
/// <summary>
15+
/// A Class representing a ServiceFabricManagedApplication along with the instance operations that can be performed on it.
16+
/// If you have a <see cref="ResourceIdentifier"/> you can construct a <see cref="ServiceFabricManagedApplicationResource"/>
17+
/// from an instance of <see cref="ArmClient"/> using the GetServiceFabricManagedApplicationResource method.
18+
/// Otherwise you can get one from its parent resource <see cref="ServiceFabricManagedClusterResource"/> using the GetServiceFabricManagedApplication method.
19+
/// </summary>
20+
public partial class ServiceFabricManagedApplicationResource : ArmResource
21+
{
22+
/// <summary>
23+
/// Updates the tags of an application resource of a given managed cluster.
24+
/// <list type="bullet">
25+
/// <item>
26+
/// <term>Request Path</term>
27+
/// <description>/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}</description>
28+
/// </item>
29+
/// <item>
30+
/// <term>Operation Id</term>
31+
/// <description>ApplicationResource_Update</description>
32+
/// </item>
33+
/// <item>
34+
/// <term>Resource</term>
35+
/// <description><see cref="ServiceFabricManagedApplicationResource"/></description>
36+
/// </item>
37+
/// </list>
38+
/// </summary>
39+
/// <param name="patch"> The application resource updated tags. </param>
40+
/// <param name="cancellationToken"> The cancellation token to use. </param>
41+
[EditorBrowsable(EditorBrowsableState.Never)]
42+
public virtual async Task<Response<ServiceFabricManagedApplicationResource>> UpdateAsync(ServiceFabricManagedApplicationPatch patch, CancellationToken cancellationToken = default)
43+
{
44+
var response = await UpdateAsync(WaitUntil.Completed, patch, cancellationToken).ConfigureAwait(false);
45+
return Response.FromValue(response.Value, null);
46+
}
47+
48+
/// <summary>
49+
/// Updates the tags of an application resource of a given managed cluster.
50+
/// <list type="bullet">
51+
/// <item>
52+
/// <term>Request Path</term>
53+
/// <description>/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}</description>
54+
/// </item>
55+
/// <item>
56+
/// <term>Operation Id</term>
57+
/// <description>ApplicationResource_Update</description>
58+
/// </item>
59+
/// <item>
60+
/// <term>Resource</term>
61+
/// <description><see cref="ServiceFabricManagedApplicationResource"/></description>
62+
/// </item>
63+
/// </list>
64+
/// </summary>
65+
/// <param name="patch"> The application resource updated tags. </param>
66+
/// <param name="cancellationToken"> The cancellation token to use. </param>
67+
[EditorBrowsable(EditorBrowsableState.Never)]
68+
public virtual Response<ServiceFabricManagedApplicationResource> Update(ServiceFabricManagedApplicationPatch patch, CancellationToken cancellationToken = default)
69+
{
70+
return Response.FromValue(Update(WaitUntil.Completed, patch, cancellationToken).Value, null);
71+
}
72+
}
73+
}

sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Customization/ServiceFabricManagedClusterResource.cs

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33

4+
using System.ComponentModel;
45
using System.Threading.Tasks;
56
using System.Threading;
67
using Azure.ResourceManager.ServiceFabricManagedClusters.Models;
@@ -57,5 +58,56 @@ public virtual Response<ManagedMaintenanceWindowStatus> GetManagedMaintenanceWin
5758
{
5859
return GetManagedMaintenanceWindowStatu(cancellationToken);
5960
}
61+
62+
/// <summary>
63+
/// Update the tags of of a Service Fabric managed cluster resource with the specified name.
64+
/// <list type="bullet">
65+
/// <item>
66+
/// <term>Request Path</term>
67+
/// <description>/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}</description>
68+
/// </item>
69+
/// <item>
70+
/// <term>Operation Id</term>
71+
/// <description>ManagedCluster_Update</description>
72+
/// </item>
73+
/// <item>
74+
/// <term>Resource</term>
75+
/// <description><see cref="ServiceFabricManagedClusterResource"/></description>
76+
/// </item>
77+
/// </list>
78+
/// </summary>
79+
/// <param name="patch"> The managed cluster resource updated tags. </param>
80+
/// <param name="cancellationToken"> The cancellation token to use. </param>
81+
[EditorBrowsable(EditorBrowsableState.Never)]
82+
public virtual async Task<Response<ServiceFabricManagedClusterResource>> UpdateAsync(ServiceFabricManagedClusterPatch patch, CancellationToken cancellationToken = default)
83+
{
84+
var response = await UpdateAsync(WaitUntil.Completed, patch, cancellationToken).ConfigureAwait(false);
85+
return Response.FromValue(response.Value, null);
86+
}
87+
88+
/// <summary>
89+
/// Update the tags of of a Service Fabric managed cluster resource with the specified name.
90+
/// <list type="bullet">
91+
/// <item>
92+
/// <term>Request Path</term>
93+
/// <description>/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}</description>
94+
/// </item>
95+
/// <item>
96+
/// <term>Operation Id</term>
97+
/// <description>ManagedCluster_Update</description>
98+
/// </item>
99+
/// <item>
100+
/// <term>Resource</term>
101+
/// <description><see cref="ServiceFabricManagedClusterResource"/></description>
102+
/// </item>
103+
/// </list>
104+
/// </summary>
105+
/// <param name="patch"> The managed cluster resource updated tags. </param>
106+
/// <param name="cancellationToken"> The cancellation token to use. </param>
107+
[EditorBrowsable(EditorBrowsableState.Never)]
108+
public virtual Response<ServiceFabricManagedClusterResource> Update(ServiceFabricManagedClusterPatch patch, CancellationToken cancellationToken = default)
109+
{
110+
return Response.FromValue(Update(WaitUntil.Completed, patch, cancellationToken).Value, null);
111+
}
60112
}
61113
}

sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/ArmServiceFabricManagedClustersModelFactory.cs

Lines changed: 38 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Extensions/MockableServiceFabricManagedClustersResourceGroupResource.cs

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Extensions/MockableServiceFabricManagedClustersSubscriptionResource.cs

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)