Automanage.ConfigurationProfilesUpdate Method

Definition

Updates a configuration profile

C#
public System.Threading.Tasks.Task ConfigurationProfilesUpdate (string configurationProfileName, string subscriptionId, string resourceGroupName, Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfileUpdate body, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfile>,System.Threading.Tasks.Task> onOk, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20.IErrorResponse>,System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Automanage.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Automanage.Runtime.ISendAsync sender);

Parameters

configurationProfileName
String

Name of the configuration profile.

subscriptionId
String

The ID of the target subscription.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

body
IConfigurationProfileUpdate

Parameters supplied to update configuration profile.

onOk
Func<HttpResponseMessage,Task<IConfigurationProfile>,Task>

a delegate that is called when the remote service returns 200 (OK).

onDefault
Func<HttpResponseMessage,Task<IErrorResponse>,Task>

a delegate that is called when the remote service returns default (any response code not handled elsewhere).

eventListener
IEventListener

an IEventListener instance that will receive events.

sender
ISendAsync

an instance of an Microsoft.Azure.PowerShell.Cmdlets.Automanage.Runtime.ISendAsync pipeline to use to make the request.

Returns

A Task that will be complete when handling of the response is completed.

Applies to

Product Versions
Azure - PowerShell Commands 12 (LTS), Latest