ProfileOperationsExtensions.Update 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 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
A standard service response including an HTTP status code and request ID.
Applies to
Azure SDK for .NET