Skip to content
Merged
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
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
# Release History

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

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes
- Upgraded to api-version 2025-10-01-preview.

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

Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

#nullable disable

using System.ComponentModel;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core;
using Azure.ResourceManager.ServiceFabricManagedClusters.Models;

namespace Azure.ResourceManager.ServiceFabricManagedClusters
{
/// <summary>
/// A Class representing a ServiceFabricManagedApplication along with the instance operations that can be performed on it.
/// If you have a <see cref="ResourceIdentifier"/> you can construct a <see cref="ServiceFabricManagedApplicationResource"/>
/// from an instance of <see cref="ArmClient"/> using the GetServiceFabricManagedApplicationResource method.
/// Otherwise you can get one from its parent resource <see cref="ServiceFabricManagedClusterResource"/> using the GetServiceFabricManagedApplication method.
/// </summary>
public partial class ServiceFabricManagedApplicationResource : ArmResource
{
/// <summary>
/// Updates the tags of an application resource of a given managed cluster.
/// <list type="bullet">
/// <item>
/// <term>Request Path</term>
/// <description>/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}</description>
/// </item>
/// <item>
/// <term>Operation Id</term>
/// <description>ApplicationResource_Update</description>
/// </item>
/// <item>
/// <term>Resource</term>
/// <description><see cref="ServiceFabricManagedApplicationResource"/></description>
/// </item>
/// </list>
/// </summary>
/// <param name="patch"> The application resource updated tags. </param>
/// <param name="cancellationToken"> The cancellation token to use. </param>
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual async Task<Response<ServiceFabricManagedApplicationResource>> UpdateAsync(ServiceFabricManagedApplicationPatch patch, CancellationToken cancellationToken = default)
{
var response = await UpdateAsync(WaitUntil.Completed, patch, cancellationToken).ConfigureAwait(false);
return Response.FromValue(response.Value, null);
}

/// <summary>
/// Updates the tags of an application resource of a given managed cluster.
/// <list type="bullet">
/// <item>
/// <term>Request Path</term>
/// <description>/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}</description>
/// </item>
/// <item>
/// <term>Operation Id</term>
/// <description>ApplicationResource_Update</description>
/// </item>
/// <item>
/// <term>Resource</term>
/// <description><see cref="ServiceFabricManagedApplicationResource"/></description>
/// </item>
/// </list>
/// </summary>
/// <param name="patch"> The application resource updated tags. </param>
/// <param name="cancellationToken"> The cancellation token to use. </param>
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual Response<ServiceFabricManagedApplicationResource> Update(ServiceFabricManagedApplicationPatch patch, CancellationToken cancellationToken = default)
{
return Response.FromValue(Update(WaitUntil.Completed, patch, cancellationToken).Value, null);
}
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using System.ComponentModel;
using System.Threading.Tasks;
using System.Threading;
using Azure.ResourceManager.ServiceFabricManagedClusters.Models;
Expand Down Expand Up @@ -57,5 +58,56 @@ public virtual Response<ManagedMaintenanceWindowStatus> GetManagedMaintenanceWin
{
return GetManagedMaintenanceWindowStatu(cancellationToken);
}

/// <summary>
/// Update the tags of of a Service Fabric managed cluster resource with the specified name.
/// <list type="bullet">
/// <item>
/// <term>Request Path</term>
/// <description>/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}</description>
/// </item>
/// <item>
/// <term>Operation Id</term>
/// <description>ManagedCluster_Update</description>
/// </item>
/// <item>
/// <term>Resource</term>
/// <description><see cref="ServiceFabricManagedClusterResource"/></description>
/// </item>
/// </list>
/// </summary>
/// <param name="patch"> The managed cluster resource updated tags. </param>
/// <param name="cancellationToken"> The cancellation token to use. </param>
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual async Task<Response<ServiceFabricManagedClusterResource>> UpdateAsync(ServiceFabricManagedClusterPatch patch, CancellationToken cancellationToken = default)
{
var response = await UpdateAsync(WaitUntil.Completed, patch, cancellationToken).ConfigureAwait(false);
return Response.FromValue(response.Value, null);
}

/// <summary>
/// Update the tags of of a Service Fabric managed cluster resource with the specified name.
/// <list type="bullet">
/// <item>
/// <term>Request Path</term>
/// <description>/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}</description>
/// </item>
/// <item>
/// <term>Operation Id</term>
/// <description>ManagedCluster_Update</description>
/// </item>
/// <item>
/// <term>Resource</term>
/// <description><see cref="ServiceFabricManagedClusterResource"/></description>
/// </item>
/// </list>
/// </summary>
/// <param name="patch"> The managed cluster resource updated tags. </param>
/// <param name="cancellationToken"> The cancellation token to use. </param>
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual Response<ServiceFabricManagedClusterResource> Update(ServiceFabricManagedClusterPatch patch, CancellationToken cancellationToken = default)
{
return Response.FromValue(Update(WaitUntil.Completed, patch, cancellationToken).Value, null);
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading