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

Class: Microsoft_WindowsAzure_Diagnostics_Manager

Source Location: /WindowsAzure/Diagnostics/Manager.php

Class Overview




Author(s):

Copyright:

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

Variables

Methods



Class Details

[line 48]


Tags:

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


[ Top ]


Class Variables

$_blobStorageClient =  null

[line 55]

Blob storage client



Tags:

access:  protected



[ Top ]

$_controlContainer =  ''

[line 62]

Control container name



Tags:

access:  protected

Type:   string


[ Top ]



Class Methods


constructor __construct [line 70]

Microsoft_WindowsAzure_Diagnostics_Manager __construct( [Microsoft_WindowsAzure_Storage_Blob $blobStorageClient = null], [string $controlContainer = 'wad-control-container'])

Create a new instance of Microsoft_WindowsAzure_Diagnostics_Manager



Tags:

access:  public


Parameters:

Microsoft_WindowsAzure_Storage_Blob   $blobStorageClient   Blob storage client
string   $controlContainer   Control container name

[ Top ]

method configurationForCurrentRoleInstanceExists [line 120]

boolean configurationForCurrentRoleInstanceExists( )

Checks if a configuration for current role instance exists. Only works on Development Fabric or Windows Azure Fabric.



Tags:

throws:  Microsoft_WindowsAzure_Diagnostics_Exception
access:  public


[ Top ]

method configurationForRoleInstanceExists [line 105]

boolean configurationForRoleInstanceExists( [string $roleInstance = null])

Checks if a configuration for a specific role instance exists.



Tags:

throws:  Microsoft_WindowsAzure_Diagnostics_Exception
access:  public


Parameters:

string   $roleInstance   Role instance name, can be found in $_SERVER['RdRoleId'] when hosted on Windows Azure.

[ Top ]

method getConfigurationForCurrentRoleInstance [line 135]

Microsoft_WindowsAzure_Diagnostics_ConfigurationInstance getConfigurationForCurrentRoleInstance( )

Get configuration for current role instance. Only works on Development Fabric or Windows Azure Fabric.



Tags:

throws:  Microsoft_WindowsAzure_Diagnostics_Exception
access:  public


[ Top ]

method getConfigurationForRoleInstance [line 195]

Microsoft_WindowsAzure_Diagnostics_ConfigurationInstance getConfigurationForRoleInstance( [string $roleInstance = null])

Get configuration for a specific role instance



Tags:

throws:  Microsoft_WindowsAzure_Diagnostics_Exception
access:  public


Parameters:

string   $roleInstance   Role instance name, can be found in $_SERVER['RdRoleId'] when hosted on Windows Azure.

[ Top ]

method getDefaultConfiguration [line 93]

Microsoft_WindowsAzure_Diagnostics_ConfigurationInstance getDefaultConfiguration( )

Get default configuration values



Tags:

access:  public


[ Top ]

method setConfigurationForCurrentRoleInstance [line 179]

void setConfigurationForCurrentRoleInstance( Microsoft_WindowsAzure_Diagnostics_ConfigurationInstance $configuration)

Set configuration for current role instance. Only works on Development Fabric or Windows Azure Fabric.



Tags:

throws:  Microsoft_WindowsAzure_Diagnostics_Exception
access:  public


Parameters:

Microsoft_WindowsAzure_Diagnostics_ConfigurationInstance   $configuration   Configuration to apply

[ Top ]

method setConfigurationForRoleInstance [line 217]

void setConfigurationForRoleInstance( [string $roleInstance = null], Microsoft_WindowsAzure_Diagnostics_ConfigurationInstance $configuration)

Set configuration for a specific role instance



Tags:

throws:  Microsoft_WindowsAzure_Diagnostics_Exception
access:  public


Parameters:

string   $roleInstance   Role instance name, can be found in $_SERVER['RdRoleId'] when hosted on Windows Azure.
Microsoft_WindowsAzure_Diagnostics_ConfigurationInstance   $configuration   Configuration to apply

[ Top ]

method _ensureStorageInitialized [line 81]

void _ensureStorageInitialized( )

Ensure storage has been initialized



Tags:

access:  protected


[ Top ]

method _getCurrentRoleInstanceId [line 149]

string _getCurrentRoleInstanceId( )

Get the current role instance ID. Only works on Development Fabric or Windows Azure Fabric.



Tags:

throws:  Microsoft_WindowsAzure_Diagnostics_Exception
access:  protected


[ Top ]


Documentation generated on Wed, 18 May 2011 12:06:41 +0200 by phpDocumentor 1.4.3