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 = null
null
DetailsMethods


__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 |