I have created new virtual machine and, as expected, cloud service being a contrainer for this VM is created as well. This service seems to be almost identical to one created manually, including having "Deployment Id" property which I can see
at its "Dashboard" page. My intention is to get this value programmatically, using Azure Service Runtime for Java. It usually can be retrieved with
RoleEnvironment.getDeploymentId
method, but looks like RoleEnvironment
is not available in this environment?? Is it really so and, if it is, is there any other way to get this value for a cloud service containing virtual machine?