ServerFarmOperationsExtensions.Create Method
Creates a server farm.
Namespace: Microsoft.WindowsAzure.Management.WebSites
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Usage
'Usage
Dim operations As IServerFarmOperations
Dim webSpaceName As String
Dim parameters As ServerFarmCreateParameters
Dim returnValue As ServerFarmCreateResponse
returnValue = ServerFarmOperationsExtensions.Create(operations, webSpaceName, parameters)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function Create ( _
operations As IServerFarmOperations, _
webSpaceName As String, _
parameters As ServerFarmCreateParameters _
) As ServerFarmCreateResponse
[ExtensionAttribute]
public static ServerFarmCreateResponse Create (
IServerFarmOperations operations,
string webSpaceName,
ServerFarmCreateParameters parameters
)
[ExtensionAttribute]
public:
static ServerFarmCreateResponse^ Create (
IServerFarmOperations^ operations,
String^ webSpaceName,
ServerFarmCreateParameters^ parameters
)
/** @attribute ExtensionAttribute() */
public static ServerFarmCreateResponse Create (
IServerFarmOperations operations,
String webSpaceName,
ServerFarmCreateParameters parameters
)
ExtensionAttribute
public static function Create (
operations : IServerFarmOperations,
webSpaceName : String,
parameters : ServerFarmCreateParameters
) : ServerFarmCreateResponse
Parameters
- operations
The IServerFarmOperations object that specifies the server farm operations.
- webSpaceName
The name of the webspace.
- parameters
The ServerFarmCreateParameters object that contains the parameters that are used to create a server farm.
Return Value
An ServerFarmCreateResponse object that specifies the status of the operation.
Remarks
Only one server farm per web space is permitted. Creating a server farm changes your webspace’s Compute Mode from Shared to Dedicated. You will be charged from the moment the server farm is created, even if all your sites are still running in Free mode.
For more information about creating a server farm, see Create, Manage, or Delete a Server Farm.
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 and Windows Server 2008
Target Platforms
See Also
Reference
ServerFarmOperationsExtensions Class
ServerFarmOperationsExtensions Members
Microsoft.WindowsAzure.Management.WebSites Namespace