Service/WindowsAzure/Diagnostics/Manager.php
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 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-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties

\Zend_Service_WindowsAzure_Storage_Blob $_blobStorageClient = nullnullDetailsMethods

__construct(\Zend_Service_WindowsAzure_Storage_Blob $blobStorageClient = null, string $controlContainer = 'wad-control-container') : voidCreate 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() : stringGet 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() : booleanChecks 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) : booleanChecks 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_ConfigurationInstanceGet 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_ConfigurationInstanceGet 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_ConfigurationInstanceGet default configuration values
| Type | Description |
|---|---|
| \Zend_Service_WindowsAzure_Diagnostics_ConfigurationInstance |

setConfigurationForCurrentRoleInstance(\Zend_Service_WindowsAzure_Diagnostics_ConfigurationInstance $configuration) : voidSet 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) : voidSet 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 |