Share via


DefinitionOperationsExtensions.Create Method

Creates a new profile definition.

Namespace: Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.Management.TrafficManager (in Microsoft.WindowsAzure.Management.TrafficManager.dll)

Usage

'Usage
Dim operations As IDefinitionOperations
Dim profileName As String
Dim parameters As DefinitionCreateParameters
Dim returnValue As OperationResponse

returnValue = DefinitionOperationsExtensions.Create(operations, profileName, parameters)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Create ( _
    operations As IDefinitionOperations, _
    profileName As String, _
    parameters As DefinitionCreateParameters _
) As OperationResponse
[ExtensionAttribute] 
public static OperationResponse Create (
    IDefinitionOperations operations,
    string profileName,
    DefinitionCreateParameters parameters
)
[ExtensionAttribute] 
public:
static OperationResponse^ Create (
    IDefinitionOperations^ operations, 
    String^ profileName, 
    DefinitionCreateParameters^ parameters
)
/** @attribute ExtensionAttribute() */ 
public static OperationResponse Create (
    IDefinitionOperations operations, 
    String profileName, 
    DefinitionCreateParameters parameters
)
ExtensionAttribute 
public static function Create (
    operations : IDefinitionOperations, 
    profileName : String, 
    parameters : DefinitionCreateParameters
) : OperationResponse

Parameters

  • profileName
    The name of the profile for which a new definition should be created.

Return Value

An OperationResponse object that includes an HTTP status code and request ID.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

DefinitionOperationsExtensions Class
DefinitionOperationsExtensions Members
Microsoft.WindowsAzure Namespace