public class JcloudsWinRmMachineLocation extends WinRmMachineLocation implements JcloudsMachineLocation
AbstractLocation.BasicSubscriptionSupportBrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupportConfigurable.ConfigurationSupportBrooklynObjectInternal.ConfigurationSupportInternal, BrooklynObjectInternal.RelationSupportInternal<T extends BrooklynObject>, BrooklynObjectInternal.SubscriptionSupportInternalADDRESS, ALL_WINRM_CONFIG_KEY_NAMES, ALL_WINRM_CONFIG_KEYS, COPY_FILE_CHUNK_SIZE_BYTES, EXEC_TRIES, EXECUTION_ATTEMPTS, OPERATION_TIMEOUT, PASSWORD, PRIVATE_ADDRESSES, RETRIES_OF_NETWORK_FAILURES, TCP_PORT_MAPPINGS, USE_HTTPS_WINRM, USE_NTLM, USER, WINRM_CONFIG_PORT, WINRM_TOOL_CLASS, WINRM_TOOL_CLASS_PROPERTIES_PREFIXPARENT_LOCATION, TEMPORARY_LOCATIONFINAL_SPEC, NAMED_SPEC_NAME, ORIGINAL_SPEC| Constructor and Description |
|---|
JcloudsWinRmMachineLocation() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getHostname()
note
|
java.lang.String |
getJcloudsId() |
org.jclouds.compute.domain.NodeMetadata |
getNode()
Deprecated.
since 0.9.0
|
|
getOptionalNode() |
JcloudsLocation |
getParent()
Get the 'parent' of this location.
|
java.util.Set<java.lang.String> |
getPrivateAddresses()
All private IP addresses.
|
java.util.Set<java.lang.String> |
getPublicAddresses()
In clouds like AWS, the public hostname is the only way to ensure VMs in different zones can access each other.
|
java.lang.String |
getSubnetHostname()
In most clouds, the public hostname is the only way to ensure VMs in different zones can access each other.
|
java.lang.String |
getSubnetIp()
returns an IP for use internally within a subnet / VPC
|
org.jclouds.compute.domain.Template |
getTemplate()
Deprecated.
since 0.9.0
|
void |
init()
Called by framework (in new-style instances where spec was used) after configuring etc,
but before a reference to this instance is shared.
|
void |
rebind()
Called by framework on rebind (in new-style instances):
after configuring, but
before the instance is managed, and
before adjuncts are attached to entities, and
before a reference to an object is shared.
|
java.lang.String |
toVerboseString() |
copyTo, copyTo, copyTo, executeCommand, executeCommand, executeCommand, executePsScript, executePsScript, executePsScript, executeScript, executeScript, executeScript, getAddress, getDefaultUserMetadataString, getMachineDetails, getOsDetails, getPort, getUseraddChild, addExtension, config, configure, containsLocation, equals, getAllConfig, getAllConfigBag, getChildren, getConfig, getConfig, getDisplayName, getExtension, getHostGeoInfo, getLocalConfigBag, getRawLocalConfigBag, getRebindSupport, hasConfig, hasExtension, hashCode, isManaged, onManagementStarted, onManagementStopped, relations, removeChild, setConfig, setDisplayName, setHostGeoInfo, setManagementContext, setName, setParent, setParent, subscriptions, toMetadataRecord, toStringgetCatalogItemId, getId, getManagementContext, setCatalogItemId, tagsgetPort, getUsergetAddress, getMachineDetails, getOsDetailscontainsLocation, getAllConfig, getChildren, getConfig, getDisplayName, getExtension, getId, hasConfig, hasExtension, relations, setParentgetCatalogItemId, subscriptions, tagsconfig, getConfig, setConfiggetManagementContextsetCatalogItemIdpublic void init()
AbstractBrooklynObjectTo preserve backwards compatibility for if the instance is constructed directly, one can call the code below, but that means it will be called after references to this policy have been shared with other entities.
if (isLegacyConstruction()) {
init();
}
init in class WinRmMachineLocationpublic void rebind()
AbstractBrooklynObjectAbstractBrooklynObject.init() will not be called on rebind.
If you need to intercept behaviour after adjuncts are attached,
consider AbstractEntity.onManagementStarting()
(but probably worth raising a discussion on the mailing list!)
rebind in class AbstractBrooklynObjectpublic java.lang.String toVerboseString()
toVerboseString in interface LocationtoVerboseString in class AbstractLocationpublic JcloudsLocation getParent()
Locationnull if this location is the tree root.getParent in interface LocationgetParent in interface JcloudsMachineLocationgetParent in class AbstractLocationnull if this location is the tree root.publicgetOptionalNode()
getOptionalNode in interface JcloudsMachineLocation@Deprecated public org.jclouds.compute.domain.NodeMetadata getNode()
getNode in interface JcloudsMachineLocation@Deprecated public org.jclouds.compute.domain.Template getTemplate()
getTemplate in interface JcloudsMachineLocationpublic java.lang.String getHostname()
HasNetworkAddressesgetHostname in interface HasNetworkAddressesgetHostname in class WinRmMachineLocationpublic java.util.Set<java.lang.String> getPublicAddresses()
getPublicAddresses in interface HasNetworkAddressesgetPublicAddresses in class WinRmMachineLocationpublic java.util.Set<java.lang.String> getPrivateAddresses()
HasNetworkAddressesgetPrivateAddresses in interface HasNetworkAddressesgetPrivateAddresses in class WinRmMachineLocationpublic java.lang.String getSubnetHostname()
JcloudsMachineLocationgetSubnetHostname in interface HasSubnetHostnamegetSubnetHostname in interface JcloudsMachineLocationpublic java.lang.String getSubnetIp()
HasSubnetHostnamegetSubnetIp in interface HasSubnetHostnamepublic java.lang.String getJcloudsId()
getJcloudsId in interface JcloudsMachineLocation