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 more

    Declaration

    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 cloudEnv to access credentials for your services; more specific information is listed in the API documentation below.

    See more

    Declaration

    Swift

    public class CloudEnv
  • Contains the credentials for an App ID service instance.

    Reference AppID. You will typically receive an instance of this type through cloudEnv.getAppIDCredentials(name: String).

    See more

    Declaration

    Swift

    public class AppIDCredentials
  • 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 more

    Declaration

    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 more

    Declaration

    Swift

    public class Credentials
  • Contains the credentials for a DB2 service instance. You will typically receive an instance of this type through cloudEnv.getDB2Credentials(name: String).

    Reference Db2.

    See more

    Declaration

    Swift

    public class DB2Credentials
  • 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 more

    Declaration

    Swift

    public class HyperSecureDBaaSCredentials
  • Contains the credentials for a MongoDB service instance. You will typically receive an instance of this type through cloudEnv.getMongoDBCredentials(name: String).

    Reference MongoDB.

    See more

    Declaration

    Swift

    public class MongoDBCredentials
  • Contains the credentials for a MySQL service instance. You will typically receive an instance of this type through cloudEnv.getMySQLCredentials(name: String).

    Reference MySQL.

    See more

    Declaration

    Swift

    public class MySQLCredentials
  • 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 more

    Declaration

    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 more

    Declaration

    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 more

    Declaration

    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 more

    Declaration

    Swift

    public class PushSDKCredentials
  • Contains the credentials for a Redis service instance. You will typically receive an instance of this type through cloudEnv.getRedisCredentials(name: String).

    Reference Redis.

    See more

    Declaration

    Swift

    public class RedisCredentials
  • 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 more

    Declaration

    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