private static function createStorageServiceSettings(
        array $settings,
        $blobEndpointUri = null,
        $queueEndpointUri = null,
        $tableEndpointUri = null,
        $fileEndpointUri = null,
        $blobSecondaryEndpointUri = null,
        $queueSecondaryEndpointUri = null,
        $tableSecondaryEndpointUri = null,
        $fileSecondaryEndpointUri = null
    ) {
        $blobEndpointUri  = Utilities::tryGetValueInsensitive(
            Resources::BLOB_ENDPOINT_NAME,
            $settings,
            $blobEndpointUri
        );
        $queueEndpointUri = Utilities::tryGetValueInsensitive(
            Resources::QUEUE_ENDPOINT_NAME,
            $settings,
            $queueEndpointUri
        );
        $tableEndpointUri = Utilities::tryGetValueInsensitive(
            Resources::TABLE_ENDPOINT_NAME,
            $settings,
            $tableEndpointUri
        );
        $fileEndpointUri = Utilities::tryGetValueInsensitive(
            Resources::FILE_ENDPOINT_NAME,
            $settings,
            $fileEndpointUri
        );
        $accountName      = Utilities::tryGetValueInsensitive(
            Resources::ACCOUNT_NAME_NAME,
            $settings
        );
        $accountKey       = Utilities::tryGetValueInsensitive(
            Resources::ACCOUNT_KEY_NAME,
            $settings
        );
        $sasToken         = Utilities::tryGetValueInsensitive(
            Resources::SAS_TOKEN_NAME,
            $settings
        );

        return new StorageServiceSettings(
            $accountName,
            $accountKey,
            $blobEndpointUri,
            $queueEndpointUri,
            $tableEndpointUri,
            $fileEndpointUri,
            $blobSecondaryEndpointUri,
            $queueSecondaryEndpointUri,
            $tableSecondaryEndpointUri,
            $fileSecondaryEndpointUri,
            $sasToken
        );
    }
private static function createStorageServiceSettings(
        array $settings,
        $blobEndpointUri = null,
        $queueEndpointUri = null,
        $tableEndpointUri = null,
        $fileEndpointUri = null,
        $blobSecondaryEndpointUri = null,
        $queueSecondaryEndpointUri = null,
        $tableSecondaryEndpointUri = null,
        $fileSecondaryEndpointUri = null
    ) {
        $blobEndpointUri  = Utilities::tryGetValueInsensitive(
            Resources::BLOB_ENDPOINT_NAME,
            $settings,
            $blobEndpointUri
        );
        $queueEndpointUri = Utilities::tryGetValueInsensitive(
            Resources::QUEUE_ENDPOINT_NAME,
            $settings,
            $queueEndpointUri
        );
        $tableEndpointUri = Utilities::tryGetValueInsensitive(
            Resources::TABLE_ENDPOINT_NAME,
            $settings,
            $tableEndpointUri
        );
        $fileEndpointUri = Utilities::tryGetValueInsensitive(
            Resources::FILE_ENDPOINT_NAME,
            $settings,
            $fileEndpointUri
        );
        $accountName      = Utilities::tryGetValueInsensitive(
            Resources::ACCOUNT_NAME_NAME,
            $settings
        );
        $accountKey       = Utilities::tryGetValueInsensitive(
            Resources::ACCOUNT_KEY_NAME,
            $settings
        );
        $sasToken         = Utilities::tryGetValueInsensitive(
            Resources::SAS_TOKEN_NAME,
            $settings
        );

        return new StorageServiceSettings(
            $accountName,
            $accountKey,
            $blobEndpointUri,
            $queueEndpointUri,
            $tableEndpointUri,
            $fileEndpointUri,
            $blobSecondaryEndpointUri,
            $queueSecondaryEndpointUri,
            $tableSecondaryEndpointUri,
            $fileSecondaryEndpointUri,
            $sasToken
        );
    }
private static function createStorageServiceSettings ( array $ settings , $ blobEndpointUri = null , $ queueEndpointUri = null , $ tableEndpointUri = null , $ fileEndpointUri = null , $ blobSecondaryEndpointUri = null , $ queueSecondaryEndpointUri = null , $ tableSecondaryEndpointUri = null , $ fileSecondaryEndpointUri = null ) { $ blobEndpointUri = Utilities :: tryGetValueInsensitive ( Resources :: BLOB_ENDPOINT_NAME , $ settings , $ blobEndpointUri ) ; $ queueEndpointUri = Utilities :: tryGetValueInsensitive ( Resources :: QUEUE_ENDPOINT_NAME , $ settings , $ queueEndpointUri ) ; $ tableEndpointUri = Utilities :: tryGetValueInsensitive ( Resources :: TABLE_ENDPOINT_NAME , $ settings , $ tableEndpointUri ) ; $ fileEndpointUri = Utilities :: tryGetValueInsensitive ( Resources :: FILE_ENDPOINT_NAME , $ settings , $ fileEndpointUri ) ; $ accountName = Utilities :: tryGetValueInsensitive ( Resources :: ACCOUNT_NAME_NAME , $ settings ) ; $ accountKey = Utilities :: tryGetValueInsensitive ( Resources :: ACCOUNT_KEY_NAME , $ settings ) ; $ sasToken = Utilities :: tryGetValueInsensitive ( Resources :: SAS_TOKEN_NAME , $ settings ) ; return new StorageServiceSettings ( $ accountName , $ accountKey , $ blobEndpointUri , $ queueEndpointUri , $ tableEndpointUri , $ fileEndpointUri , $ blobSecondaryEndpointUri , $ queueSecondaryEndpointUri , $ tableSecondaryEndpointUri , $ fileSecondaryEndpointUri , $ sasToken ) ; }
Creates StorageServiceSettings object given endpoints uri.

@param array  $settings                  The service settings.
@param string $blobEndpointUri           The blob endpoint uri.
@param string $queueEndpointUri          The queue endpoint uri.
@param string $tableEndpointUri          The table endpoint uri.
@param string $fileEndpointUri           The file endpoint uri.
@param string $blobSecondaryEndpointUri  The blob secondary endpoint uri.
@param string $queueSecondaryEndpointUri The queue secondary endpoint uri.
@param string $tableSecondaryEndpointUri The table secondary endpoint uri.
@param string $fileSecondaryEndpointUri  The file secondary endpoint uri.

@return StorageServiceSettings
Creates StorageServiceSettings object given endpoints uri .