public final class RoleInstance extends Object
| Modifier and Type | Method and Description |
|---|---|
int |
getFaultDomain()
Returns an integer value that indicates the fault domain in which this
instance resides.
|
String |
getId()
Returns the ID of this instance.
|
Map<String,RoleInstanceEndpoint> |
getInstanceEndpoints()
Returns the set of endpoints associated with this role instance.
|
Role |
getRole()
Returns the
Role object associated with this instance. |
int |
getUpdateDomain()
Returns an integer value that indicates the update domain in which this
instance resides.
|
public int getFaultDomain()
public String getId()
The returned ID is unique to the application domain of the role's instance. If an instance is terminated and has been configured to restart automatically, the restarted instance will have the same ID as the terminated instance.
String object that represents the ID of this
instance.public int getUpdateDomain()
public Role getRole()
Role object associated with this instance.Role object associated with this instancepublic Map<String,RoleInstanceEndpoint> getInstanceEndpoints()
Map object of RoleInstanceEndpoint objects
that represent the set of endpoints associated with this
role instance./**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/