Classes
The following classes are available globally.
-
Contains the credentials for an Alert Notification service instance. You will typically receive an instance of this type through
cloudEnv.getAlertNotificationCredentials(name: String)
.Reference Alert Notification.
See moreDeclaration
Swift
public class AlertNotificationCredentials
-
A convenience class for obtaining environment variables that are mapped to JSON strings. It is mainly used for obtaining credentials for services so Swift applications can be written in a platform agnostic way.
There is a lot of information in the README explaining how you can use
See morecloudEnv
to access credentials for your services; more specific information is listed in the API documentation below.Declaration
Swift
public class CloudEnv
-
Contains the credentials for an Auto-Scaling service instance. You will typically receive an instance of this type through
cloudEnv.getAutoScalingCredentials(name: String)
.Reference Auto-Scaling.
See moreDeclaration
Swift
public class AutoScalingCredentials
-
Contains the credentials for a Cloudant service instance. You will typically receive an instance of this type through
cloudEnv.getCloudantCredentials(name: String)
.Reference Cloudant.
Declaration
Swift
public class CloudantCredentials: Credentials
-
Contains a basic common set of credential elements.
See moreDeclaration
Swift
public class Credentials
-
Contains the credentials for a HyperSecureDBaaS service instance. You will typically receive an instance of this type through
cloudEnv.getHyperSecureDBaaSCredentials(name: String)
.Reference Hyper Protect DBaaS.
See moreDeclaration
Swift
public class HyperSecureDBaaSCredentials
-
Contains the credentials for a Natural Language Understanding service instance. You will typically receive an instance of this type through
cloudEnv.getNaturalLanguageUnderstandingCredentials(name: String)
.Reference Natural Language Understanding.
See moreDeclaration
Swift
public class NaturalLanguageUnderstandingCredentials
-
Contains the credentials for an OpenStack Object Storage service instance. You will typically receive an instance of this type through
cloudEnv.getObjectStorageCredentials(name: String)
.Note: This has been removed from the IBM Cloud service catalog, but is still an industry standard for Storage APIs.
Reference Object Storage.
See moreDeclaration
Swift
public class ObjectStorageCredentials
-
Contains the credentials for a PostgreSQL service instance. You will typically receive an instance of this type through
cloudEnv.getPostgreSQLCredentials(name: String)
.Reference PostgreSQL.
See moreDeclaration
Swift
public class PostgreSQLCredentials: Credentials
-
Contains the credentials for a PushSDK service instance. You will typically receive an instance of this type through
cloudEnv.getPushSDKCredentials(name: String)
.Reference Push Notification.
See moreDeclaration
Swift
public class PushSDKCredentials
-
Contains the credentials for a Watson Assistant service instance. You will typically receive an instance of this type through
cloudEnv.getWatsonAssistantCredentials(name: String)
.Reference Watson Assistant.
See moreDeclaration
Swift
public class WatsonAssistantCredentials
-
Contains the credentials for a Weather Company Data service instance. You will typically receive an instance of this type through
cloudEnv.getWeatherCompanyDataCredentials(name: String)
.Reference Weather Company Data.
Declaration
Swift
public class WeatherCompanyDataCredentials: Credentials