Interface OciConfigProvider
-
- All Known Implementing Classes:
OciConfigInstancePrincipal
,OciConfigProfile
,OciConfigResourcePrincipal
@Deprecated(since="2.5.0", forRemoval=true) public interface OciConfigProvider
Deprecated, for removal: This API element is subject to removal in a future version.OCI SDK insteadProvider of data needed to connect to OCI, and to use its APIs.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default Optional<String>
domain()
Deprecated, for removal: This API element is subject to removal in a future version.OCI domain to use.default Single<OciSignatureData>
refresh()
Deprecated, for removal: This API element is subject to removal in a future version.Refresh may be used for providers that can be reloaded.String
region()
Deprecated, for removal: This API element is subject to removal in a future version.Current OCI region.OciSignatureData
signatureData()
Deprecated, for removal: This API element is subject to removal in a future version.Get the current signature data.String
tenancyOcid()
Deprecated, for removal: This API element is subject to removal in a future version.OCID of the tenancy.
-
-
-
Method Detail
-
signatureData
OciSignatureData signatureData()
Deprecated, for removal: This API element is subject to removal in a future version.Get the current signature data.- Returns:
- current signature data
-
region
String region()
Deprecated, for removal: This API element is subject to removal in a future version.Current OCI region.- Returns:
- OCI region, such as
eu-frankfurt-1
-
tenancyOcid
String tenancyOcid()
Deprecated, for removal: This API element is subject to removal in a future version.OCID of the tenancy.- Returns:
- tenancy OCID
-
domain
default Optional<String> domain()
Deprecated, for removal: This API element is subject to removal in a future version.OCI domain to use. If not available REST API will use the default or configured domain to call REST services.- Returns:
- current OCI domain if avialable
-
refresh
default Single<OciSignatureData> refresh()
Deprecated, for removal: This API element is subject to removal in a future version.Refresh may be used for providers that can be reloaded. The method is called when an invocation fails (for the first time) with a 401 exception.- Returns:
- future with signature data, if no refresh was done, the instance will be the same as when
signatureData()
was called.
-
-