| AzureHelper Class |
Namespace: CMS.Base
public class AzureHelper
The AzureHelper type exposes the following members.
| Name | Description | |
|---|---|---|
| AzureHelper |
| Name | Description | |
|---|---|---|
| GetDownloadPath |
Returns download path for given path.
| |
| IsAzureStagingDomain |
Returns true if current domain is Azure staging domain.
| |
| IsSQLAzureServer |
Returns whether SQL server is SQL Azure according to its name.
| |
| RestartAzureInstance |
Restarts Azure instance.
|
| Name | Description | |
|---|---|---|
| AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
| GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
| Name | Description | |
|---|---|---|
| AZURE_FILE_PAGE |
Path to azure file page.
| |
| QUEUE_TIMEOUT |
Timeout for getting message from queue.
| |
| SEARCH_INIT_SLEEP |
Sleep interval between tries for init of smart search worker role.
| |
| SEARCH_PROCESS_SLEEP |
Sleep interval between starting of task processor.
| |
| SQLAZURE_DOMAIN |
Domain of SQL Azure service.
|
| Name | Description | |
|---|---|---|
| BlobUrl |
Gets or sets url of blob endpoint.
| |
| CurrentInstanceID |
Gets or sets current instance id.
| |
| CurrentInternalEndpoint |
Gets or sets internal endpoint of current instace.
| |
| DeploymentID |
Deployment id of instance.
| |
| NumberOfInstances |
Number of Azure instances within webrole.
|
| Name | Description | |
|---|---|---|
| OnRestartRequired |
Event which is trown when Azure application should be restarted.
|