Class OSClientSession.OSClientSessionV3
- java.lang.Object
-
- org.openstack4j.openstack.internal.OSClientSession<OSClientSession.OSClientSessionV3,OSClient.OSClientV3>
-
- org.openstack4j.openstack.internal.OSClientSession.OSClientSessionV3
-
- All Implemented Interfaces:
EndpointTokenProvider,OSClient<OSClient.OSClientV3>,OSClient.OSClientV3
- Enclosing class:
- OSClientSession<R,T extends OSClient<T>>
public static class OSClientSession.OSClientSessionV3 extends OSClientSession<OSClientSession.OSClientSessionV3,OSClient.OSClientV3> implements OSClient.OSClientV3
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstack4j.openstack.internal.OSClientSession
OSClientSession.OSClientSessionV2, OSClientSession.OSClientSessionV3
-
Nested classes/interfaces inherited from interface org.openstack4j.api.OSClient
OSClient.OSClientV2, OSClient.OSClientV3
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OSClientSession.OSClientSessionV3createSession(Token token)static OSClientSession.OSClientSessionV3createSession(Token token, Facing perspective, CloudProvider provider, Config config)AuthVersiongetAuthVersion()StringgetEndpoint()Gets the current endpoint of the Identity serviceStringgetEndpoint(ServiceType service)Gets the endpoint for the specified ServiceTypeSet<ServiceType>getSupportedServices()Gets the supported services.TokengetToken()Gets the token that was assigned during authorizationStringgetTokenId()Gets the token identifierStringgetXOpenstackRequestId()IdentityServiceidentity()Returns the Identity Service API V3TelemetryServicetelemetry()-
Methods inherited from class org.openstack4j.openstack.internal.OSClientSession
artifact, barbican, blockStorage, compute, dns, gbp, getConfig, getCurrent, getHeaders, getPerspective, getProvider, headers, heat, images, imagesV2, magnum, murano, networking, objectStorage, octavia, perspective, placement, removeRegion, sahara, senlin, sfc, share, supportsBlockStorage, supportsCompute, supportsDNS, supportsHeat, supportsIdentity, supportsImage, supportsMurano, supportsNetwork, supportsObjectStorage, supportsPlacement, supportsShare, supportsTelemetry, supportsTelemetry_aodh, supportsTrove, tacker, trove, useConfig, useRegion, workflow
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openstack4j.api.OSClient
artifact, barbican, blockStorage, compute, dns, gbp, headers, heat, images, imagesV2, magnum, murano, networking, objectStorage, octavia, perspective, placement, removeRegion, sahara, senlin, sfc, share, supportsBlockStorage, supportsCompute, supportsHeat, supportsIdentity, supportsImage, supportsMurano, supportsNetwork, supportsObjectStorage, supportsShare, supportsTelemetry, tacker, trove, useRegion, workflow
-
-
-
-
Field Detail
-
reqId
protected String reqId
-
-
Method Detail
-
createSession
public static OSClientSession.OSClientSessionV3 createSession(Token token)
-
createSession
public static OSClientSession.OSClientSessionV3 createSession(Token token, Facing perspective, CloudProvider provider, Config config)
-
getXOpenstackRequestId
public String getXOpenstackRequestId()
-
getToken
public Token getToken()
Description copied from interface:OSClient.OSClientV3Gets the token that was assigned during authorization- Specified by:
getTokenin interfaceOSClient.OSClientV3- Returns:
- the authentication token
-
getEndpoint
public String getEndpoint()
Gets the current endpoint of the Identity service- Specified by:
getEndpointin interfaceOSClient<OSClient.OSClientV3>- Returns:
- the endpoint
-
getAuthVersion
public AuthVersion getAuthVersion()
- Overrides:
getAuthVersionin classOSClientSession<OSClientSession.OSClientSessionV3,OSClient.OSClientV3>
-
getEndpoint
public String getEndpoint(ServiceType service)
Gets the endpoint for the specified ServiceType- Specified by:
getEndpointin interfaceEndpointTokenProvider- Parameters:
service- the service to obtain the endpoint for- Returns:
- the endpoint
-
getTokenId
public String getTokenId()
Gets the token identifier- Specified by:
getTokenIdin interfaceEndpointTokenProvider- Returns:
- the auth token identifier
-
identity
public IdentityService identity()
Returns the Identity Service API V3- Specified by:
identityin interfaceOSClient.OSClientV3- Returns:
- the identity service version 3
-
getSupportedServices
public Set<ServiceType> getSupportedServices()
Gets the supported services. A set of ServiceTypes will be returned identifying the OpenStack services installed and supported- Specified by:
getSupportedServicesin interfaceOSClient<OSClient.OSClientV3>- Overrides:
getSupportedServicesin classOSClientSession<OSClientSession.OSClientSessionV3,OSClient.OSClientV3>- Returns:
- the supported services
-
telemetry
public TelemetryService telemetry()
Description copied from class:OSClientSession- Specified by:
telemetryin interfaceOSClient<OSClient.OSClientV3>- Overrides:
telemetryin classOSClientSession<OSClientSession.OSClientSessionV3,OSClient.OSClientV3>- Returns:
- the telemetry service
-
-