The proper place to get the instance ID is from GoalState.1.xml.
cat GoalState.1.xml <?xml version="1.0" encoding="utf-8"?> <GoalState xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="goalstate10.xsd"> ... <Container> <ContainerId>fb3c8d4d-5087-4878-9e71-472119b5750c</ContainerId> <RoleInstanceList> <RoleInstance> <InstanceId>8391407e1edc4dd095dae486073ad2b2.utl-0723-ci4a</InstanceId> <State>Started</State> <Configuration> ... </Configuration> </RoleInstance> </RoleInstanceList> </Container>
The InstanceID value corresponds to the deployment ID.
The proper place to get the instance ID is from GoalState.1.xml.
cat GoalState.1.xml www.w3. org/2001/ XMLSchema- instance" xsi:noNamespace SchemaLocation= "goalstate10. xsd"> d>fb3c8d4d- 5087-4878- 9e71-472119b575 0c</ContainerId > ceList> RoleInstance>
<InstanceId> 8391407e1edc4dd 095dae486073ad2 b2.utl- 0723-ci4a< /InstanceId>
<State> Started< /State>
<Configuration >
</Configuratio n> /RoleInstance> nceList>
<?xml version="1.0" encoding="utf-8"?>
<GoalState xmlns:xsi="http://
...
<Container>
<ContainerI
<RoleInstan
<
...
<
</RoleInsta
</Container>
The InstanceID value corresponds to the deployment ID.