public interface OSClient<T extends OSClient<T>>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
OSClient.OSClientV2
OpenStack4j Client which authenticates against version V2
|
static interface |
OSClient.OSClientV3
OpenStack4j Client which authenticates against version V3
|
| Modifier and Type | Method and Description |
|---|---|
BlockStorageService |
blockStorage()
Returns the Block Storage Service API
|
ComputeService |
compute()
Returns the Compute Service API
|
String |
getEndpoint()
Gets the current endpoint of the Identity service
|
Set<ServiceType> |
getSupportedServices()
Gets the supported services.
|
HeatService |
heat()
Returns the Heat Service API
|
ImageService |
images()
Returns the Image Service API
|
NetworkingService |
networking()
Returns the Networking Service API
|
ObjectStorageService |
objectStorage()
Returns the Object Storage Service API
|
T |
perspective(Facing perspective)
Changes the Perspective for the current Session (Client)
|
T |
removeRegion()
Removes the current region making all calls no longer resolving to region
(if originally set otherwise no-op)
|
SaharaService |
sahara()
Returns the Sahara Service API
|
ShareService |
share()
Returns the Shared File Systems API
|
boolean |
supportsBlockStorage()
Determines if the Block Storage (Cinder) service is supported
|
boolean |
supportsCompute()
Determines if the Compute (Nova) service is supported
|
boolean |
supportsHeat()
Determines if the Orchestration (Heat) service is supported
|
boolean |
supportsIdentity()
Determines if the Identity (Keystone) service is supported
|
boolean |
supportsImage()
Determines if the Image (Glance) service is supported
|
boolean |
supportsNetwork()
Determines if the Network (Neutron) service is supported
|
boolean |
supportsObjectStorage()
Determines if the Object Storage (Swift) service is supported
|
boolean |
supportsShare()
Determines if the Shared File Systems (Manila) service is supported
|
boolean |
supportsTelemetry()
Determines if the Telemetry (Ceilometer) service is supported
|
TelemetryService |
telemetry()
Returns the Telemetry Service API
|
T |
useRegion(String region)
Specifies the region that should be used for further invocations with
this client.
|
T useRegion(String region)
RegionEndpointNotFoundException will be thrownregion - the region to useT removeRegion()
T perspective(Facing perspective)
perspective - the new perspectiveSet<ServiceType> getSupportedServices()
boolean supportsCompute()
boolean supportsIdentity()
boolean supportsNetwork()
boolean supportsImage()
boolean supportsHeat()
boolean supportsBlockStorage()
boolean supportsObjectStorage()
boolean supportsTelemetry()
boolean supportsShare()
String getEndpoint()
ComputeService compute()
NetworkingService networking()
BlockStorageService blockStorage()
ObjectStorageService objectStorage()
ImageService images()
TelemetryService telemetry()
ShareService share()
HeatService heat()
SaharaService sahara()
Copyright © 2016. All Rights Reserved.