ConnectionString Class

Key/value mappings for connection details. Uses the same syntax as dictionary

Initializer for ConnectionString

Inheritance
builtins.object
ConnectionString

Constructor

ConnectionString(connection_string)

Parameters

Name Description
connection_string
Required
str

String with connection details provided by Azure

Methods

get

Return the value for key if key is in the dictionary, else default

get

Return the value for key if key is in the dictionary, else default

get(key, default=None)

Parameters

Name Description
key
Required
str

The key to retrieve a value for

default
str

The default value returned if a key is not found

Default value: None

Returns

Type Description

The value for the given key