Microsoft_WindowsAzure
[ class tree: Microsoft_WindowsAzure ] [ index: Microsoft_WindowsAzure ] [ all elements ]

Class: Microsoft_WindowsAzure_RoleEnvironment

Source Location: /WindowsAzure/RoleEnvironment.php

Class Overview




Author(s):

Copyright:

  • Copyright (c) 2009 - 2011, RealDolmen (http://www.realdolmen.com)

Methods



Class Details

[line 46]


Tags:

copyright:  Copyright (c) 2009 - 2011, RealDolmen (http://www.realdolmen.com)
license:  http://phpazure.codeplex.com/license


[ Top ]


Class Methods


static method getConfigurationSettingValue [line 129]

static string getConfigurationSettingValue( string $configurationKey)

Get configuration setting value from ServiceConfiguration.cscfg. Note that this method will return null when not hosted on Windows Azure.



Tags:

access:  public


Parameters:

string   $configurationKey   Configuration key.

[ Top ]

static method getCurrentRoleInstanceId [line 83]

static string getCurrentRoleInstanceId( )

Gets the current role instance ID. Note that this method will return null when not hosted on Windows Azure.



Tags:

access:  public


[ Top ]

static method getCurrentRoleName [line 98]

static string getCurrentRoleName( )

Gets the current role name. Note that this method will return null when not hosted on Windows Azure.



Tags:

access:  public


[ Top ]

static method getDeploymentId [line 113]

static string getDeploymentId( )

Gets the current deployment ID. Note that this method will return null when not hosted on Windows Azure.



Tags:

access:  public


[ Top ]

static method getLocalResource [line 145]

static string getLocalResource( string $localResourceKey)

Get local resource root path from ServiceDefinition.csdef. Note that this method will return null when not hosted on Windows Azure.



Tags:

access:  public


Parameters:

string   $localResourceKey   Local resource key.

[ Top ]

static method isAvailable [line 61]

static boolean isAvailable( )

Is the Windows Azure role environment available? Will return true on Windows Azure and Development Fabric, false when run in any other environment.



Tags:

access:  public


[ Top ]

static method isDevFabric [line 72]

static boolean isDevFabric( )

Is the application running in the development fabric?



Tags:

access:  public


[ Top ]

static method _runCommand [line 162]

static mixed _runCommand( string $command, [array $parameters = array()])

Run a command through RoleEnvironmentProxy.exe.



Tags:

access:  protected


Parameters:

string   $command   Command to run.
array   $parameters   Command parameters.

[ Top ]


Documentation generated on Sat, 03 Dec 2011 13:59:35 +0100 by phpDocumentor 1.4.3