ProfileOperationsExtensions.UpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enables or disables a profile. (see http://msdn.microsoft.com/en-us/library/hh758250.aspx for more information)
public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> UpdateAsync (this Microsoft.WindowsAzure.Management.TrafficManager.IProfileOperations operations, string profileName, Microsoft.WindowsAzure.Management.TrafficManager.Models.ProfileDefinitionStatus profileStatus, int definitionVersionNumber);
static member UpdateAsync : Microsoft.WindowsAzure.Management.TrafficManager.IProfileOperations * string * Microsoft.WindowsAzure.Management.TrafficManager.Models.ProfileDefinitionStatus * int -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function UpdateAsync (operations As IProfileOperations, profileName As String, profileStatus As ProfileDefinitionStatus, definitionVersionNumber As Integer) As Task(Of AzureOperationResponse)
Parameters
- operations
- IProfileOperations
Reference to the Microsoft.WindowsAzure.Management.TrafficManager.IProfileOperations.
- profileName
- String
Required. The name of the profile.
- profileStatus
- ProfileDefinitionStatus
Required. Specifies whether the profile should be enabled or disabled.
- definitionVersionNumber
- Int32
Required. Version of the definition associated with the profile
Returns
A standard service response including an HTTP status code and request ID.
Applies to
Azure SDK for .NET