Share via


ProfileOperationsExtensions.Update Method

Definition

Enables or disables a profile. (see http://msdn.microsoft.com/en-us/library/hh758250.aspx for more information)

public static Microsoft.Azure.AzureOperationResponse Update (this Microsoft.WindowsAzure.Management.TrafficManager.IProfileOperations operations, string profileName, Microsoft.WindowsAzure.Management.TrafficManager.Models.ProfileDefinitionStatus profileStatus, int definitionVersionNumber);
static member Update : Microsoft.WindowsAzure.Management.TrafficManager.IProfileOperations * string * Microsoft.WindowsAzure.Management.TrafficManager.Models.ProfileDefinitionStatus * int -> Microsoft.Azure.AzureOperationResponse
<Extension()>
Public Function Update (operations As IProfileOperations, profileName As String, profileStatus As ProfileDefinitionStatus, definitionVersionNumber As Integer) As 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

Microsoft.Azure.AzureOperationResponse

A standard service response including an HTTP status code and request ID.

Applies to