Service/WindowsAzure/Diagnostics/Manager.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Service_WindowsAzure
- Subpackage
- Diagnostics
- Version
- $Id$
\Zend_Service_WindowsAzure_Diagnostics_Manager
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties


\Zend_Service_WindowsAzure_Storage_Blob $_blobStorageClient = null
Blob storage client
null
Details
Methods


__construct(\Zend_Service_WindowsAzure_Storage_Blob $blobStorageClient = null, string $controlContainer = 'wad-control-container') : void
Create a new instance of Zend_Service_WindowsAzure_Diagnostics_Manager
Name | Type | Description |
---|---|---|
$blobStorageClient | \Zend_Service_WindowsAzure_Storage_Blob | Blob storage client |
$controlContainer | string | Control container name |


_getCurrentRoleInstanceId() : string
Get the current role instance ID.
Only works on Development Fabric or Windows Azure Fabric.
Type | Description |
---|---|
string |
Exception | Description |
---|---|
\Zend_Service_WindowsAzure_Diagnostics_Exception |


configurationForCurrentRoleInstanceExists() : boolean
Checks if a configuration for current role instance exists.
Only works on Development Fabric or Windows Azure Fabric.
Type | Description |
---|---|
boolean |
Exception | Description |
---|---|
\Zend_Service_WindowsAzure_Diagnostics_Exception |


configurationForRoleInstanceExists(string $roleInstance = null) : boolean
Checks if a configuration for a specific role instance exists.
Name | Type | Description |
---|---|---|
$roleInstance | string | Role instance name, can be found in $_SERVER['RdRoleId'] when hosted on Windows Azure. |
Type | Description |
---|---|
boolean |
Exception | Description |
---|---|
\Zend_Service_WindowsAzure_Diagnostics_Exception |


getConfigurationForCurrentRoleInstance() : \Zend_Service_WindowsAzure_Diagnostics_ConfigurationInstance
Get configuration for current role instance.
Only works on Development Fabric or Windows Azure Fabric.
Type | Description |
---|---|
\Zend_Service_WindowsAzure_Diagnostics_ConfigurationInstance |
Exception | Description |
---|---|
\Zend_Service_WindowsAzure_Diagnostics_Exception |


getConfigurationForRoleInstance(string $roleInstance = null) : \Zend_Service_WindowsAzure_Diagnostics_ConfigurationInstance
Get configuration for a specific role instance
Name | Type | Description |
---|---|---|
$roleInstance | string | Role instance name, can be found in $_SERVER['RdRoleId'] when hosted on Windows Azure. |
Type | Description |
---|---|
\Zend_Service_WindowsAzure_Diagnostics_ConfigurationInstance |
Exception | Description |
---|---|
\Zend_Service_WindowsAzure_Diagnostics_Exception |


getDefaultConfiguration() : \Zend_Service_WindowsAzure_Diagnostics_ConfigurationInstance
Get default configuration values
Type | Description |
---|---|
\Zend_Service_WindowsAzure_Diagnostics_ConfigurationInstance |


setConfigurationForCurrentRoleInstance(\Zend_Service_WindowsAzure_Diagnostics_ConfigurationInstance $configuration) : void
Set configuration for current role instance.
Only works on Development Fabric or Windows Azure Fabric.
Name | Type | Description |
---|---|---|
$configuration | \Zend_Service_WindowsAzure_Diagnostics_ConfigurationInstance | Configuration to apply |
Exception | Description |
---|---|
\Zend_Service_WindowsAzure_Diagnostics_Exception |


setConfigurationForRoleInstance(string $roleInstance = null, \Zend_Service_WindowsAzure_Diagnostics_ConfigurationInstance $configuration) : void
Set configuration for a specific role instance
Name | Type | Description |
---|---|---|
$roleInstance | string | Role instance name, can be found in $_SERVER['RdRoleId'] when hosted on Windows Azure. |
$configuration | \Zend_Service_WindowsAzure_Diagnostics_ConfigurationInstance | Configuration to apply |
Exception | Description |
---|---|
\Zend_Service_WindowsAzure_Diagnostics_Exception |